Problems with jdk1.1.3 and JNI

1997-12-05 Thread Richard A. Guay
Hi, I am not sure this is the right list for this problem, but I thought someone might be able to direct me to the right place. I was hoping the maintainer for the java package might be able to help. I am trying out JNI programming using the linux port for jdk1.1.3 and the new libjava.so file.

Re: Problems with jdk1.1.3 and JNI

1997-12-05 Thread Alex Yukhimets
gcc -shared -I/usr2/programs/jdk1.1.3/include -I/usr2/programs/jdk1.1.3/incl ude/genunix -o libGroup.so javaQ_groups_Group.c Hi. This is not the right way to generate shared library. What you got here is plain objet file (.o) named as shared lib. The correct way is: gcc -fPIC -c -I.