This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Java Native & cygnus-generated library.



>Hi, 
>	
>	I have a library (.a) generate using gcc (in CYGNUS environment)
>	Now I am trying to call functions in this library in Java. 
>	Has anyone done this?
>	I used the solaris' header (for jni.h)
>	And got the library foo.dll
>	
>But when the function is called in Java - 
>I got an Unsatisfiable Link Error. 
>(I have set my LD_LIBRARY_PATH variable appropriately)
>
>Any help is truly appreciated. 

I would suspect that you haven't setup the native method interface correctly
on the Java side. I've been able to link cygnus libraries (.a) fine when using
many of the NT compilers.

Can you tell me which jvm and jdk you're using? I need to do some java work
anyway , so I could install it and take a closer look at the problem...

>
>Eugene Teh
>UC BErkeley
>
>-
>For help on using this list (especially unsubscribing), send a message to
>"gnu-win32-request@cygnus.com" with one line of text: "help".

****************************************************************
Jeff Horner        The University of Tennessee     CS Department
423 974-2841            fax: 423 974-8296         104 Ayres Hall
http://www.cs.utk.edu/~jhorner/        Knoxville, TN  37996-1301              
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]