delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/22/02:02:24

From: jhorner AT cs DOT utk DOT edu (Jeffrey Russell Horner)
Subject: Re: Java Native & cygnus-generated library.
22 Sep 1998 02:02:24 -0700 :
Message-ID: <199809211334.JAA02796.cygnus.gnu-win32@nala.cs.utk.edu>
References: <Pine DOT OSF DOT 3 DOT 96 DOT 980920161526 DOT 3925B-100000 AT bips DOT EECS DOT Berkeley DOT EDU>
To: Eugene Teh <teh AT ic DOT eecs DOT berkeley DOT edu>
Cc: gnu-win32 AT cygnus DOT com

>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 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019