>> It looks that top-level aclocal.m4 needs to include AM_PROG_LIBTOOL.
>> (when I invoke "gmake" in top-level directory, it will invoke
>> "aclocal" and it complains that AM_PROG_LIBTOOL is missing).
>If you haven't yet installed "libtool", you will probably have to do so.
>(I tried "un-installing" it by temporarily moving the stuff that was
>installed elsewhere, and tried updating an Ethereal tree I had and
>re-running "autogen.sh", and got errors.)
>"libtool" is available from "ftp.gnu.org" and mirrors thereof, and there
>may also be packages for whatever OS you're using.
>Once you've installed it, re-run "autogen.sh".
Thanks I installed libtool 1.3.4. (1.3.3 did not work - rejected by
version check). The build still fails with the following. Not sure
this is problem with libtool, or problem on ethereal.
./configure --disable-shared did not solve my problem. it raises
other problem (plugins/gryphon/packet-gryphon.c actually defines
proto_init() twice).
itojun
% uname -a
NetBSD lychee.itojun.org 1.4.1 NetBSD 1.4.1 (LYCHEE.v6) #459: Mon Dec 27 12:00:46 JST 1999 itojun@xxxxxxxxxxxxxxxxx:/export/home/itojun/k/kame/netbsd/sys/arch/i386/compile/LYCHEE.v6 i386
% libtool --version
ltmain.sh (GNU libtool) 1.3.4 (1.385.2.196 1999/12/07 21:47:57)
% ./configure
(snip)
% gmake
(while linking ethereal)
libltdl/.libs/libltdlc.al(ltdl.lo): Definition of symbol `_lt_preloaded_symbols' (multiply defined)
libltdl/.libs/libltdlc.al(ltdl.lo): Size element definition of symbol `_lt_preloaded_symbols' (multiply defined)
.libs/etherealS.o: Definition of symbol `_lt_preloaded_symbols' (multiply defined)
collect2: ld returned 1 exit status
rm -f .libs/etherealS.o
% ./configure --disable-shared
(snip)
% gmake
(while linking ethereal)
proto.c:135: Definition of symbol `_proto_init' (multiply defined)
snmp_api.o: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp()
packet-gryphon.c:1519: Definition of symbol `_proto_init' (multiply defined)
collect2: ld returned 1 exit status
rm -f .libs/etherealS.o