* [Buildroot] Build qt failed after update to 2011.05
@ 2011-05-30 7:47 Bob Liu
2011-05-30 14:35 ` Christopher Boumenot
2011-05-31 7:00 ` Thomas Petazzoni
0 siblings, 2 replies; 5+ messages in thread
From: Bob Liu @ 2011-05-30 7:47 UTC (permalink / raw)
To: buildroot
Hi, folks
After I updated to 2011.05 release, I failed to build qt.
The error message is like this:
-----------------------------------------------
The tslib functionality test failed!
You might need to modify the include and library search paths by editing
QMAKE_INCDIR and QMAKE_LIBDIR in
/home/bob/buildroot-update/output/build/qt-4.7.3/mkspecs/qws/linux-arm-g++.
make: *** [/home/bob/buildroot-update/output/build/qt-4.7.3/.stamp_configured]
Error 1
-----------------------------------------------
Any ideas is welcome, Thanks!
--
Regards,
--Bob
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Build qt failed after update to 2011.05
2011-05-30 7:47 [Buildroot] Build qt failed after update to 2011.05 Bob Liu
@ 2011-05-30 14:35 ` Christopher Boumenot
2011-05-31 3:36 ` Bob Liu
2011-05-31 7:00 ` Thomas Petazzoni
1 sibling, 1 reply; 5+ messages in thread
From: Christopher Boumenot @ 2011-05-30 14:35 UTC (permalink / raw)
To: buildroot
On Mon, May 30, 2011 at 3:47 AM, Bob Liu <lliubbo@gmail.com> wrote:
> Hi, folks
>
> After I updated to 2011.05 release, I failed to build qt.
>
> [snip]
> Any ideas is welcome, Thanks!
>
>
I figured if it worked for ruby it would work for qt. I was able to build
with this commit reverted.
commit 7e3e8ec040b06d6e2fb69e55c004f1ebc02c76d0
Author: Peter Korsgaard <jacmet@sunsite.dk>
Date: Fri Apr 29 15:40:58 2011 +0200
package/Makefile.in: CFLAGS/LDFLAGS: don't add -I / -L args for
STAGING_DIR
Now that we use sysroot for all toolchains, the explicit -I / -L
arguments
in CFLAGS / LDFLAGS aren't needed anymore (And having them makes the
build
quite noisy for certain packages as STAGING_DIR/include normally doesn't
exist).
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110530/24ad9eb0/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Build qt failed after update to 2011.05
2011-05-30 14:35 ` Christopher Boumenot
@ 2011-05-31 3:36 ` Bob Liu
0 siblings, 0 replies; 5+ messages in thread
From: Bob Liu @ 2011-05-31 3:36 UTC (permalink / raw)
To: buildroot
On Mon, May 30, 2011 at 10:35 PM, Christopher Boumenot
<boumenot@gmail.com> wrote:
> On Mon, May 30, 2011 at 3:47 AM, Bob Liu <lliubbo@gmail.com> wrote:
>>
>> Hi, folks
>>
>> After I updated to 2011.05 release, I failed to build qt.
>>
> [snip]
>
>>
>> Any ideas is welcome, Thanks!
>>
>
> I figured if it worked for ruby it would work for qt. ?I was able to build
> with this commit reverted.
Thanks for you reply.
After revert this commit the error disappeared, but I got another issue.
linking ../../lib/libQtCore.so.4.7.1
/lib/libpthread.so.0: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [../../lib/libQtCore.so.4.7.1] Error 1
It seems qt find the wrong libpthread, but I don't know why.
root # file ./output/host/usr/arm-unknown-linux-gnueabi/sysroot/lib/libpthread-2.11.1.so
./output/host/usr/arm-unknown-linux-gnueabi/sysroot/lib/libpthread-2.11.1.so:
ELF 32-bit LSB shared object, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.16, not stripped
> ?commit 7e3e8ec040b06d6e2fb69e55c004f1ebc02c76d0
> Author: Peter Korsgaard <jacmet@sunsite.dk>
> Date: ? Fri Apr 29 15:40:58 2011 +0200
> ? ? package/Makefile.in: CFLAGS/LDFLAGS: don't add -I / -L args for
> STAGING_DIR
> ? ? Now that we use sysroot for all toolchains, the explicit -I / -L
> arguments
> ? ? in CFLAGS / LDFLAGS aren't needed anymore (And having them makes the
> build
> ? ? quite noisy for certain packages as STAGING_DIR/include normally doesn't
> ? ? exist).
> ? ? Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
>
> Chris
>
--
Regards,
--Bob
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Build qt failed after update to 2011.05
2011-05-30 7:47 [Buildroot] Build qt failed after update to 2011.05 Bob Liu
2011-05-30 14:35 ` Christopher Boumenot
@ 2011-05-31 7:00 ` Thomas Petazzoni
2011-05-31 7:08 ` Bob Liu
1 sibling, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2011-05-31 7:00 UTC (permalink / raw)
To: buildroot
Hello Bob,
On Mon, 30 May 2011 15:47:19 +0800
Bob Liu <lliubbo@gmail.com> wrote:
> After I updated to 2011.05 release, I failed to build qt.
Could you provide your Buildroot .config file ?
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Build qt failed after update to 2011.05
2011-05-31 7:00 ` Thomas Petazzoni
@ 2011-05-31 7:08 ` Bob Liu
0 siblings, 0 replies; 5+ messages in thread
From: Bob Liu @ 2011-05-31 7:08 UTC (permalink / raw)
To: buildroot
On Tue, May 31, 2011 at 3:00 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello Bob,
>
> On Mon, 30 May 2011 15:47:19 +0800
> Bob Liu <lliubbo@gmail.com> wrote:
>
>> After I updated to 2011.05 release, I failed to build qt.
>
> Could you provide your Buildroot .config file ?
>
Attached, Thanks for your help
--
Regards,
--Bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.config
Type: application/octet-stream
Size: 21579 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110531/0e1ab11f/attachment-0001.obj>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-05-31 7:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-30 7:47 [Buildroot] Build qt failed after update to 2011.05 Bob Liu
2011-05-30 14:35 ` Christopher Boumenot
2011-05-31 3:36 ` Bob Liu
2011-05-31 7:00 ` Thomas Petazzoni
2011-05-31 7:08 ` Bob Liu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox