Re: Problem in loading JNI shared library on AIX "Gary R. Hook" <nospam@nospammers.net> wrote in message news:<hdZbb.146$0S4.18@newssvr24.news.prodigy.com> ...
> Nicholas Dronen wrote:
>
> > NA> However, when I try to run this on AIX, I'm getting an error (Illegal
> > NA> Insruction - core dumped).
> >
> > NA> This error occurs when the Java program tries to load the JNI shared
> > NA> library.
> > NA>
> > NA>
> > NA> Part of the error is as follows:
> > NA>
> > NA> -----------------
> > NA> Sun Sep 21 23:52:30 2003
> > NA> SIGILL received at 0xd058efec in /usr/lib/libC.a. Processing NA> terminated.
> >
> > I think libC.a is kinda C++-ish. What's the process doing there?
>
> Actually, I think the question is, how did you build your module?
> What is the command line, exactly?
The build script I'm using is as follows:
xlC_r -g -G -+ -brtl -I../include -I/usr/java131/include CancelCallBack.cpp JLMC
onnection10Impl.cpp JLMDriver10Impl.cpp JLMSession10Impl.cpp JLMTask10Impl.cpp J
LMUtilImpl.cpp JLMWorkflow10Impl.cpp LogSegmentCallback.cpp Utility.cpp -L../lib
-lACE -lglobalcS -lpmdec -lpminfapi -lpmser -ltls4dshr -lpmasrt -lpmi18n -lpmIC
E -lpmlmapi -lpmuti -o ../lib/libJavaLMApi.a
thanks,
Naresh |