Brian Jones <[EMAIL PROTECTED]> writes:
>
> 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).
ok. i'll work on this bug sometime later today (when I properly wake
up :)
> [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
about the command line here -- you guys do know about japhar-config,
right?
you can use `japhar-config --cflags` and `japhar-config --jni-libs`
instead of all the -I/-L/-l flags.
xtoph