cross compiling problems

wim delvaux wim.delvaux at adaptiveplanet.com
Mon Jan 5 19:09:12 CET 2004


Hi all,

compilation runs just find but linkage seems to want to pickup my /usr/lib 
version of jpeg  and not the .../arm/ version.

Strangely enough all the intermediate libraries that need jpeg seem to pickup 
the proper one.

Only the final konqueror build insists on /usr/lib.

My configure is ..

./configure \
          --host=arm-linux \
          --disable-debug \
          --enable-embedded \
          --enable-qtopia \
          --without-ssl \
          --with-extra-includes=/usr/local/arm/2.95.3/arm-linux/include \
          --with-extra-libs=/usr/local/arm/2.95.3/arm-linux/lib \
          --with-qt-dir=$BASED/qt-embedded-2/arm_gcc2 \
          --enable-mt

Command being executed when linking konqueror

make[5]: Entering directory `/mnt/buro/fs.permanent/home/u19809/projects/Qt/
konqueror/konqueror-embedded-snapshot-20030705/konq-embed/src'
/bin/sh ../../libtool --silent --mode=link --tag=CXX arm-linux-g++  
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions 
-fno-check-new -fno-rtti -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT 
-DQT_NO_ASCII_CAST    -o konqueror  -L/mnt/buro/fs.permanent/home/u19809/
projects/Qt/qt-embedded-2/arm_gcc2/lib -L/usr/local/kde/lib  -L/usr/local/
arm/2.95.3/arm-linux/lib  main.o mainwindowbase.o htmlview.o popuphandler.o 
view.o run.o browseriface.o bookmarks.o preferences.o preferencesimpl.o 
mainwindow_qpe.o mainwindow_x11.o mainwindow_kiosk.o xmltree.o 
bookmarkeditor.o bookmarkeditorimpl.o bookmarkedit.o bookmarkeditimpl.o 
mainwindebug.o   ../../konq-embed/kdesrc/khtml/ecma/libkjs_html_i.la ../../
konq-embed/kdesrc/kjs/libkjs.la  ../../konq-embed/kdesrc/khtml/libkhtml_i.la
/usr/lib/libjpeg.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[5]: *** [konqueror] Error 1
make[5]: Leaving directory `/mnt/buro/fs.permanent/home/u19809/projects/Qt/
konqueror/konqueror-embedded-snapshot-20030705/konq-embed/src'
make[4]: *** [all-recursive] Error 1



More information about the konq-e mailing list