I managed to compile and link guile-jvm.c with Japhar.  Unfortunately
running it fails.  Not sure what debugging output would help here so
I've included what I used to compile guile-japhar here and the error
with running it (not experienced with Sun's JDK).

[failure of guile to instantiate vm, Paul can probably provide details]
[brian@lyta classpath]$ native/testsuite/guile-japhar -s testsuite/scheme/test.scm 
testsuite/config/tests
Running ByteTest$constructorTest1...
guile-japhar: nativeglue.c:444: CallJavaMethod: Assertion `real_obj' failed.
Bus error

[compile line for me from within classpath/native/testsuite/]
gcc guile-jvm.c -I/usr/local/include/libguile -I/usr/local/japhar/include/japhar 
-I/usr/local/japhar/include/japhar/private -L/usr/local/japhar/lib -ljni -ljaphar_lang 
-lruntime -larch -L/usr/local/lib -lguile -L/usr/lib -lreadline -lpthread -lz -L/lib 
-ldl -o guile-japhar

If you want to compile this, you'll also need a recent snapshot of
guile from cvs or the daily snapshots.  See the classpath archive at
http://www.classpath.org/archive/msg00463.html for more information.

Information on obtaining classpath via anonymous cvs is located at
http://www.classpath.org/.

Brian
-- 
|-------------------------------|Software Engineer
|Brian Jones                    |[EMAIL PROTECTED]
|[EMAIL PROTECTED]                    |http://www.nortel.net
|http://www.classpath.org/      |------------------------------

Reply via email to