Hello.

I am still trying to get japhar-0.7 to compile but I am having some problems.

First, why do I still have to give the --with-sun-jdk option to configure
when I want to compile with classpath?

Second, I ran into an error when compiling.


make[3]: Entering directory `/tmp/mo/japhar-0.07/lib/libnative/java.lang'
/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../include 
-I./_stubs -I../../../include -I../../../lib/libjni/include 
-I../../../lib/libjni/include -DINSTALL_DIR=\"/tmp/mo/install_japhar\" 
-DLIBDIR=\"/tmp/mo/install_japhar/lib\"  -DDEBUG  -g -O2 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations -Wreturn-type -Wcast-align -c system.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I./_stubs -I../../../include 
-I../../../lib/libjni/include -I../../../lib/libjni/include 
-DINSTALL_DIR=\"/tmp/mo/install_japhar\" -DLIBDIR=\"/tmp/mo/install_japhar/lib\" 
-DDEBUG -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wreturn-type -Wcast-align -c -fPIC -DPIC system.c
system.c:73: warning: no previous prototype for 
`Java_java_lang_System_currentTimeMillis'
system.c:95: warning: no previous prototype for `Java_java_lang_System_arraycopy'
system.c:141: warning: no previous prototype for `Java_java_lang_VMSystem_arraycopy'
system.c:150: warning: no previous prototype for 
`Java_java_lang_System_identityHashCode'
system.c: In function `Java_java_lang_System_identityHashCode':
system.c:154: warning: cast increases required alignment of target type
system.c: At top level:
system.c:164: warning: no previous prototype for 
`Java_java_lang_VMSystem_identityHashCode'
system.c:210: warning: no previous prototype for `Java_java_lang_System_initProperties'
system.c: In function `Java_java_lang_System_initProperties':
system.c:323: `tm' undeclared (first use this function)
system.c:323: (Each undeclared identifier is reported only once
system.c:323: for each function it appears in.)
system.c: At top level:
system.c:377: warning: no previous prototype for 
`Java_java_lang_VMSystem_insertSystemProperties'
system.c:385: warning: no previous prototype for `Java_java_lang_System_setIn0'
system.c:397: warning: no previous prototype for `Java_java_lang_System_setOut0'
system.c:409: warning: no previous prototype for `Java_java_lang_System_setErr0'
make[3]: *** [system.lo] Error 1
make[3]: Leaving directory `/tmp/mo/japhar-0.07/lib/libnative/java.lang'



Does this have something to do with the old System.setOut() method problems
that never seemed to get fixed? I thought switching to japhar + classpath
would finally free me of that System.setOut() menace.



Here is my setup.


SunOS 5.6 Sparc

aclocal, automake -> 1.4
autoheader, autoconf, -> 2.13


later
Mo DeJong
dejong at cs.umn.edu

Reply via email to