public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* JNI problem
@ 2000-10-18  7:15 Brian Youmans
  0 siblings, 0 replies; only message in thread
From: Brian Youmans @ 2000-10-18  7:15 UTC (permalink / raw)
  To: help-gcc

Hi All
            I am doing a project on JNI.My work is to use a set of C APIs
present in an archive file and use jni code to call that api and perform the
respected action.I got problem while forming the shared library.Because the
API I am calling is thrown as a run time error like "relocation error
/XXX.so and symbol API name :not found (XXX.so).I came to a conclusion that
I didn't include my C APIs archive file properly.Did anybody face this kind
of problem please let me know about.I compiled the program as follows.

gcc -G -I/java  -I/java/solaris -I/archivefile  XXX.c -o
libSharedfilename.so.
    Anything more required please let me know.
Thanks
Prasad(prasad_as@hotmail.com or prasad@secureasia.com )





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-18  7:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-18  7:15 JNI problem Brian Youmans

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).