Problem compiling the CVS libgcj.

Kai-Peter G Backman kpbackma@cc.helsinki.fi
Sat Jul 29 07:58:00 GMT 2000


 Dear list,
 I recently got the cvs repository version of gcc and libgcj and tried to
compile them. GCC goes fine while libgcj doesn't.
Configure says I am: i586-pc-linux-gnu
gcc configure options: --enable-languages=java,c++ --enable-threads=posix
libgcj configure options: --enable-interpreter --enable-threads=posix
--enable-java-gc=boehm
I get three similar errors where the function call is of type
"void (*) (...)" while the declaration requires "void (*) ()":
<quote>
../../../libgcj/libjava/interpret.cc: In method `void 
_Jv_InterpMethod::continue1 (_Jv_InterpMethodInvocation *)':
../../../libgcj/libjava/interpret.cc:709: cannot convert `void (*) (...)'
to `void (*) ()' for argument 
`2' to `ffi_raw_call (ffi_cif *, void (*) (), void *, ffi_raw *)'
</quote>
the other places are (both calling libffi methods):
libgcj/libjava/jni.cc:1788:
libgcj/libjava/java/lang/reflect/natMethod.cc:417
and then a bunch of errors (50+) in the boehm gc code. 
 I understand that the CVS can be a bit unstable but trying to fetch the
version one week back gives me the same problem with libffi. Is this my
local problem or something that is work in progress? (ie. should I just
wait for it to go away) I am intent on getting the CVS version to work ..
 Yours sincerely,
 Kai-Peter Baeckman
 kai-peter.backman@helsinki.fi


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /