This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: installation problem
- To: Joerg Brunsmann <Joerg dot Brunsmann at FernUni-Hagen dot de>
- Subject: Re: installation problem
- From: Fredrik Warg <warg at ce dot chalmers dot se>
- Date: Thu, 13 Apr 2000 21:01:04 +0200 (MET DST)
- cc: cdornan at arm dot com, java-discuss at sourceware dot cygnus dot com
On Thu, 13 Apr 2000, Joerg Brunsmann wrote:
> Chris Dornan wrote:
>
> > Maybe I should consider the CVS repository snapshots?
>
> You might want to try the procedure described here:
>
> http://sourceware.cygnus.com/ml/java-discuss/2000-04/msg00049.html
>
> Fredrik does it work for you?
Nope, unfortunately not. I tried to compile the 2000-02-21 libgcj with
the patched 2.95.2 (or did you mean I should use the 0221 gcc too, I
was not sure about this?) and got the following errors:
../../../libgcj/libjava/jni.cc: In function `jint
_Jv_JNI_RegisterNatives(JNIEnv *, java::lang::Class *, const
JNINativeMethod *, __java_int)':
../../../libgcj/libjava/jni.cc:1267: implicit declaration of function `int
_Jv_IsInterpretedClass(...)'
../../../libgcj/libjava/jni.cc:1272: `_Jv_InterpClass' undeclared (first
use this function)
../../../libgcj/libjava/jni.cc:1272: (Each undeclared identifier is
reported only once
../../../libgcj/libjava/jni.cc:1272: for each function it appears in.)
../../../libgcj/libjava/jni.cc:1272: `klass' undeclared (first use this
function)
../../../libgcj/libjava/jni.cc:1272: parse error before `*'
../../../libgcj/libjava/jni.cc:1280: `_Jv_MethodBase' undeclared (first
use this function)
../../../libgcj/libjava/jni.cc:1280: `imeths' undeclared (first use this
function)
../../../libgcj/libjava/jni.cc:1280: implicit declaration of function `int
_Jv_GetFirstMethod(...)'
../../../libgcj/libjava/jni.cc:1283: `meth' undeclared (first use this
function)
../../../libgcj/libjava/jni.cc:1294: `_Jv_JNIMethod' undeclared (first use
this function)
../../../libgcj/libjava/jni.cc:1294: `jmeth' undeclared (first use this
function)
../../../libgcj/libjava/jni.cc:1294: parse error before `*'
../../../libgcj/libjava/jni.cc: In function `jint
JNI_GetCreatedJavaVMs(JavaVM **, __java_int, jsize *)':
../../../libgcj/libjava/jni.cc:1707: warning: unused parameter `jsize
buf_len'
gmake[2]: *** [jni.lo] Error 1
I also tried the 2000-03-02 version Matt Welsh suggested but got stuck on
this:
../../../libgcj/libjava/java/math/BigInteger.java: In method
`isProbablePrime(int)':
../../../libgcj/libjava/java/math/BigInteger.java:1287: internal error in
check-init: tree code not implemented: abs_expr
gmake[2]: *** [java/math/BigInteger.lo] Error 1
Simply commenting out BigInteger from the makefile (I'm not sure if
this is a sane thing to do, but...) I got a little further but ended
up with:
In file included from ../../../libgcj/libjava/java/lang/natDouble.cc:32:
java/lang/Double.h:39: `Infinity' was not declared in this scope
java/lang/Double.h:40: `Infinity' was not declared in this scope
In file included from ../../../libgcj/libjava/java/lang/natDouble.cc:34:
[...]
gmake[2]: *** [java/lang/natDouble.lo] Error 1
After that I gave up... for the moment :) BTW, Anyone who knows where
"Infinity" ought to be defined?
/Fredrik
-------------------------------------
Fredrik Warg -- [warg@ce.chalmers.se]
http://www.ce.chalmers.se/staff/warg/