Snort mailing list archives

libdaq configure error in cross compiling


From: "elison.niven () gmail com" <elison.niven () gmail com>
Date: Fri, 9 Sep 2011 12:08:57 +0530

Hi,

I am trying to cross compile libdaq using arm-linux-gcc but configure fails

"checking for pcap_lib_version... checking for pcap_lib_version in
-lpcap... (cached) no

   ERROR!  Libpcap library version >= 1.0.0 not found.
   Get it from http://www.tcpdump.org";

I did download libpcap and followed these steps:
cd libpcap-1.1
./configure --prefix=/home/elison/arm_install --with-pcap=getad.c
--host=arm-linux
make FSRC=fad-getad.c PSRC=pcap-linux.c
make FSRC=fad-getad.c PSRC=pcap-linux.c install

I then have the pcap libraries for arm in /home/elison/arm_install.

Then I try to build libdaq :

cd daq-0.6.1
./configure --prefix=/home/elison/arm_install \
--with-libpcap-includes=/home/elison/arm_install/include \
--with-libpcap-libraries=/home/elison/arm_install/lib \
--host=arm-linux

It fails with
"checking for pcap_lib_version... checking for pcap_lib_version in
-lpcap... (cached) no

   ERROR!  Libpcap library version >= 1.0.0 not found.
   Get it from http://www.tcpdump.org";

What is possibly wrong ? I sense it's some bug with the ./configure script.
I can build snort from source for x86 and want to do it now for arm
but am stuck at libdaq.

Thanks,
Elison

------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!


Current thread: