First off, that package looks like it was intended to be compiled with “ant” from the top-level directory (though it also looks as if you can compile the C portion of the library by manually descending to src/jni and running make as you did). Second, have you tried doing the linking manually? I.e., after the Makefile creates RawSocket.o, try doing
Code:
$ gcc -shared -o librocksaw.so RawSocket.o
If that doesn’t work, try
Code:
$ ld -shared -o librocksaw.so RawSocket.o