
deri at ntop
May 2, 2012, 1:38 AM
Post #2 of 2
(280 views)
Permalink
|
Jim we updated PF_RING (in SVN) and thus you need to fetch the new nProbe from the same dir from which you have download your copy Luca On 04/30/2012 08:46 PM, Jim Greene wrote: > Hello, > Just purchased nprobe 6.9.3 and am having some issues compiling it. > This is on centos 6.2 x86_64 > Running: > ./autogen.sh > make > > I see the following: > > *** static library > /root/nprobe_6.9.3_032312_proplugins/nDPI/src/lib/.libs/libndpi.a is > not portable! > > *** Warning: Linking the shared library libnprobe.la > <http://libnprobe.la> against the non-libtool > *** objects systemId.o is not portable! > libtool: link: gcc -shared .libs/collect.o .libs/engine.o > .libs/export.o .libs/database.o .libs/fb.o .libs/globals.o > .libs/plugin.o .libs/template.o .libs/sflow_collect.o .libs/util.o > .libs/version.o systemId.o -L/usr/local/lib -L/opt/local/lib > -lresolv -ldl -lpthread -lpcap > /root/nprobe_6.9.3_032312_proplugins/nDPI/src/lib/.libs/libndpi.a > -Wl,-soname -Wl,libnprobe-6.9.3.so <http://libnprobe-6.9.3.so> -o > .libs/libnprobe-6.9.3.so <http://libnprobe-6.9.3.so> > libtool: link: (cd ".libs" && rm -f "libnprobe.so" && ln -s > "libnprobe-6.9.3.so <http://libnprobe-6.9.3.so>" "libnprobe.so") > libtool: link: ar cru .libs/libnprobe.a > /root/nprobe_6.9.3_032312_proplugins/nDPI/src/lib/.libs/libndpi.a > collect.o engine.o export.o database.o fb.o globals.o plugin.o > template.o sflow_collect.o util.o version.o > libtool: link: ranlib .libs/libnprobe.a > libtool: link: ( cd ".libs" && rm -f "libnprobe.la > <http://libnprobe.la>" && ln -s "../libnprobe.la > <http://libnprobe.la>" "libnprobe.la <http://libnprobe.la>" ) > gcc -DHAVE_CONFIG_H -I. -I. -I > /lib/modules/2.6.32-220.13.1.el6.x86_64/source/include > -I/usr/local/include -I > /root/nprobe_6.9.3_032312_proplugins/nDPI/src/include/ > -I/usr/local/include -I/opt/local/include -g -g -O2 > -I/usr/local/include -I/opt/local/include -MT nprobe-nprobe.o -MD -MP > -MF .deps/nprobe-nprobe.Tpo -c -o nprobe-nprobe.o `test -f 'nprobe.c' > || echo './'`nprobe.c > In file included from nprobe.c:63: > pro/pf_ring.c: In function 'open_ring': > pro/pf_ring.c:194: error: 'PF_RING_REENTRANT' undeclared (first use in > this function) > pro/pf_ring.c:194: error: (Each undeclared identifier is reported only > once > pro/pf_ring.c:194: error: for each function it appears in.) > pro/pf_ring.c:195: error: 'PF_RING_PROMISC' undeclared (first use in > this function) > pro/pf_ring.c:196: error: 'PF_RING_LONG_HEADER' undeclared (first use > in this function) > pro/pf_ring.c:198: error: too few arguments to function 'pfring_open' > make[2]: *** [nprobe-nprobe.o] Error 1 > make[2]: Leaving directory `/root/nprobe_6.9.3_032312_proplugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/nprobe_6.9.3_032312_proplugins' > make: *** [all] Error 2 > > Searching didn't turn up any help here. Thanks > > Jim > > > _______________________________________________ > Ntop-misc mailing list > Ntop-misc [at] listgateway > http://listgateway.unipi.it/mailman/listinfo/ntop-misc
|