Re: JIGS SuSE 8.2 gcj

From:

Nicola Pero

Subject:

Re: JIGS SuSE 8.2 gcj

Date:

Thu, 18 Mar 2004 17:17:15 +0000 (GMT)

I've never been able to use JIGS with gcj, but it would be nice to try.
The main problem you should be looking for is the version of JNI (the Java
Native Interface) that they support. We need a recent version of JNI to
run JIGS, otherwise there simply aren't enough of the weak references etc
to support the cross-language interface. Last time I looked at it, it
didn't have an enough recent version of JNI.
>From the JIGS documentation,
"1. Does JIGS work with JNI 1.1 ?
================================
No. JIGS requires JNI 1.2, mainly because it uses weak references,
which are provided by JNI 1.2 but not by JNI 1.1. There are no
current plans to port JIGS to JNI 1.1."
> Hi folks,
>
> I installed the latest set of RPMs:
>
>
> gnustep-back-0.8.5-sx001.i386.rpm
> gnustep-base-1.6.0-sx002.i386.rpm
> gnustep-gui-0.8.5-sx001.i386.rpm
> gnustep-libxml2-2.4.25-sx001.i386.rpm
> gnustep-make-1.6.0-sx001.i386.rpm
> gs-make-4.2-sx001.i386.rpm
>
> and I'm trying to install JIGS:
>
>
> Making all in Java...
> make[1]: Entering directory `/usr/local/src/jigs-1.5.5/Java'
> Making all for java_package gnu.gnustep.java...
> Compiling file gnu/gnustep/java/GSJNIMethods.java ...
> /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../crt1.o(.text+0x18): In function
> `_start':
> : undefined reference to `main'
> collect2: ld returned 1 exit status
> make[2]: *** [gnu/gnustep/java/GSJNIMethods.class] Error 1
> make[1]: *** [gnu.gnustep.java.all.java-package.variables] Error 2
> make[1]: Leaving directory `/usr/local/src/jigs-1.5.5/Java'
> make: *** [internal-all] Error 2
>
> What am I missing?
I wonder what that error is though, are you sure the Java compiler is
working ? Try 'make messages=yes' to see which Java compiler you are
actually using :-) and which options you're passing to it