thank you.
hi :
##############################################################
Package numactl-devel-0.9.8-12.el5_6.x86_64 already installed and latest
version
Package numactl-devel-0.9.8-12.el5_6.i386 already installed and latest
version
Package numactl-0.9.8-12.el5_6.x86_64 already installed and latest
version
Package numactl-0.9.8-12.el5_6.i386 already installed and latest version
##############################################################
I think I have installed.I think the version is so low. So I decide to
install centOS 6.5 .
Now I use centOS 5.5 .
于2014年7月11日 1:17:56,Luca Deri写到:
Hi
you need to install the -dev (-devel) version of libnuma and then compile your
apps
Luca
On 10 Jul 2014, at 12:04, lx <[email protected]> wrote:
hi :
I'm a new one. I installed the pf_ring today.
##############################################################
Jul 10 15:32:25 localhost kernel: [PF_RING] Welcome to PF_RING 6.0.2
($Revision: 7872M$)
Jul 10 15:32:25 localhost kernel: (C) 2004-14 ntop.org
Jul 10 15:32:25 localhost kernel: [PF_RING] registered /proc/net/pf_ring/
Jul 10 15:32:25 localhost kernel: NET: Registered protocol family 27
Jul 10 15:32:25 localhost kernel: [PF_RING] Min # ring slots 4096
Jul 10 15:32:25 localhost kernel: [PF_RING] Slot version 15
Jul 10 15:32:25 localhost kernel: [PF_RING] Capture TX Yes [RX+TX]
Jul 10 15:32:25 localhost kernel: [PF_RING] Transparent Mode 0
Jul 10 15:32:25 localhost kernel: [PF_RING] IP Defragment No
Jul 10 15:32:25 localhost kernel: [PF_RING] Initialized correctly
##############################################################
I want to use the sample of pfcount, I make in path of
"/opt/lx/pf_ring/PF_RING/userland/examples".
The error emerges.
##############################################################
gcc -O2 -DHAVE_PF_RING -Wall -I../../kernel -I../../kernel/plugins
-I../lib -I../libpcap-1.1.1-ring -Ithird-party -D HAVE_ZERO -D
ENABLE_BPF -D HAVE_LIBNUMA -O2 pfcount.o ../libpcap-1.1.1-ring/libpcap.a
../lib/libpfring.a -lpthread ../libpcap-1.1.1-ring/libpcap.a -lnuma -lrt
-o pfcount
pfcount.o: In function `bind2node':
pfcount.c:(.text+0x2457): undefined reference to `numa_node_of_cpu'
pfcount.c:(.text+0x2477): undefined reference to `numa_parse_nodestring'
../lib/libpfring.a(pfring_mod_dna_cluster.o): In function
`pfring_mod_dna_cluster_get_selectable_fd':
pfring_mod_dna_cluster.c:(.text+0xb73): undefined reference to `eventfd'
../lib/libpfring.a(pfring_mod_zc_spsc.o): In function
`pfring_mod_zc_spsc_get_selectable_fd':
pfring_mod_zc_spsc.c:(.text+0x515): undefined reference to `eventfd'
../lib/libpfring.a(pfring_zc_cluster.o): In function
`pfring_zc_create_cluster':
pfring_zc_cluster.c:(.text+0x23e6): undefined reference to
`numa_parse_nodestring'
../lib/libpfring.a(pfring_zc_kvm.o): In function
`__pfring_zc_kvm_ivshmem_server_thread':
pfring_zc_kvm.c:(.text+0xb32): undefined reference to `eventfd'
collect2: ld returned 1 exit status
make: *** [pfcount] Error 1
##############################################################
But I think the lib of numa may be install.
##############################################################
Package numactl-devel-0.9.8-12.el5_6.x86_64 already installed and latest
version
Package numactl-devel-0.9.8-12.el5_6.i386 already installed and latest
version
Package numactl-0.9.8-12.el5_6.x86_64 already installed and latest version
Package numactl-0.9.8-12.el5_6.i386 already installed and latest version
##############################################################
So, how to fix it?
thank you.
_______________________________________________
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
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc