Snort mailing list archives

Re: installing libpcap-0.9.20060417 (linux kernel ring buffer)


From: "Randal T. Rioux" <randy () procyonlabs com>
Date: Tue, 23 Jun 2009 00:59:08 -0400

Randal T. Rioux wrote:
Russell Fulton wrote:
I know I have been here before but I can't for the life of me remember  
which incantation solves this one:

RHE 5.

make dies with

./pcap-ring.h:44:29: error: asm/cpufeature.h: No such file or directory

I have googled the error and all the results I got were on chinese  
linux forums!
yum whatprovides suggest kernel-devel -- installed that and I still  
get the error.

Any ideas?

On my CentOS 5.3 box I get this:

[root@pluto ~]# find /usr -name cpufeature.h
/usr/share/syslinux/com32/include/cpufeature.h
/usr/include/asm/cpufeature.h
/usr/include/asm-x86_64/cpufeature.h
/usr/src/kernels/2.6.18-128.el5-x86_64/include/asm-i386/cpufeature.h
/usr/src/kernels/2.6.18-128.el5-x86_64/include/asm-x86_64/cpufeature.h
/usr/src/kernels/2.6.18-128.1.14.el5-x86_64/include/asm-i386/cpufeature.h
/usr/src/kernels/2.6.18-128.1.14.el5-x86_64/include/asm-x86_64/cpufeature.h

I believe it is included in the kernel-devel package. I haven't tried 
compiling libpcap on RHEL/CentOS yet, but it is also possible you need 
to tell it where to look for includes during ./configure.

I just downloaded and successfully compiled libpcap-1.0.0 (do you need 
the older version for some reason?). All went fine without having to add 
anything to ./configure. Can you try with this version and let me know 
if you get the same problem?

Randy

PS to all: Why is it whenever I post to the list I get the same message 
back bcc'd to saporte () snecma fr?

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: