Dear Yuri,
How to check on the pfring lib got install into my directory or
not? Because what I did I went into PR_RING-4.6.0/userland/lib then I run make
install command here. So what else command must I run?
From: [email protected]
Date: Mon, 7 Nov 2011 20:34:49 +0100
To: [email protected]
Subject: Re: [Ntop-misc] PF Ring Sample Program Problem.
Did you add the pfring lib install directory to your library path?
Y
Sent from my iPhone
Il giorno 07/nov/2011, alle ore 19:35, sukbir singh <[email protected]> ha
scritto:
Dear Yuri,
I went into userland/lib and run make install. So now I
compile and that error is gone but I get some new things as below.
/tmp/ccVSDSgn.o: In function `print_stats':
pftry1.c:(.text+0xed): undefined reference to `pfring_stats'
/tmp/ccVSDSgn.o: In function `add_rule':
pftry1.c:(.text+0x43f): undefined reference to `pfring_add_filtering_rule'
/tmp/ccVSDSgn.o: In function `sigproc':
pftry1.c:(.text+0x4ca): undefined reference to `pfring_close'
/tmp/ccVSDSgn.o: In function `packet_consumer_thread':
pftry1.c:(.text+0x11b3): undefined reference to `pthread_setaffinity_np'
pftry1.c:(.text+0x123e): undefined reference to `pfring_recv'
/tmp/ccVSDSgn.o: In function `main':
pftry1.c:(.text+0x1456): undefined reference to `pthread_rwlock_init'
pftry1.c:(.text+0x1486): undefined reference to `pfring_open'
pftry1.c:(.text+0x14a0): undefined reference to `pfring_open_dna'
pftry1.c:(.text+0x14db): undefined reference to `pfring_set_application_name'
pftry1.c:(.text+0x14f1): undefined reference to `pfring_version'
pftry1.c:(.text+0x152f): undefined reference to `pfring_get_num_rx_channels'
pftry1.c:(.text+0x157f): undefined reference to `pfring_set_cluster'
pftry1.c:(.text+0x15ad): undefined reference to `pfring_set_direction'
pftry1.c:(.text+0x1657): undefined reference to `pfring_enable_ring'
pftry1.c:(.text+0x168a): undefined reference to `pthread_create'
pftry1.c:(.text+0x16b6): undefined reference to `pfring_close'
collect2: ld returned 1 exit status
> From: [email protected]
> Date: Mon, 7 Nov 2011 19:30:14 +0100
> To: [email protected]
> Subject: Re: [Ntop-misc] PF Ring Sample Program Problem.
>
> pfring.h: No such file or directory
> This could be the issue
> Yuri
>
> Sent from my iPhone
>
> Il giorno 07/nov/2011, alle ore 19:04, sukbir singh <[email protected]> ha
> scritto:
>
> > pfring.h: No such file or directory
> _______________________________________________
> 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
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc