Error when building 0.99 on OSX (java_io_VMConsole.c: error: 'IUCLC' undeclared)

Yi Lin <[email protected]> Wed, 31 Jul 2013 17:06:12 +1000
Newsgroups gmane.comp.java.classpath.devel
Message-ID <[email protected]>
Hi,

I am trying to build classpath 0.99 (from 
ftp://ftp.gnu.org/gnu/classpath/classpath-0.99.tar.gz) on MacOS X 10.7. 
I am getting this error message:

    libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../include
    -I../../../include -I../../../native/jni/classpath
    -I../../../native/jni/native-lib -W -Wall -Wmissing-declarations
    -Wwrite-strings -Wmissing-prototypes -Wno-long-long
    -Wstrict-prototypes -pedantic -fexceptions
    -fasynchronous-unwind-tables -g -O2 -MT java_io_VMConsole.lo -MD -MP
    -MF .deps/java_io_VMConsole.Tpo -c java_io_VMConsole.c  -fno-common
    -DPIC -o .libs/java_io_VMConsole.o
    java_io_VMConsole.c: In function 'Java_java_io_VMConsole_readPassword':
    java_io_VMConsole.c:80:19: error: 'IUCLC' undeclared (first use in
    this function)
    java_io_VMConsole.c:80:19: note: each undeclared identifier is
    reported only once for each function it appears in
    make[3]: *** [java_io_VMConsole.lo] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all-recursive] Error 1

Can anyone give a hint? Thanks very much.

Regards,
Yi