Hi!
When doing ./configure for my target I get the following linker error:
/usr/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
/usr/bin/ld: cannot find /lib/libc.so.6
I want to cross-compile QT embedded on x86 debian for an ARM-board using
./configure -xplatform qws/linux-arm-g++ -embedded arm -prefix /usr/CortexA8/usr/local/qt-embedded -qt-gfx-linuxfb -qt-gfx-vnc -no-largefile -exceptions -no-accessibility -no-qt3support -no-sse2 -qt-zlib -no-gif -no-libtiff -qt-libpng -no-libmng -qt-libjpeg -openssl -no-nis -no-cups -depths 16 -qt-kbd-linuxinput -nomake demos -nomake examples -qt-mouse-linuxinput -qt-mouse-tslib -confirm-license
I tried setting “QMAKE_LFLAGS += -L/usr/arm-linux-gnueabi/lib”, which should be the correct path for the ARM-libs, but the resultis the same problem.
/lib/libc.so.6 contain “GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.3 ) )”. I tried changing the path to /usr/arm/linux-gnueabi/lib, without succes.
Does anybody have an idea how to get the linker working?
Thanks in advance!
↧