From: Paolo Ciccone <p-ciccone@usa.net.removetoreply>
To: Igor Boukanov <boukanov@sentef2.fi.uib.no>
Cc: gnu-win32@cygnus.com
Subject: Re: JNI and GCC
Date: Fri, 12 Sep 1997 10:21:00 -0000 [thread overview]
Message-ID: <wk7mcm8n8y.fsf@usa.net.removetoreply> (raw)
In-Reply-To: <Pine.HPP.3.95.970909144126.27330B-100000@sentef2.fi.uib.no>
>>>>> "IB" == Igor Boukanov <boukanov@sentef2.fi.uib.no> writes:
IB> Hi, I tried to use gcc from b18 to implement JNI native
IB> libraris but without much success, i.e. I was able to create
IB> dll, but I could not load libarary from JVM. After the
IB> execution: System.load("C:\\test\\test.dll"); I always got:
IB> java.lang.UnsatisfiedLinkError: C:\test\test.dll at
IB> java.lang.Runtime.load(Runtime.java:397) at
IB> java.lang.System.load(System.java:553) at
IB> Prompt.main(Prompt.java:32)
Are you using C++ or C ? I experienced a similar problem with code
that was compiled as C++ (with Borland C++). When I renamed the module
to .c it linked ok.
Paolo
--
The opinions expressed here are exclusively my own
Remove the extra junk to my e-mail address to reply, sorry for the
inconvenience, I get spammed a lot.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
prev parent reply other threads:[~1997-09-12 10:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-09 15:01 Igor Boukanov
1997-09-10 2:25 ` Jackal Yu
1997-09-10 0:38 ` Igor Boukanov
1997-09-12 10:21 ` Paolo Ciccone [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wk7mcm8n8y.fsf@usa.net.removetoreply \
--to=p-ciccone@usa.net.removetoreply \
--cc=boukanov@sentef2.fi.uib.no \
--cc=gnu-win32@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).