Hi,
I am trying to install Qt for cross compiling. I am using a toolkit (colibri-bsp-5.0-toolchain-1.0) from noser.com. I am trying for a PXA320 processor and the arm is a little-endian.
The configure and make works fine, but when i try to do a make install it exits with an error (check error log below). I also edited the qmake.conf file under "qt-embedded-linux-opensource-src-4.4.0/mkspecs/qws/linux-arm-g++", inside i have changed references from "linux-arm-g++" to "arm-linux-gnueabi", to make it compatible with the toolkit.
Configure options:
./configure -platform qws/linux-x86-g++ -xplatform qws/linux-arm-g++ -embedded arm -little-endian
Error log:
arm-linux-gnueabi-g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../mkspecs/qws/linux-arm-g++ -I. -I../../../../include/QtCore -I../../../../include/QtCore -I../../../../include/QtNetwork -I../../../../include/QtNetwork -I../../../../include/QtGui -I../../../../include/QtGui -I../../../../include -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -I/usr/local/arm/oe/arm-linux-gnueabi/include -o .obj/release-shared-emb-arm/main.o main.cpp
arm-linux-gnueabi-g++ -fno-exceptions -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.4.0-arm/lib -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.4.0-arm/lib -o t2 .obj/release-shared-emb-arm/main.o -L/usr/local/Trolltech/QtEmbedded-4.4.0-arm/lib -lQtGui -L/usr/local/Trolltech/QtEmbedded-4.4.0-arm/lib -lQtNetwork -ldl -lQtCore -lm -lrt -lpthread
/usr/local/Trolltech/QtEmbedded-4.4.0-arm/lib/libQtCore.so: undefined reference to `_dl_hwcap'
/usr/local/Trolltech/QtEmbedded-4.4.0-arm/lib/libQtCore.so: undefined reference to `__dlsym'
/usr/local/Trolltech/QtEmbedded-4.4.0-arm/lib/libQtCore.so: undefined reference to `__dlopen'
/usr/local/Trolltech/QtEmbedded-4.4.0-arm/lib/libQtCore.so: undefined reference to `__dlclose'
/usr/local/Trolltech/QtEmbedded-4.4.0-arm/lib/libQtCore.so: undefined reference to `__dlerror'
collect2: ld returned 1 exit status
make: *** [t2] Error 1
Bookmarks