What's this error?Re: Hi,everyone here! About Kaffe on Linux-vr

yewang at eng.auburn.edu yewang at eng.auburn.edu
Wed Apr 18 12:30:22 PDT 2001


Thank Alexandre,

I still can not get the Kaffe cross-compiled.

1)There is  an error is config.log:

configure:6008: checking whether the C++ compiler (/usr/bin/mipsel-linux-c++  )
configure:6024: /usr/bin/mipsel-linux-c++ -o conftest   -I/usr/local/include 
conftest.C  -Lnative,io,awt  1>&5
/usr/mipsel-linux/bin/ld: cannot find -lstdc++
configure: failed program was:

#line 6019 "configure"
#include "confdefs.h"

int main(){return(0);}
configure:6050: checking whether the C++ compiler (/usr/bin/mipsel-linux-c++  )
is a cross-compiler

2) when I tried to cross-compile:

make[3]: Entering directory `/root/ClioLinux/kaffe/libraries/clib/native'
source='ByteToCharDefault.c' object='ByteToCharDefault.lo' libtool=yes \
depfile='.deps/ByteToCharDefault.Plo' tmpdepfile='.deps/ByteToCharDefault.TPlo'
depmode=gcc /bin/sh ../../../depcomp \
/bin/sh ../../../libtool --mode=compile /usr/bin/mipsel-linux-gcc
-DHAVE_CONFIG_H -I. -I. -I../../../config -I../../../include   -DKVER='"1.0.6"'
-I/root/ClioLinux/kaffe/./kaffe/kaffevm/systems/unix-jthreads -I../../../config
-I../../../include  -I/usr/local/include  -g -O2 -fno-omit-frame-pointer -c -o
ByteToCharDefault.lo ByteToCharDefault.c
/usr/bin/mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../../config
-I../../../include -DKVER=\"1.0.6\" -I/root/ClioLinux/kaffe/./kaffe/kaffevm
-I/root/ClioLinux/kaffe/./kaffe/kaffevm/systems/unix-jthreads -I../../../config
-I../../../include -I/usr/local/include -g -O2 -fno-omit-frame-pointer -c
ByteToCharDefault.c -Wp,-MD,.deps/ByteToCharDefault.TPlo -o ByteToCharDefault.o
In file included from ../../../include/jni.h:18,
                 from ../../../include/kaffe_io_ByteToCharDefault.h:2,
                 from ByteToCharDefault.c:17:
../../../include/jtypes.h:36: #error "sizeof(int) or sizeof(long) must be 4"
../../../include/jtypes.h:46: #error "sizeof(long long) or sizeof(__int64) must
be 8"
make[3]: *** [ByteToCharDefault.lo] Error 1
make[3]: Leaving directory `/root/ClioLinux/kaffe/libraries/clib/native'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/ClioLinux/kaffe/libraries/clib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ClioLinux/kaffe/libraries'
Quoting Alexandre Oliva <oliva at lsd.ic.unicamp.br>:

I remember someone asked this question before, but I do not konw how to solve
this problem. I am working on cross-compile the kaffe on Clio 1050(Mipsel) with



> On Apr 16, 2001, yewang at eng.auburn.edu wrote:
> > /usr/bin/mipsel-linux-ar cr cru .libs/libltdlc.al ltdl.lo
> Looks like you've messed up either AR or ARFLAGS: there should only be
> one of `cr' or `cru'.
> -- 
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me

Hi,have a look at my homepage! :-)
OK, I know it is not a best one, but I will make it better and better....

More information about the kaffe mailing list