Java from scratch under glibc-2.3.1

Richard A Downing richard.downing at
Sat Nov 2 11:49:05 PST 2002

I've built a fair bit of BLFS with my new LFS 4 with glibc-2.3.1 and a cvs GCC 
3.2.1.  Everything seems fine.  However I am getting a solid fail in 
compiling java.  The error message appears during linking and appears related  
to libc.  Any pointers much appreciated.

/usr/src/java/lib/libXm.a(ResConvert.o): In function `XmeNamesAreEqual':
ResConvert.o(.text+0x54f): undefined reference to `__ctype_b'
/usr/src/java/lib/libXm.a(ResConvert.o): In function `GetFontName':
ResConvert.o(.text+0xddd): undefined reference to `__ctype_b'
/usr/src/java/lib/libXm.a(ResConvert.o): In function `GetFontTag':
ResConvert.o(.text+0xf70): undefined reference to `__ctype_b'
ResConvert.o(.text+0x1080): undefined reference to `__ctype_b'
ResConvert.o(.text+0x10d4): undefined reference to `__ctype_b'
/usr/src/java/lib/libXm.a(ResConvert.o)(.text+0x1195): more undefined 
references to `__ctype_b' follow
collect2: ld returned 1 exit status
make[4]: *** [/usr/src/java/control/build/linux-i386/lib/i386/] Error 
make[4]: Leaving directory `/usr/src/java/j2se/make/sun/awt'
make[3]: *** [optimized] Error 2
make[3]: Leaving directory `/usr/src/java/j2se/make/sun/awt'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/usr/src/java/j2se/make/sun'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/usr/src/java/j2se/make'
make: *** [j2se-build] Error 2

Cheers, Richard.
Richard A Downing FBCS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: java-error
Type: text/x-diff
Size: 1090 bytes
Desc: not available
URL: <>

More information about the blfs-support mailing list