Hi. Recently I updated my server to Ubuntu 12.04, and installed ntop-4.1.0
with "apt-get install ntop" from its default repository. Now I know that
the top_talker function has been removed from ntop. Because it is an
absolute needs for my job, therefore I tried to compile another version of
ntop myself.
I saw there is new version for ntop, which is 4.99.3, so I decided to try
that and see if the top_talker function is back. But I got error during
MAKE. Here is the error message part:
*********************************************************************************************************
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh ./missing --run echo)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/root/ntop-4.99.3+ndpi5517+dfsg3'
Making all in .
make[2]: Entering directory `/root/ntop-4.99.3+ndpi5517+dfsg3'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I/usr/local/include -I/usr/include/python2.7 -fno-strict-aliasing -DNDEBUG
-fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -I/opt/rrdtool-1.4.8//include -I
./nDPI/src/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 -fPIC -DPIC
-I/usr/local/include -I/usr/include/python2.7 -I/usr/include/python2.7
-fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -MT version.lo -MD -MP -MF .deps/version.Tpo -c -o
version.lo version.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-I/usr/include/python2.7 -fno-strict-aliasing -DNDEBUG -fwrapv -O2 -Wall
-Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -I/opt/rrdtool-1.4.8//include -I
./nDPI/src/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 -fPIC -DPIC
-I/usr/local/include -I/usr/include/python2.7 -I/usr/include/python2.7
-fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -MT version.lo -MD -MP -MF .deps/version.Tpo -c
version.c -fPIC -DPIC -o .libs/version.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I/usr/local/include
-I/usr/include/python2.7 -fno-strict-aliasing -DNDEBUG -fwrapv -O2 -Wall
-Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Wformat-security -Werror=format-security -I/opt/rrdtool-1.4.8//include -I
./nDPI/src/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 -fPIC -DPIC
-I/usr/local/include -I/usr/include/python2.7 -I/usr/include/python2.7
-fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
-Werror=format-security -MT version.lo -MD -MP -MF .deps/version.Tpo -c
version.c -o version.o >/dev/null 2>&1
mv -f .deps/version.Tpo .deps/version.Plo
make[2]: *** No rule to make target `ntop_darwin.lo', needed by `libntop.la'.
Stop.
make[2]: Leaving directory `/root/ntop-4.99.3+ndpi5517+dfsg3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ntop-4.99.3+ndpi5517+dfsg3'
make: *** [all] Error 2
*********************************************************************************************************
I looked around for this "ntop_darwin.lo", but still no clue. Any help is
much appreciated, Thanks!!
regards
Li
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev