From: Jill N. <jbn...@ho...> - 2007-06-14 00:54:41
|
Kind of a long shot, but if anyone has hit this or can suggest ways to proceed i would be eternally grateful! I am setting up SWIG on Solaris 10 x86, using the /usr/sfw/bin gmake gcc and gld (version 3.4.3 of gcc). I am trying to run the Example/java/simple shipped with Swig and am getting an unsatisfied link error. Build commands: gcc -c example_wrap.c -I/usr/jdk/jdk1.5.0_01/include -I/usr/jdk/jdk1.5.0_01/include/solaris ld -G example_wrap.o -o libexample.so (or gld neither work) I am lazily setting the path in LD_LIBRARY_PATH and if i hose it, i get the 'no example in java.library.path error', so the path is being picked up. Using -verbose:jni i get: java.lang.UnsatisfiedLinkError: /usr/swig/swig-1.3.31/Examples/java/simple/libexample.so: ld.so.1: java: fatal: relocation error: file /usr/swig/swig-1.3.31/Examples/java/simple/libexample.so: symbol gcd: referenced symbol not found I'm pretty much at a loss...any clues on how to proceed greatly appreciated! Jill _________________________________________________________________ Hotmail to go? Get your Hotmail, news, sports and much more! http://mobile.msn.com |