One line fix to libtool for ethereal
--- libtool.~001~ Wed Jun 13 10:47:14 2001
+++ libtool Wed Jun 13 10:47:14 2001
@@ -743,7 +743,7 @@
pic_mode=default
;;
esac
- if test $pic_mode = no && test "$deplibs_check_method" != pass_all;
then
+ if test x"$pic_mode" = xno && test "$deplibs_check_method" != pass_all;
then
# non-PIC code in shared libraries is not supported
pic_mode=default
fi
One line fix to libtool source
--- ltmain.in.~001~ Wed Jun 13 10:12:21 2001
+++ ltmain.in Wed Jun 13 10:28:07 2001
@@ -459,7 +459,7 @@
pic_mode=default
;;
esac
- if test $pic_mode = no && test "$deplibs_check_method" != pass_all;
then
+ if test x"$pic_mode" = xno && test "$deplibs_check_method" != pass_all;
then
# non-PIC code in shared libraries is not supported
pic_mode=default
fi
Regards,
Andrew Hood
A distributed system is one in which the failure of a computer you didn't
even know existed can render your own computer unusable. -- Leslie Lamport,
as quoted in CACM, June 1992
-----Original Message-----
From: Rich Kulawiec [mailto:rsk@xxxxxxx]
Sent: Wednesday, 13 June 2001 01:37
To: ethereal-dev@xxxxxxxxxxxx
Subject: [Ethereal-dev] Bug report: ethereal 0.8.18 complilation on
Solaris 7
Operating system and version: SunOS 5.7 Generic sun4m sparc
Ethereal version: 0.8.18
Gtk+ version: 1.2.8
Problem: Ethereal fails to compile. Problem appears to be in
the "plugins/gryphon" subdirectory, e.g.:
avatar:/usr/local/src/ethereal-0.8.18 1: make
make all-recursive
[...]
Making all in gryphon
make[3]: Entering directory
`/usr/local/src/ethereal-0.8.18/plugins/gryphon'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../.. -I/usr/local/include -I../.. -I../../wiretap -I../../epan
-I/usr/local/include -Wall -g -O2 -I../.. -I../../wiretap -I../../epan
-I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include
-I/usr/X11/include -c packet-gryphon.c
../../libtool: test: argument expected
make[3]: *** [packet-gryphon.lo] Error 1
make[3]: Leaving directory
`/usr/local/src/ethereal-0.8.18/plugins/gryphon'
make[2]: *** [all-recursive] Error 1
Additional information: "configure" was run as "./configure
--enable-randpkt".
GNU make, flex, and bison are installed and are being used.
Cheers,
---Rsk
Rich Kulawiec
rsk@xxxxxxx
_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev
<<application/ms-tnef>>