![]() |
2010-04-08
, 20:45
|
Posts: 24 |
Thanked: 38 times |
Joined on Dec 2009
@ Denmark
|
#2
|
![]() |
2010-04-08
, 20:48
|
Posts: 388 |
Thanked: 842 times |
Joined on Sep 2009
@ Finland
|
#3
|
![]() |
2010-04-09
, 08:07
|
|
Posts: 152 |
Thanked: 91 times |
Joined on Dec 2009
@ Spain
|
#4
|
![]() |
2010-04-09
, 08:19
|
Posts: 80 |
Thanked: 53 times |
Joined on Feb 2010
@ Berlin, Germany
|
#5
|
The Following User Says Thank You to nath For This Useful Post: | ||
I try to compile a test application (hello.cpp) and it happens the same, it gives me an error:
[sbox-FREMANTLE_X86: ~/hello] > make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_X86/usr/share/qt4/mkspecs/linux-g++ -I. -I/targets/FREMANTLE_X86/usr/include/QtCore -I/targets/FREMANTLE_X86/usr/include/QtGui -I/targets/FREMANTLE_X86/usr/include -I. -I. -o hello.o hello.cpp
g++ -Wl,-O1 -Wl,-rpath,/usr/lib -o hello hello.o -L/usr/lib -lQtGui -L/usr/lib -L/usr/X11R6/lib -lQtCore -lpthread
/scratchbox/compilers/cs2007q3-glibc2.5-i486/bin/../lib/gcc/i486-pc-linux-gnu/4.2.1/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libQtGui.so when searching for -lQtGui
/scratchbox/compilers/cs2007q3-glibc2.5-i486/bin/../lib/gcc/i486-pc-linux-gnu/4.2.1/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libQtGui.so when searching for -lQtGui
/scratchbox/compilers/cs2007q3-glibc2.5-i486/bin/../lib/gcc/i486-pc-linux-gnu/4.2.1/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libQtGui.so when searching for -lQtGui
/scratchbox/compilers/cs2007q3-glibc2.5-i486/bin/../lib/gcc/i486-pc-linux-gnu/4.2.1/../../../../i486-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libQtGui.so when searching for -lQtGui
/scratchbox/compilers/cs2007q3-glibc2.5-i486/bin/../lib/gcc/i486-pc-linux-gnu/4.2.1/../../../../i486-pc-linux-gnu/bin/ld: cannot find -lQtGui
collect2: ld returned 1 exit status
make: *** [hello] Error 1
Anybody have any idea how to fix this problem?
Thank you