Not sure if this is the right place to send this. I am getting the following build error when trying to build nprobe v4.0.

Platform is RHEL3 (and RHEL4, I get the same error). I have libpcap installed but perhaps the wrong version?

Terrence


/bin/sh ./libtool --mode=link --tag=CC gcc -g -O2 -pipe -g -O2 -pipe -o libnprobe.la -rpath /usr/local/lib -release 4.0 -export-dynamic engine.lo getopt1.lo getopt.lo nprobe.lo plugin.lo util.lo version.lo -lresolv -ldl -lpthread -lz -lpcap gcc -shared .libs/engine.o .libs/getopt1.o .libs/getopt.o .libs/nprobe.o .libs/plugin.o .libs/util.o .libs/version.o -lresolv -ldl -lpthread -lz -lpcap -Wl,-soname -Wl,libnprobe-4.0.so -o .libs/libnprobe-4.0.so
(cd .libs && rm -f libnprobe.so && ln -s libnprobe-4.0.so libnprobe.so)
ar cru .libs/libnprobe.a engine.o getopt1.o getopt.o nprobe.o plugin.o util.o version.o
ranlib .libs/libnprobe.a
creating libnprobe.la
(cd .libs && rm -f libnprobe.la && ln -s ../libnprobe.la libnprobe.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -pipe -MT nprobe-nprobe.o -MD -MP -MF ".deps/nprobe-nprobe.Tpo" -c -o nprobe-nprobe.o `test -f 'nprobe.c' || echo './'`nprobe.c; \ then mv -f ".deps/nprobe-nprobe.Tpo" ".deps/nprobe-nprobe.Po"; else rm -f ".deps/nprobe-nprobe.Tpo"; exit 1; fi /bin/sh ./libtool --mode=link --tag=CC gcc -g -O2 -pipe -g -O2 -pipe -o nprobe nprobe-nprobe.o libnprobe.la -lresolv -ldl -lpthread -lz -lpcap gcc -g -O2 -pipe -g -O2 -pipe -o .libs/nprobe nprobe-nprobe.o ./.libs/libnprobe.so -lresolv -ldl -lpthread -lz -lpcap -Wl,--rpath -Wl,/usr/local/lib
nprobe-nprobe.o(.text+0x4d48): In function `fetchPackets':
/home/users/tmartin/nprobe/nProbe/nprobe.c:2874: undefined reference to `pcap_next_ex' nprobe-nprobe.o(.text+0x4e83):/home/users/tmartin/nprobe/nProbe/nprobe.c:2886: undefined reference to `pcap_next_ex' nprobe-nprobe.o(.text+0x4ef2):/home/users/tmartin/nprobe/nProbe/nprobe.c:2901: undefined reference to `pcap_next_ex'
collect2: ld returned 1 exit status
make[2]: *** [nprobe] Error 1
make[2]: Leaving directory `/home/users/tmartin/nprobe/nProbe'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/tmartin/nprobe/nProbe'
make: *** [all] Error 2

_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to