Mailing List Archive

compile error with --enable-micro-ntop
CVS versions from May 9th and 7th fail to build with the --enable-micro-ntop
argument. Here's a little of the roadkill:

creating libntopreport.la
(cd .libs && rm -f libntopreport.la && ln -s ../libntopreport.la
libntopreport.la)
gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/root/ntop-current/gdchart0.9
4c -g -O2 -pipe -c main.c
/bin/sh ./libtool --mode=link gcc -g -O2 -pipe -o ntop main.o
libntopreport.la
libntop.la -lpthread -lresolv -lnsl -ldl -lcrypt -lm -lwrap -L/root/ntop-c
urrent/gdchart0.94c -lgdchart -L/root/ntop-current/gdchart0.94c/gd-1.8.3 -lg
d -L/root/ntop-current/gdchart0.94c/gd-1.8.3/libpng-1.0.8 -lpng -L/root/ntop
-current/gdchart0.94c/zlib-1.1.3 -lz
gcc -g -O2 -pipe -o .libs/ntop main.o
.libs/libntopreport.so -lcrypt -lm -lwrap -L/root/ntop-current/gdchart0.94c
-lgdchart -L/root/ntop-current/gdchart0.94c/gd-1.8.3 -lgd -L/root/ntop-curre
nt/gdchart0.94c/gd-1.8.3/libpng-1.0.8 -lpng -L/root/ntop-current/gdchart0.94
c/zlib-1.1.3 -lz -lpthread -lresolv -lnsl -ldl -lcrypt -lm -lwrap -lgdchart
-lgd -lpng -lz
.libs/libntop.so -L/usr/local/lib -lpcap -lgdbm -lpthread -lresolv -lnsl -ld
l -lcrypt -lm -lwrap -lgdchart -lgd -lpng -lz -lpthread -lresolv -lnsl -ldl
-lcrypt -lm -lwrap -L/root/ntop-current/gdchart0.94c -lgdchart -L/root/ntop-
current/gdchart0.94c/gd-1.8.3 -lgd -L/root/ntop-current/gdchart0.94c/gd-1.8.
3/libpng-1.0.8 -lpng -L/root/ntop-current/gdchart0.94c/zlib-1.1.3 -lz -Wl,--
rpath -Wl,/usr/local/lib
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libwrap.a(options.o): In
function `twist_option':
options.o(.text+0x836): undefined reference to `deny_severity'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libwrap.a(options.o): In
function `severity_option':
options.o(.text+0xa83): undefined reference to `allow_severity'
options.o(.text+0xa91): undefined reference to `deny_severity'
collect2: ld returned 1 exit status
make[2]: *** [ntop] Error 1
make[2]: Leaving directory `/root/ntop-current/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ntop-current/ntop'
make: *** [all-recursive-am] Error 2

--
Dan Colquhoun
Information Services
Open Text
519-888-7111 x2482