[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntop
Subject:    RE: [Ntop] nprobe build error
From:       "Burton Strauss" <Burton () ntopSupport ! com>
Date:       2006-03-17 23:08:07
Message-ID: 00a101c64a17$a8760d50$648ea8c0 () burtonstrauss ! local
[Download RAW message or body]

nProbe belongs in ntop-misc, not ntop.

Off the cuff, sounds like you need to install the libpcap devel package.

-----Burton 

-----Original Message-----
From: ntop-bounces@unipi.it [mailto:ntop-bounces@unipi.it] On Behalf Of
Terrence Martin
Sent: Friday, March 17, 2006 2:47 PM
To: ntop@Unipi.IT
Subject: [Ntop] nprobe build error

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:288
6: 
undefined reference to `pcap_next_ex'
nprobe-nprobe.o(.text+0x4ef2):/home/users/tmartin/nprobe/nProbe/nprobe.c:290
1: 
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
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic