Ethereal-users: [Ethereal-users] more (solved) problems when building ethereal-0.8.18
libtool has three uninitialized variables which cause the building of
plugins/gryphon to bomb with 'test: argument expected' errors.
One need only add three lines in libtool just after the 'ltmain' comment
header:
pic_mode='no'
hardcode_into_libs='no'
build_libtool_need_lc='no'
there's still one more (unsolved) problem in libtool: it changes a reference
to -lsnmp in the ethereal makefile to /usr/local/lib/.libs/libsnmp.so ..
rm -f .libs/etherealS.c .libs/ethereal.nm .libs/ethereal.nmS .libs/ethereal.nmT
gcc -Wall -g -O2 -I. -I./wiretap -I./epan -I/usr/local/include -I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/openwin/include -o .libs/ethereal packet-aarp.o
.
.
.
epan/dfilter/libdfilter.a /usr/local/lib/.libs/libsnmp.so -lkstat -lpcap -L/usr/openwin/lib -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl -lXext -lX11 -lsocket -lnsl -lm -ldl -ldl -lXext -lX11 -lsocket -lnsl -lm -lpcap /usr/local/lib/libgtk.so -ldl -lXext -lX11 -lsocket -lnsl -lm /usr/local/lib/libgdk.so -ldl -lXext -lX11 -lsocket -lnsl -lm /usr/local/lib/libgmodule.so -ldl /usr/local/lib/libglib.so -ldl -lXext -lX11 -lsocket -lnsl -lm -lz -R/usr/local/lib/ethereal/plugins/0.8.18 -R/usr/local/lib -R/usr/openwin/lib
gcc: /usr/local/lib/.libs/libsnmp.so: No such file or directory
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/export/home/csylvain/ethereal-0.8.18'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/csylvain/ethereal-0.8.18'
make: *** [all-recursive-am] Error 2
- so close, and yet no compile (yet!)