![]() |
Error in compiling QT project under DIABLO_ARMEL
I have tried to compile qt project under DIABLO_ARMEL., but get errors:
Commands: >qmake -project >qmake ./testapp.pro >make Console answer: g++ -Wl,-O1 -o testapp testapp.o -L/usr/lib -lQtGui -lQtCore -lpthread /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld: testapp.o: Relocations in generic ELF (EM: 3) /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld: testapp.o: Relocations in generic ELF (EM: 3) testapp.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [testapp] Error 1 Target settings is: >sb-conf show DIABLO_ARMEL Compiler: cs2005q3.2-glibc2.5-arm Devkits: perl debian-etch maemo3-tools cputransp CPU-transparency: /scratchbox/devkits/cputransp/bin/qemu-arm-0.8.2-sb2 This code under DIABLO_X86 works good. Qt libs: libqt4-core, libqt4-dev and libqt4-gui installed. Help please, what can be a problem? |
Re: Error in compiling QT project under DIABLO_ARMEL
This error:
testapp.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make: *** [testapp] Error 1 occured if project was compiled before for anothe platform. It's need command: 'make claen' and after that: 'make'. |
Re: Error in compiling QT project under DIABLO_ARMEL
Quote:
Code:
make distclean Code:
qmake && make |
All times are GMT. The time now is 06:05. |
vBulletin® Version 3.8.8