As a follow up to my previous email, I have updated and rebuilt the newest
pf_ring from svn and now am seeing less errors, and more of what I expect. I
have also updated to the nprobe_5.5.1_030110_pro.
During ./configure, I now see pf_ring support.
--snip--
checking Native PF_RING support... yes
checking for pfring_open in -lpfring... yes
checking for LBL Packet Capture Library (required package)... found in
/usr/local
checking for pcap_next_ex in -lpcap... yes
--snip--
I'm still seeing some issues with make, if anyone has seen these please let me
know, I'm probably in need of a fresh set of eyes at this point.
This is your nprobe 5.5.1 configuration:
Host System Type : x86_64-redhat-linux-gnu
Compiler (cflags) : gcc -g -O2 -pipe -I/usr/local/include -I/opt/local/include
-DHAVE_CONFIG_H
Include path : -I /lib/modules/2.6.18-164.el5/source/include
-I/usr/local/include
System Libs : -L/usr/local/lib -L/opt/local/lib -lpfring -lresolv -ldl
-lpthread -lsqlite3
Core Libs : -L/usr/local/lib -lpcap
Additional Libs :
LBL pcap in : /usr/local
Install path : /usr/local
Now type 'make' or 'gmake' (GNU make) on *BSD and Solaris
systems to build .
[r...@nprobe10host nprobe_5.5.1_030110_pro]# make
cd . && /bin/sh /root/nprobe_5.5.1_030110_pro/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/root/nprobe_5.5.1_030110_pro'
Making all in .
make[2]: Entering directory `/root/nprobe_5.5.1_030110_pro'
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-I. -I /lib/modules/2.6.18-164.el5/source/include -I/usr/local/include
-I/usr/local/include -I/opt/local/include -g -O2 -pipe -I/usr/local/include
-I/opt/local/include -g -O2 -pipe -I/usr/local/include -I/opt/local/include -MT
collect.lo -MD -MP -MF ".deps/collect.Tpo" -c -o collect.lo collect.c; \
then mv -f ".deps/collect.Tpo" ".deps/collect.Plo"; else rm -f
".deps/collect.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I
/lib/modules/2.6.18-164.el5/source/include -I/usr/local/include
-I/usr/local/include -I/opt/local/include -g -O2 -pipe -I/usr/local/include
-I/opt/local/include -g -O2 -pipe -I/usr/local/include -I/opt/local/include -MT
collect.lo -MD -MP -MF .deps/collect.Tpo -c collect.c -fPIC -DPIC -o
.libs/collect.o
In file included from collect.c:23:
nprobe.h:1219: error: expected specifier-qualifier-list before 'pfring'
make[2]: *** [collect.lo] Error 1
make[2]: Leaving directory `/root/nprobe_5.5.1_030110_pro'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nprobe_5.5.1_030110_pro'
make: *** [all] Error 2
I'm not a very good programmer (or really a programmer at all) but it looks to
me like maybe 'pfring' either isn't defined anywhere or the compiler doesn't
know what the structure means. I *think* I have all of the pf_ring components
in place, it loaded in the kernel as a module and the pro/pf_ring.c is
available.
As I stated before, my environment is CentOS 5.4 2.6.18-164.el5 #1 SMP Thu Sep
3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
As always, any insight would be greatly appreciated.
nb
---
Nick Buraglio
Network Engineer, CITES, University of Illinois
GPG key 0x2E5B44F4
Phone: 217.244.6428
[email protected]
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc