[Ntop] nTop 3.3.11-dev (and 3.3.10) make error

David Ziemba David.Ziemba at ColoradoCollege.edu
Mon Nov 16 18:13:44 CET 2009


Ubuntu Server 9.10, using stock kernel 2.6.31-14-generic-pae, and PF_RING
4.1 inserted as module, make and install PF_RING/userland.  I'm not sure
what is wrong, but I get the error with 3.3.11-dev and 3.3.10-stable.

The error during make:
gcc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include    -DLINUX
-I/usr/local/include -I/opt/local/include  -g -O2 -I/usr/local/include
-I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs
-I/home/nss/ntop.tmp/ntop/GeoIP-1.4.6/libGeoIP/ -MT ntop-main.o -MD -MP
-MF .deps/ntop-main.Tpo -c -o ntop-main.o `test -f 'main.c' || echo
'./'`main.c
mv -f .deps/ntop-main.Tpo .deps/ntop-main.Po
gcc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include    -DLINUX
-I/usr/local/include -I/opt/local/include  -g -O2 -I/usr/local/include
-I/opt/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs
-I/home/nss/ntop.tmp/ntop/GeoIP-1.4.6/libGeoIP/ -MT ntop-admin.o -MD -MP
-MF .deps/ntop-admin.Tpo -c -o ntop-admin.o `test -f 'admin.c' || echo
'./'`admin.c
mv -f .deps/ntop-admin.Tpo .deps/ntop-admin.Po
/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2
-I/usr/local/include -I/opt/local/include -Wshadow -Wpointer-arith
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-I/home/nss/ntop.tmp/ntop/GeoIP-1.4.6/libGeoIP/
-L/home/nss/ntop.tmp/ntop/GeoIP-1.4.6/libGeoIP/.libs/ -lGeoIP
-L/usr/local/lib -L/opt/local/lib -o ntop ntop-main.o ntop-admin.o
libntopreport.la libntop.la -lpthread -lcrypt -lc -lrrd_th -lgdbm -lz
-L/usr/local/lib -lpcap   
libtool: link: gcc -g -O2 -I/usr/local/include -I/opt/local/include
-Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -I/home/nss/ntop.tmp/ntop/GeoIP-1.4.6/libGeoIP/ -o
.libs/ntop ntop-main.o ntop-admin.o
-L/home/nss/ntop.tmp/ntop/GeoIP-1.4.6/libGeoIP/.libs/
/home/nss/ntop.tmp/ntop/GeoIP-1.4.6/libGeoIP/.libs//libGeoIP.so
-L/usr/local/lib -L/opt/local/lib ./.libs/libntopreport.so
./.libs/libntop.so -lpthread -lcrypt -lc /usr/lib/librrd_th.so
/usr/lib/libgdbm.so -lz -lpcap
./.libs/libntop.so: undefined reference to `pfring_recv'
./.libs/libntop.so: undefined reference to `pfring_close'
./.libs/libntop.so: undefined reference to `pfring_open'
./.libs/libntop.so: undefined reference to `pfring_set_application_name'
collect2: ld returned 1 exit status
make[2]: *** [ntop] Error 1
make[2]: Leaving directory `/home/nss/ntop.tmp/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nss/ntop.tmp/ntop'
make: *** [all] Error 2

lsmod:
Module                  Size  Used by
pf_ring                31416  0 
radeon                636576  0 
iptable_filter          3100  0 
ip_tables              11692  1 iptable_filter
ttm                    36308  1 radeon
x_tables               16544  1 ip_tables
drm                   160224  2 radeon,ttm
agpgart                35020  2 ttm,drm
i2c_algo_bit            5760  1 radeon
lp                      8964  0 
psmouse                56180  0 
parport                35340  1 lp
e752x_edac             13160  0 
dell_wmi                2564  0 
shpchp                 32336  0 
video                  19380  0 
serio_raw               5280  0 
edac_core              40176  1 e752x_edac
dcdbas                  7332  0 
output                  2780  1 video
e1000                 119744  0 
megaraid_mbox          30796  2 
megaraid_mm             9336  1 megaraid_mbox
floppy                 54980  0

Ethernet adapters:
03:0b.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet
Controller (rev 03)
        Subsystem: Intel Corporation Device 1179
--
03:0b.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet
Controller (rev 03)
        Subsystem: Intel Corporation Device 1179
--
06:07.0 Ethernet controller: Intel Corporation 82541GI Gigabit Ethernet
Controller (rev 05)
        Subsystem: Dell Device 016d
--
07:08.0 Ethernet controller: Intel Corporation 82541GI Gigabit Ethernet
Controller (rev 05)
        Subsystem: Dell Device 016d

ethtool:
driver: e1000
version: 7.3.21-k3-NAPI
firmware-version: N/A
bus-info: 0000:03:0b.0

cat /proc/net/pf_ring/info 
PF_RING Version     : 4.1.0 ($Revision: 3982 $)
Ring slots          : 4096
Slot version        : 10
Capture TX          : Yes [RX+TX]
IP Defragment       : No
Transparent mode    : No
Total rings         : 0
Total plugins       : 0



-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.zip
Type: application/x-zip-compressed
Size: 18477 bytes
Desc: config.log.zip
URL: <http://listgateway.unipi.it/pipermail/ntop/attachments/20091116/ff64f6a8/attachment-0001.bin>


More information about the Ntop mailing list