[kaffe] compile problem: mipsel+qt

Mark and Janice Juszczec juszczec at hotmail.com
Sat Aug 16 07:26:02 PDT 2003


Hi folks

I tried sending this a few days ago.  I think it may have gotten lost in the 
blackout that the US had.  My apologies if I double post.

I'm trying to use the Qt based awt for kaffe-1.1.0 on mipsel-linux.

I compile a statically linked qt just fine.

But when its time to compile kaffe, I get:

mipsel-linux-gcc -g -O2 -fno-omit-frame-pointer -o kaffe-bin -static main.o 
vers
ion.o .libs/kaffe-binS.o -Wl,--export-dynamic  
-L/usr/local/src/qthelio/qt-embed
ded-free-3.0.5/lib 
-L/usr/local/src/mipsCrossToolchainOld/mipsel-gcc/mipsel-linu
x/libstdc++-v3/src 
-L/usr/local/src/mipsCrossToolchainOld/mipsel-gcc/mipsel-linu
x/libstdc++-v3/src/.libs 
-L/usr/local/src/mipsCrossToolchainOld/mipsel-gcc/gcc -
L/usr/local/mipsel-linux/bin -L/usr/local/mipsel-linux/lib 
../../libraries/clib/
native/.libs/libnative.a ../../libraries/clib/net/.libs/libnet.a 
../../libraries
/clib/io/.libs/libio.a ../../libraries/clib/zip/.libs/libzip.a 
../../libraries/c
lib/management/.libs/libmanagement.a 
../../libraries/clib/security/.libs/libsecu
rity.a ../../libraries/clib/awt/qt/.libs/libawt.a 
/usr/local/mipsel-linux/lib/li
bstdc++.a -L/usr/local/lib/gcc-lib/mipsel-linux/3.0.1 
-L/usr/local/lib/gcc-lib/m
ipsel-linux/3.0.1/../../../../mipsel-linux/lib -lc -lgcc_s -lgcc 
../kaffevm/.lib
s/libkaffevm.a -lm ../../libltdl/.libs/libltdlc.a -ldl -lqte
/usr/local/lib/gcc-lib/mipsel-linux/3.0.1/../../../../mipsel-linux/bin/ld: 
canno
t find -lgcc_s
collect2: ld returned 1 exit status
rm -f .libs/kaffe-binS.o
make[2]: *** [kaffe-bin] Error 1
make[2]: Leaving directory `/usr/local/src/kaffe-1.1.0/helio/kaffe/kaffe'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/kaffe-1.1.0/helio/kaffe'
make: *** [all-recursive] Error 1

	 	From what I understand libgcc_s is some kind  of shared library for gcc.
But my configure line was:

../configure --host=mipsel-linux --prefix=/usr/local/kaffe-mipsel 
--enable-static --enable-shared=no --with-engine=intrp --disable-debug 
--disable-xprofiling --disable-xdebugging --disable-feedback 
--without-profiling --without-stats --disable-gcj --with-staticbin 
--with-staticlib --with-staticvm --with-awt=qt

Any ideas how to get rid of the problem?

Failing that, is the old pocketlinux fgl awt backend available somewhere?

Mark

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





More information about the kaffe mailing list