
madhusudan.kr at firstmedia
Jul 6, 2010, 5:10 AM
Post #1 of 1
(289 views)
Permalink
|
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
|