Re: "undefined reference to `_JNI_CreateJavaVM'"

2010-02-18 Thread Larry Hall (Cygwin)
On 02/18/2010 03:50 PM, Gary wrote: On Thu, Feb 18, 2010 at 11:47:13AM -0500, Larry Hall (Cygwin) wrote: On 02/18/2010 05:43 AM, Gary wrote: I've basically followed along with what is written at http://www.inonit.com/cygwin/jni/invocationApi/ (built an import library, passed ld the "-L. -ljvm"

Re: "undefined reference to `_JNI_CreateJavaVM'"

2010-02-18 Thread Gary
On Thu, Feb 18, 2010 at 11:47:13AM -0500, Larry Hall (Cygwin) wrote: > On 02/18/2010 05:43 AM, Gary wrote: > >I've basically followed along with what is written at > >http://www.inonit.com/cygwin/jni/invocationApi/ (built an import > >library, passed ld the "-L. -ljvm" parameters, and so on). One

Re: "undefined reference to `_JNI_CreateJavaVM'"

2010-02-18 Thread Larry Hall (Cygwin)
On 02/18/2010 05:43 AM, Gary wrote: I've basically followed along with what is written at http://www.inonit.com/cygwin/jni/invocationApi/ (built an import library, passed ld the "-L. -ljvm" parameters, and so on). One difference is that gcc no longer supports -mno-cygwin, but I'm not convinced t

"undefined reference to `_JNI_CreateJavaVM'"

2010-02-18 Thread Gary
I am trying to call some Java code from C via JNI, and am having problems building: main.o:main.c:(.text+0xcc): undefined reference to `_JNI_CreateJavaVM' I've basically followed along with what is written at http://www.inonit.com/cygwin/jni/invocationApi/ (built an import library, pas