[Oisf-devel] PCAP error when compiling
Brant Wells
bwells at tfc.edu
Tue Jul 30 02:34:40 UTC 2013
Hey Guys,
I'm trying to compile Suricata 2.0 from git (last check out item is
commit 4424f5a2313813579f96ec72e756e0b58071c64b
Author: Eric Leblond <eric at regit.org>
Date: Mon Jul 29 14:58:07 2013 +0200
)
I'm running on a Ubuntu 12.0.4.2 LTS that has been upgraded from
11.0.4... After running the autogen.sh and
$ ./configure --enable-nfqueue --enable-af-packet
--enable-non-bundled-htp --with-libhtp-includes=/usr/local/includes
--with-htp-libraries=/usr/local/lib
I get the following error:
source-pcap.o: In function `ReceivePcapThreadInit':
/home/tech/Software/suricata/src/source-pcap.c:402: undefined reference
to `pcap_create'
/home/tech/Software/suricata/src/source-pcap.c:424: undefined reference
to `pcap_set_snaplen'
/home/tech/Software/suricata/src/source-pcap.c:436: undefined reference
to `pcap_set_promisc'
/home/tech/Software/suricata/src/source-pcap.c:445: undefined reference
to `pcap_set_timeout'
/home/tech/Software/suricata/src/source-pcap.c:459: undefined reference
to `pcap_set_buffer_size'
/home/tech/Software/suricata/src/source-pcap.c:471: undefined reference
to `pcap_activate'
source-pcap.o: In function `PcapTryReopen':
/home/tech/Software/suricata/src/source-pcap.c:169: undefined reference
to `pcap_activate'
collect2: ld returned 1 exit status
make[3]: *** [suricata] Error 1
make[3]: Leaving directory `/home/tech/Software/suricata/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/tech/Software/suricata/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tech/Software/suricata'
make: *** [all] Error 2
The only libraries that I have compiled from source are the un-bundled
HTP libs... the rest are ubuntu packages.
Any ideas?
Thanks!
~Brant
More information about the Oisf-devel
mailing list