this is the sequence which i followed and were all successful but problem
exist

$ cd PF_RING/ make
$ cd PF_RING/kernel/ make
$ cd PF_RING/kernel/ sudo make install
$ cd PF_RING/ sudo insmod /media/IIT/project/PF_RING-5.4.5/kernel/pf_ring.ko
$ cd PF_RING/kernel/ cat /proc/net/pf_ring/info
Result:
PF_RING Version     : 5.4.5 ($Revision: exported$)
Ring slots          : 4096
Slot version        : 14
Capture TX          : Yes [RX+TX]
IP Defragment       : No
Socket Mode         : Standard
Transparent mode    : Yes (mode 0)
Total rings         : 0
Total plugins       : 0

$ cd PF_RING/userland/lib/ ./configure
$ cd PF_RING/userland/lib/ make
$ cd PF_RING/userland/lib/ sudo make install
$ cd PF_RING/userland/libpcap/ ./configure
$ cd PF_RING/userland/libpcap/ make
$ cd PF_RING/userland/libpcap/ sudo make install


On Sun, Sep 30, 2012 at 7:08 PM, ARUN PUSHKAR <[email protected]> wrote:

> I have done all of this and was successful but problem remains
>
> On Sun, Sep 30, 2012 at 7:00 PM, Alfredo Cardigliano <[email protected]
> > wrote:
>
>> Arun
>> please have a look at PF_RING/doc/UsersGuide.pdf
>> Anyway you have to run:
>>
>> $ cd PF_RING/kernel; make
>> $ cd PF_RING/userland/lib; ./configure; make
>> $ cd PF_RING/userland/libpcap; ./configure; make
>> $ cd PF_RING/userland/example; make
>>
>> Alfredo
>>
>> On Sep 30, 2012, at 3:17 PM, ARUN PUSHKAR <[email protected]> wrote:
>>
>> Thank you very much for replying. you have created some hope now as i was
>> struggling with this for last two days.
>> where to give this make command. in which directory. as you said i tried
>> it in example directory also but problem remains
>>
>> On Sun, Sep 30, 2012 at 6:36 PM, Alfredo Cardigliano <
>> [email protected]> wrote:
>>
>>> Arun
>>> please use the Makefile:
>>> $ make
>>>
>>> Alfredo
>>>
>>> On Sep 30, 2012, at 2:59 PM, ARUN PUSHKAR <[email protected]> wrote:
>>>
>>> i am trying to install pf_ring in my ubuntu12.04. i followed every step
>>> given in its user guide and was successfull to execute every step given in
>>> it. but moment i run the examples given in example directory i get
>>> following error:after executing # gcc pfcount.c -lpcap -lpthread
>>> any suggession why this is coming .
>>>
>>> /tmp/ccJEMuAO.o: In function print_stats': pfcount.c:(.text+0xe6):
>>> undefined reference topfring_stats'
>>> pfcount.c:(.text+0x307): undefined reference to pfring_format_numbers'
>>> pfcount.c:(.text+0x34e): undefined reference topfring_format_numbers'
>>> pfcount.c:(.text+0x3a4): undefined reference to pfring_format_numbers'
>>> pfcount.c:(.text+0x41f): undefined reference topfring_format_numbers'
>>> pfcount.c:(.text+0x556): undefined reference to pfring_format_numbers'
>>> /tmp/ccJEMuAO.o:pfcount.c:(.text+0x594): more undefined references 
>>> topfring_format_numbers'
>>> follow
>>> /tmp/ccJEMuAO.o: In function drop_packet_rule':
>>> pfcount.c:(.text+0x813): undefined reference to
>>> pfring_handle_hash_filtering_rule'
>>> pfcount.c:(.text+0x930): undefined reference to pfring_add_filtering_rule'
>>> /tmp/ccJEMuAO.o: In functionsigproc':
>>> pfcount.c:(.text+0xa03): undefined reference to pfring_close'
>>> /tmp/ccJEMuAO.o: In functiondummyProcesssPacket':
>>> pfcount.c:(.text+0xe17): undefined reference to pfring_parse_pkt'
>>> pfcount.c:(.text+0x1469): undefined reference topfring_parse_pkt'
>>> /tmp/ccJEMuAO.o: In function packet_consumer_thread':
>>> pfcount.c:(.text+0x18bb): undefined reference topfring_recv'
>>> /tmp/ccJEMuAO.o: In function main': pfcount.c:(.text+0x1c4d): undefined
>>> reference topfring_config'
>>> pfcount.c:(.text+0x1c99): undefined reference to pfring_open'
>>> pfcount.c:(.text+0x1cf8): undefined reference to
>>> pfring_set_application_name'
>>> pfcount.c:(.text+0x1d0d): undefined reference to pfring_version'
>>> pfcount.c:(.text+0x1d8e): undefined reference to
>>> pfring_get_bound_device_address'
>>> pfcount.c:(.text+0x1dd9): undefined reference to 
>>> pfring_get_bound_device_ifindex'
>>> pfcount.c:(.text+0x1e21): undefined reference to
>>> pfring_get_num_rx_channels'
>>> pfcount.c:(.text+0x1e68): undefined reference to pfring_set_bpf_filter'
>>> pfcount.c:(.text+0x1ecb): undefined reference topfring_set_cluster'
>>> pfcount.c:(.text+0x1ef9): undefined reference to pfring_set_direction'
>>> pfcount.c:(.text+0x1f12): undefined reference topfring_set_socket_mode'
>>> pfcount.c:(.text+0x1f59): undefined reference to pfring_set_poll_watermark'
>>> pfcount.c:(.text+0x1fa7): undefined reference to
>>> pfring_set_reflector_device'
>>> pfcount.c:(.text+0x1fed): undefined reference to pfring_enable_rss_rehash'
>>> pfcount.c:(.text+0x200b): undefined reference to
>>> pfring_set_poll_duration'
>>> pfcount.c:(.text+0x207d): undefined reference to pfring_enable_ring'
>>> pfcount.c:(.text+0x209a): undefined reference topfring_close'
>>> pfcount.c:(.text+0x2132): undefined reference to pfring_loop'
>>> pfcount.c:(.text+0x2157): undefined reference topfring_close'
>>> collect2: ld returned 1 exit status
>>>
>>>
>>> --
>>> Arun Pushkar
>>> 09043404301
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Arun Pushkar
>> 09043404301
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Arun Pushkar
> 09043404301
>
>


-- 
Arun Pushkar
09043404301
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to