jni and static libgcj and friends? (Bug in libtool)
Martin Kahlert
martin.kahlert@infineon.com
Tue Mar 5 01:52:00 GMT 2002
Hi Jeff,
On Thu, Feb 28, 2002 at 11:04:09AM -0500, Jeff Sturm wrote:
> On 2002年2月28日, Martin Kahlert wrote:
> > /usr/bin/ksh ./libtool --tag=GCJ --mode=compile -prefer-pic
>> Something went wrong here. You might try installing the automake
> recommended in libjava/HACKING...
>> ftp://sources.redhat.com/pub/java/automake-gcj-1.4.tar.gz
>> ...or else give up and patch Makefile.in by hand.
Did that, but it did not work either.
Then i went into obj_titan/sparc-sun-solaris2.7/sparcv9/libjava
and invoked by hand
./libtool -prefer-pic --mode=compile
result:
libtool: unrecognized option `-prefer-pic'
Try `libtool --help' for more information.
The problem seems to be a bug in libtool.
The -prefer-pic option is not let through by the $arg checking code.
I added without much thought a
-prefer-pic)
;;
below the case
-dlopen (around line 556)
inside it, and it got further. I hope that will work now.
Thanks,
Martin.
--
The early bird catches the worm. If you want something else for
breakfast, get up later.
More information about the Java
mailing list