Hello again. I found out why shared libs were not compiling with libtool on
my solaris box. This patch should fix things up. Could someone please look
check it out and (if it is ok) put it onto the CVS.
*** copy_ltconfig Fri Oct 30 02:21:41 1998
--- ltconfig Fri Oct 30 02:22:32 1998
***************
*** 542,546 ****
echo $ac_n "checking if $compiler PIC flag $pic_flag works... $ac_c" 1>&6
$rm conftest*
! echo > conftest.c
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $pic_flag -DPIC"
--- 542,546 ----
echo $ac_n "checking if $compiler PIC flag $pic_flag works... $ac_c" 1>&6
$rm conftest*
! echo 'main(){return(0);}' > conftest.c
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $pic_flag -DPIC"
I also ran into another strange little problem with libtool. I hope someone has
run into this before and the fix will be easy. Here is the error I get from
the make process.
(in the directory lib/libruntime)
/bin/sh ../../libtool --mode=link cc -g -xs -o libruntime.la -rpath
/tmp/mo/install_japhar/lib -version-info 1:0:0 ../../lib/zlib/libzlib.la abort.lo
alloc.lo arrays.lo array-class.lo class-repository.lo classpath.lo clparse.lo
exceptions.lo gc.lo getopt.lo getopt1.lo interploop.lo log.lo method.lo nativeglue.lo
objects.lo primitive-class.lo printf.lo resolve.lo sig.lo stubgc.lo thread.lo
zextract.lo -ldl -lposix4 -lpthread -lm
libtool: link: libtool library `libruntime.la' may not depend on uninstalled
libraries: ../../lib/zlib/libzlib.la
make: *** [libruntime.la] Error 1
Any ideas?
thanks much
Mo DeJong
dejong at cs.umn.edu