Java from scratch under glibc-2.3.1

Tushar T tush at yahoo.com
Sat Nov 2 17:51:20 PST 2002


Richard A Downing wrote:

>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/libawt.so] Error 
>1
>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
>  
>
Use the latest version of the java hint at the URL in my sig. The 
problem is libXm.a is linked to glibc-2.2 which is not compatible with 
glibc-2.3.1. The latest revision avoids this problem by linking to a 
dynamic lesstif.

>  
>
-- 
Tushar Teredesai
LFS ID: 1377
http://tushar.lfsforum.org/

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list