>>In article <[EMAIL PROTECTED]>, Craig E Rasmussen 
><[EMAIL PROTECTED]> writes:

> I'm having trouble getting native calls to work.  I'm using JDK-1.1.3
> and the simple HelloWorld example segfaults.  My guess is that the 
> problem is that I'm not creating the shared objects correctly. I'm
> using gcc with the -shared option to create an a.out file which I rename
> to libhello.so.  I think this is not the right thing to do.

I have no idea if or why, but I was told you need to optimize to make
a dynamic library.  Add -O and see if that helps any.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  PGP = 91 B3 94 7C E9 E8 76 2D   E1 63 51 AA A0 48 89 2F  ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o

Reply via email to