Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Cross-compiling Problem with Boingo Embedded Wireless Toolkit for arm target
Date: Fri, 26 Mar 2010 20:29:30 +0100	[thread overview]
Message-ID: <20100326202930.052b13b0@surf> (raw)
In-Reply-To: <dfcd449c1003260755n48095488u2d889fc176b1fb25@mail.gmail.com>

Hello,

On Fri, 26 Mar 2010 16:55:57 +0200
Viktar Palstsiuk <viktar.palstsiuk@promwad.com> wrote:

> arm-linux-uclibcgnueabi-g++: unrecognized option '-02'

As Lionel said, the option should be -O2 and not -02.

> ../../lib/http/src/HttpImp.cpp: In member function ?virtual INT8
> HttpImp::PostUrl(const CHAR*, const CHAR*, const CHAR*, const CHAR*,
> const CHAR*, const CHAR*, const CHAR*, UINT32, BOOL*)?:
> ../../lib/http/src/HttpImp.cpp:142: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp: In member function ?virtual BOOL
> HttpImp::SetForm(const CHAR*, const CHAR*)?:
> ../../lib/http/src/HttpImp.cpp:211: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp:212: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp: In member function ?virtual BewtString
> HttpImp::GetForm(const CHAR*, const CHAR*, UINT32)?:
> ../../lib/http/src/HttpImp.cpp:237: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp: In member function ?virtual BewtString
> HttpImp::GetTag(const CHAR*, const CHAR*, const CHAR*)?:
> ../../lib/http/src/HttpImp.cpp:262: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp: In member function ?virtual BOOL
> HttpImp::IsPost(const CHAR*)?:
> ../../lib/http/src/HttpImp.cpp:279: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp: In member function ?virtual BOOL
> HttpImp::SetPost(const CHAR*, const CHAR*)?:
> ../../lib/http/src/HttpImp.cpp:299: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp: In member function ?virtual BewtString
> HttpImp::GetPost(const CHAR*)?:
> ../../lib/http/src/HttpImp.cpp:318: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp: In member function ?virtual BOOL
> HttpImp::DropPost(const CHAR*)?:
> ../../lib/http/src/HttpImp.cpp:336: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp: In member function ?virtual BewtString
> HttpImp::GetPostUrl()?:
> ../../lib/http/src/HttpImp.cpp:351: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?
> ../../lib/http/src/HttpImp.cpp: In member function ?INT32
> HttpImp::sendRequest(BOOL, const CHAR*, const CHAR*, const CHAR*,
> BOOL, const CHAR*, const CHAR*, const CHAR*, UINT32, BOOL, BOOL*)?:
> ../../lib/http/src/HttpImp.cpp:459: error: invalid use of incomplete
> type ?struct Form?
> ./../../lib/interpreter/include/intenvironment.h:53: error: forward
> declaration of ?struct Form?

These seems to be specific to the bewt software and not related to
Buildroot directly.

> Here is my bewt.mk file:

Could you use the Makefile.autotools.in infrastructure instead ? See
http://buildroot.org/downloads/buildroot.html#autotools-tutorial for
details.

Cheers,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  parent reply	other threads:[~2010-03-26 19:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 14:55 [Buildroot] Cross-compiling Problem with Boingo Embedded Wireless Toolkit for arm target Viktar Palstsiuk
2010-03-26 16:14 ` Lionel Landwerlin
2010-03-26 19:29 ` Thomas Petazzoni [this message]
2010-04-02 14:39   ` Viktar Palstsiuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100326202930.052b13b0@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox