Hi Denis. You should build your library using g++ instead of ld. The reason is that g++ links additional object files that are essencial for a library to work well (namely, crtbegin.o, crtend.o, crti.o, and crtn.o). Try: g++ -fPIC -I[jdk-root]/include -I[jdk-root]/include/genunix Load.cc Load.o g++ -shared Load.o -o libLoad.so Hope this helps. -- Cassino
- JNI problem on 1.1.7_v1a Linux Denis Riedijk
- JNI problem on 1.1.7_v1a Linux Carlos Cassino
- JNI problem on 1.1.7_v1a Linux Udo K. Schuermann