[kaffe] Compiling with static failed.
Dalibor Topic
robilad at kaffe.org
Tue Dec 7 18:30:37 PST 2004
Kiyo Inaba wrote:
> Hi,
>
> Latest snap was failed to be compiled on ia32/linux with configuration
> --with-staticbin --with-staticlib --with-staticvm
> --enable-pure-java-math --disable-sound
> --without-x --disable-native-awt
> --disable-shared --with-engine=jit3
>
> And the error message at link time is
> /proj/kaffe/kaffe-snap-041202-sss3/libraries/clib/classpath/.libs/libclasspath.a(primlib.o): In function `PRIMLIB_GetNativeWrapClass':
> /proj/kaffe/kaffe-snap-041202-sss3/libraries/clib/classpath/../../../../kaffe-snap-041202/libraries/clib/classpath/primlib.c:128: undefined reference to `LINK_ReallyLinkClass'
> /proj/kaffe/kaffe-snap-041202-sss3/libraries/clib/classpath/.libs/libclasspath.a(primlib.o): In function `PRIMLIB_GetNativeTypeClass':
> /proj/kaffe/kaffe-snap-041202-sss3/libraries/clib/classpath/../../../../kaffe-snap-041202/libraries/clib/classpath/primlib.c:151: undefined reference to `LINK_ReallyLinkKnownClass'
> collect2: ld returned 1 exit status
>
> This same configuration works fine for Nov/18's snap.
Konnichiwa Kiyo,
thanks for reporting it. I think I have fixed it with
2004-12-01 Dalibor Topic <robilad at kaffe.org>
* libraries/clib/classpath/Makefile.am:
Removed primlib.c and primlib.h as they are not used anywhere,
and break compilation to static libraries.
* libraries/clib/awt/classpath-gtk/classpath/Makefile.in,
libraries/clib/classpath/Makefile.in:
Regenerated.
* libraries/clib/classpath/primlib.c,
libraries/clib/classpath/primlib.h:
Removed.
Reported by: Peter Naulls <peter at chocky.org>
cheers,
dalibor topic
More information about the kaffe
mailing list