Tanaka What version of pfring have you installed? Regards Luca
Sent from my iPhone (sorry for typos) On 07/set/2012, at 06:44, Tanaka Atsushi <[email protected]> wrote: > Hi. > > I'm getting this error when compiling nf-lite 6.9.7 in Ubuntu 11.10 & 12.04 > > Kernel ver : 3.0.0-12-server > > ----error output--------------------- > root@nProbe01:~/nprobe_6.9.7_071712_nflite/PF_RING/NFLite/userland# make > gcc -g -Wall -c -I /lib/modules/3.0.0-12-server/build/include -I ../kernel -I > /home/cy_admin/PF_RING/kernel -I /home/cy_admin/PF_RING/userland/lib > nflite_dump.c > In file included from > /lib/modules/3.0.0-12-server/build/include/linux/if_ether.h:24:0, > from /usr/include/net/ethernet.h:27, > from nflite_dump.c:36: > /lib/modules/3.0.0-12-server/build/include/linux/types.h:13:2: warning: > #warning "Attempt to use kernel headers from user space, see > http://kernelnewbies.org/KernelHeaders" [-Wcpp] > nflite_dump.c: In function ‘main’: > nflite_dump.c:423:19: error: ‘filtering_rule_core_fields’ has no member named > ‘port_low’ > nflite_dump.c:423:53: error: ‘filtering_rule_core_fields’ has no member named > ‘port_high’ > nflite_dump.c:423:35: warning: left-hand operand of comma expression has no > effect [-Wunused-value] > nflite_dump.c:429:21: error: ‘filtering_rule_core_fields’ has no member named > ‘port_low’ > nflite_dump.c:429:48: error: ‘filtering_rule_core_fields’ has no member named > ‘port_high’ > nflite_dump.c:446:5: warning: passing argument 2 of ‘pfring_recv’ from > incompatible pointer type [enabled by default] > /home/cy_admin/PF_RING/userland/lib/pfring.h:266:7: note: expected ‘u_char > **’ but argument is of type ‘char *’ > make: *** [nflite_dump.o] Error 1 > ------------------------------------- > > Any idea? > > Thanks for any suggestion. Regards > > -- > ━━━━━━━━━━━━━━━━━━━ > CyberAgetn,Inc. > Atsushi Tanaka <[email protected]> > ━━━━━━━━━━━━━━━━━━━ > Ameba by CyberAgent > http://www.cyberagent.info/ > _______________________________________________ > Ntop-misc mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop-misc _______________________________________________ Ntop-misc mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-misc
