<p dir="ltr">Try to install the pcap-devel package or the Ubuntu equivalent of it.</p>
<p dir="ltr">Best regards, <br>
Duarte</p>
<div class="gmail_quote">On 30 Jul 2013 03:34, "Brant Wells" <<a href="mailto:bwells@tfc.edu">bwells@tfc.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey Guys,<br>
<br>
I'm trying to compile Suricata 2.0 from git (last check out item is<br>
<br>
commit 4424f5a2313813579f96ec72e756e0<u></u>b58071c64b<br>
Author: Eric Leblond <<a href="mailto:eric@regit.org" target="_blank">eric@regit.org</a>><br>
Date:   Mon Jul 29 14:58:07 2013 +0200<br>
<br>
)<br>
<br>
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<br>
<br>
 $ ./configure --enable-nfqueue --enable-af-packet --enable-non-bundled-htp --with-libhtp-includes=/usr/<u></u>local/includes --with-htp-libraries=/usr/<u></u>local/lib<br>
<br>
I get the following error:<br>
<br>
source-pcap.o: In function `ReceivePcapThreadInit':<br>
/home/tech/Software/suricata/<u></u>src/source-pcap.c:402: undefined reference to `pcap_create'<br>
/home/tech/Software/suricata/<u></u>src/source-pcap.c:424: undefined reference to `pcap_set_snaplen'<br>
/home/tech/Software/suricata/<u></u>src/source-pcap.c:436: undefined reference to `pcap_set_promisc'<br>
/home/tech/Software/suricata/<u></u>src/source-pcap.c:445: undefined reference to `pcap_set_timeout'<br>
/home/tech/Software/suricata/<u></u>src/source-pcap.c:459: undefined reference to `pcap_set_buffer_size'<br>
/home/tech/Software/suricata/<u></u>src/source-pcap.c:471: undefined reference to `pcap_activate'<br>
source-pcap.o: In function `PcapTryReopen':<br>
/home/tech/Software/suricata/<u></u>src/source-pcap.c:169: undefined reference to `pcap_activate'<br>
collect2: ld returned 1 exit status<br>
make[3]: *** [suricata] Error 1<br>
make[3]: Leaving directory `/home/tech/Software/suricata/<u></u>src'<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory `/home/tech/Software/suricata/<u></u>src'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/tech/Software/suricata'<br>
make: *** [all] Error 2<br>
<br>
The only libraries that I have compiled from source are the un-bundled HTP libs... the rest are ubuntu packages.<br>
<br>
Any ideas?<br>
<br>
Thanks!<br>
~Brant<br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Suricata IDS Devel mailing list: <a href="mailto:oisf-devel@openinfosecfoundation.org" target="_blank">oisf-devel@<u></u>openinfosecfoundation.org</a><br>
Site: <a href="http://suricata-ids.org" target="_blank">http://suricata-ids.org</a> | Participate: <a href="http://suricata-ids.org/participate/" target="_blank">http://suricata-ids.org/<u></u>participate/</a><br>
List: <a href="https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel" target="_blank">https://lists.<u></u>openinfosecfoundation.org/<u></u>mailman/listinfo/oisf-devel</a><br>
Redmine: <a href="https://redmine.openinfosecfoundation.org/" target="_blank">https://redmine.<u></u>openinfosecfoundation.org/</a><br>
</blockquote></div>