Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Misc

Regarding PF_RING

 

 

NTop misc RSS feed   Index | Next | Previous | View Threaded


madhusudan.kr at firstmedia

Jul 6, 2010, 5:10 AM

Post #1 of 1 (342 views)
Permalink
Regarding PF_RING

Hi,

I am facing an issue with PF_RING compilation.

I have downloaded the latest PF_RING from the download link provided in the
page http://www.ntop.org/PF_RING.html

I could install it on CentOS (2.6.18-164.el5) with out any issue.

When I tried to install it on RHEL 5.0 (2.6.18-8.el5), I am facing a
compilation error as given below.

##################################################################
[root [at] localhos kernel]#
[root [at] localhos kernel]# make
svn: This client is too old to work with working copy '.'; please get a
newer Subversion client
make -C /lib/modules/2.6.18-8.el5/build
SUBDIRS=/home/Madhu/pfring/my_pf_ring_goes_here/kernel
EXTRA_CFLAGS='-I/home/Madhu/pfring/my_pf_ring_goes_here/kernel
-DSVN_REV="\"\""' modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-8.el5-x86_64'
CC [M] /home/Madhu/pfring/my_pf_ring_goes_here/kernel/pf_ring.o
/home/Madhu/pfring/my_pf_ring_goes_here/kernel/pf_ring.c: In function
‚ring_gather_frags‚:
/home/Madhu/pfring/my_pf_ring_goes_here/kernel/pf_ring.c:392: error:
implicit declaration of function ‚ip_hdr‚
/home/Madhu/pfring/my_pf_ring_goes_here/kernel/pf_ring.c:392: warning:
passing argument 1 of ‚ip_send_check‚ makes pointer from integer without a
cast
/home/Madhu/pfring/my_pf_ring_goes_here/kernel/pf_ring.c: In function
‚skb_ring_handler‚:
/home/Madhu/pfring/my_pf_ring_goes_here/kernel/pf_ring.c:2428: warning:
assignment makes pointer from integer without a cast
make[2]: *** [/home/Madhu/pfring/my_pf_ring_goes_here/kernel/pf_ring.o]
Error 1
make[1]: *** [_module_/home/Madhu/pfring/my_pf_ring_goes_here/kernel] Error
2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.el5-x86_64'
make: *** [all] Error 2
[root [at] localhos kernel]#

##################################################################

The first line after make command says that svn client is old. I get this
even on CentOS.
Hence I feel svn client version is not an ISSUE here.

The compiler is not able to find a definition for "ip_hdr" function.

Can you please help me in solving this error??


Regards,
Madhusudan

NTop misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.