Hi ...
I'm trying to crosscompile the nice gpsdrive program from
www.ganter.at ... but got problems when crosscompiling ...
running from inside /opt/arm/runzgcc-vfp.sh ... running ./configure with parameters ...
But linker got errors with reading symbols from /opt/arm/3.3.2-vfp/lib/libgobject-2.0.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
...
sh-3.00$ dir -l /opt/arm/3.3.2-vfp/lib/libgobject-2.0*
-rwxr-xr-x 1 iwona users 875 2004-10-06 18:29 /opt/arm/3.3.2-vfp/lib/libgobject-2.0.la
lrwxrwxrwx 1 iwona users 25 2004-10-29 20:13 /opt/arm/3.3.2-vfp/lib/libgobject-2.0.so-> libgobject-2.0.so.0.400.6
lrwxrwxrwx 1 iwona users 25 2004-10-29 20:12 /opt/arm/3.3.2-vfp/lib/libgobject-2.0.so.0 -> libgobject-2.0.so.0.400.6
-rwxr-xr-x 1 iwona users 205476 2004-10-07 16:38 /opt/arm/3.3.2-vfp/lib/libgobject-2.0.so.0.400.6
...
Any ideas?
Thanks a lot
Martin
----------------------------------------------------
mazi1802@linuxnote1:~/GPSdrive-downloads/gpsdrive-2.10pre2> /opt/arm/runzgcc-vfp.sh
pdaXrom cross developer tools 1.1.0 softfloat(VFP)
Type 'exit' for leave shell.
Cross prefix is 'armv5tel-linux-'
Predefined variables:
X11INC - X11 include path
X11LIB - X11 libraries path
QTDIR - QT basedir path
sh-3.00$ LDFLAGS="-Wl,-rpath-link,/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib"
sh-3.00$ ./configure --host=armv5tel-cacko-linux --build=i686-linux --x-includes=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/include --x-libraries=/opt/arm/3.3.2/armv5tel-cacko-linux/X11R6/lib --disable-debug --prefix=/usr/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for armv5tel-cacko-linux-strip... armv5tel-cacko-linux-strip
checking build system type... i686-pc-linux
checking host system type... armv5tel-cacko-linux
checking for style of include used by make... GNU
checking for armv5tel-cacko-linux-gcc... armv5tel-cacko-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether armv5tel-cacko-linux-gcc accepts -g... yes
checking for armv5tel-cacko-linux-gcc option to accept ANSI C... none needed
checking dependency style of armv5tel-cacko-linux-gcc... gcc3
...
----------------------------------------------------
/bin/sh ../libtool --mode=link armv5tel-cacko-linux-g++ -g -O2 -o gpsdrive gpsdrive.osplash.o navigation.o speech_out.o friends.o battery.o track.o settings.o garmin_data.o garmin_serial_unix.o garmin_application.o garmin_link.o garmin_util.o gpsdrivegarble.o garmin_legacy.o gpssql.o gpskismet.o LatLong-UTMconversion.o gpsserial.o gpsnasamap.o gpsmisc.o -Wl,--export-dynamic -pthread -L/opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -liconv -L/usr/lib -lpcre
armv5tel-cacko-linux-g++ -g -O2 -o gpsdrive gpsdrive.o splash.o navigation.o speech_out.o friends.o battery.o track.o settings.o garmin_data.o garmin_serial_unix.o garmin_application.o garmin_link.o garmin_util.o gpsdrivegarble.o garmin_legacy.o gpssql.o gpskismet.o LatLong-UTMconversion.o gpsserial.o gpsnasamap.o gpsmisc.o -Wl,--export-dynamic -pthread -L/opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib /opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib/libgtk-x11-2.0.so /opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib/libgdk-x11-2.0.so /opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib/libatk-1.0.so /opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib/libgdk_pixbuf-2.0.so /opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib/libpangoxft-1.0.so /opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib/libpangox-1.0.so /opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib/libpango-1.0.so -lm /opt/arm/3.3.2-vfp/lib/libgobject-2.0.so /opt/arm/3.3.2-vfp/lib/libgmodule-2.0.so -ldl /opt/arm/3.3.2-vfp/lib/libgthread-2.0.so -lpthread /opt/arm/3.3.2-vfp/lib/libglib-2.0.so /opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib/libiconv.so -L/usr/lib /usr/lib/libpcre.so -Wl,--rpath -Wl,/opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib -Wl,--rpath -Wl,/opt/arm/3.3.2-vfp/lib -Wl,--rpath -Wl,/opt/arm/3.3.2-vfp/armv5tel-cacko-linux/lib -Wl,--rpath -Wl,/opt/arm/3.3.2-vfp/lib
/opt/arm/3.3.2-vfp/lib/libgobject-2.0.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [gpsdrive] Fehler 1
make[2]: Leaving directory `/home/mazi1802/GPSdrive-downloads/gpsdrive-2.10pre2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/mazi1802/GPSdrive-downloads/gpsdrive-2.10pre2'
make: *** [all] Fehler 2
----------------------------------------------------