I've got segmentation violation error while trying to run simple JNI
program.
I use RedHat 6.1, glibc 2.1, jdk117v3.

I've read all the solutions in FAQ but nothing helped.

Well, once more solution is to compile C library with -shared key. After
that all works.

gcc -shared -I/jdk/include -I/jdk/include/genunix file.c -o libfile.so

Cheers
Anthony


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to