From: Adam Hawes <adam@infocab.com.au>
To: buildroot@busybox.net
Subject: [Buildroot] Qtopia4 Failure
Date: Mon, 24 Sep 2007 09:25:11 +0930 [thread overview]
Message-ID: <1190591711.4299.17.camel@cyclops.infocab.com.au> (raw)
In-Reply-To: <1190563965.7015.21.camel@elrond.atmel.sweden>
On Sun, 2007-09-23 at 18:12 +0200, Ulf Samuelsson wrote:
> Anyone building qtopia?
> I get (when compiling with gcc-4.2.1/binutils-2.18/uclibc-0.9.29):
>
>
> arm-linux-g++ -c -pipe -g -g -fvisibility=hidden
> -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED
> -DTSLIBMOUSEHANDLER_DEBUG -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII
> -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
> -I../../mkspecs/qws/linux-arm-g++ -I. -I../../include
> -I../../include/QtCore -Iglobal -I.moc/debug-shared-emb-arm
> -I.uic/debug-shared-emb-arm
> -o .obj/debug-shared-emb-arm/qresource_iterator.o
> io/qresource_iterator.cpp
> io/qresource_iterator.cpp:46:66: error: macro "index" requires 2
> arguments, but only 1 given
> io/qresource_iterator.cpp: In constructor
> ?QResourceFileEngineIterator::QResourceFileEngineIterator(QFlags<QDir::Filter>, const QStringList&)?:
> io/qresource_iterator.cpp:47: error: expected `(' before ?{? token
> make[2]: *** [.obj/debug-shared-emb-arm/qresource_iterator.o] Fel 1
>
Yup. To quote Carmelo Amoroso (search the archives in the last month):
"The problem is that you have uClibc configure with SUSv3_LEGACY_MACRO
on that define index."
I have attached a patch that fixes the problem in all the places that
needs to be fixed (#undef index). I need SUSv3 macros to build some
other things so I didn't want to turn them off and fix other things.
Cheers,
A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtopia-4.3.1-buildroot_index.patch
Type: text/x-patch
Size: 7903 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070924/7e45ba53/attachment.bin
next prev parent reply other threads:[~2007-09-23 23:55 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-23 16:12 [Buildroot] Qtopia4 Failure Ulf Samuelsson
2007-09-23 16:25 ` Thiago A. Corrêa
2007-09-23 23:55 ` Adam Hawes [this message]
2007-09-24 0:56 ` Thiago A. Corrêa
2007-09-24 1:06 ` Adam Hawes
2007-09-24 1:41 ` Thiago A. Corrêa
2007-09-24 2:16 ` Adam Hawes
2007-09-24 3:43 ` Thiago A. Corrêa
2007-09-24 3:55 ` Adam Hawes
2007-09-24 8:13 ` Bernhard Fischer
2007-09-24 12:59 ` Thiago A. Corrêa
2007-09-24 13:22 ` Bernhard Fischer
2007-09-24 15:13 ` Ulf Samuelsson
2007-09-24 15:34 ` Thiago A. Corrêa
2007-09-24 23:31 ` Adam Hawes
2007-09-25 0:09 ` [Buildroot] MPlayer using LEGACY Functions (was: Qtopia4 Failure) Adam Hawes
2007-09-25 7:27 ` [Buildroot] Qtopia4 Failure Bernhard Fischer
2007-09-24 8:12 ` Ulf Samuelsson
2007-09-24 9:12 ` Bernhard Fischer
2007-09-24 9:34 ` Ulf Samuelsson
2007-09-24 12:27 ` Bernhard Fischer
2007-09-24 14:25 ` Ulf Samuelsson
2007-09-24 14:51 ` Ulf Samuelsson
2007-09-24 18:41 ` Bernhard Fischer
2007-09-24 8:06 ` Ulf Samuelsson
2007-09-24 8:02 ` Ulf Samuelsson
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=1190591711.4299.17.camel@cyclops.infocab.com.au \
--to=adam@infocab.com.au \
--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