Hi, <br>did you follow the guide here:<br><a href="https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Installation_from_GIT_with_PF_RING_on_Ubuntu_server_1204">https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Installation_from_GIT_with_PF_RING_on_Ubuntu_server_1204</a><br>
<br>and i meant pointing to the pfring libraries/includes:<br>./configure --enable-pfring --with-libpfring-includes=/usr/local/pfring/include \<br>--with-libpfring-libraries=/usr/local/pfring/lib --with-libpcap-includes=/usr/local/pfring/include \<br>
--with-libpcap-libraries=/usr/local/pfring/lib<br><br><br><br>thank you<br><br><br><div class="gmail_quote">On Wed, Sep 26, 2012 at 7:32 PM, Peter Manev <span dir="ltr"><<a href="mailto:petermanev@gmail.com" target="_blank">petermanev@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br><br>did you try to pass the libraries to configure? ..."with pfring lib" =....<br>thanks<br><br><div class="gmail_quote">
<div><div class="h5">On Wed, Sep 26, 2012 at 7:29 PM, NetDoctor <span dir="ltr"><<a href="mailto:csyimkor@gmail.com" target="_blank">csyimkor@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div link="blue" vlink="purple" lang="KO"><div><p class="MsoNormal"><span lang="EN-US">Hello, <u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">When I configure with –enable-pfring, I get the following error:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">-----------------------------------------------<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif"" lang="EN-US">checking for pfring_open in -lpfring... no<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif"" lang="EN-US"><u></u> <u></u></span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial","sans-serif"" lang="EN-US">   ERROR! --enable-pfring was passed but the library was not found or version is >4, go get it<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I checked the config.log file.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">-----------------------------------------------<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">configure:15253: checking for pfring_open in -lpfring<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">configure:15278: /buildroot-2012.08/output/host/usr/bin/i686-unknown-linux-uclibc-gcc --sysroot=/buildroot-2012.08/output/staging -o conftest  -DRELEASE -Wextra -Wall -fno-strict-aliasing -fno-tree-pre -Wno-unused-parameter -std=gnu99 -march=native -DNFQ -DHAVE_LIBNET11 -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DHAVE_LIBNET_ICMPV6_UNREACH -DHAVE_PFRING  -I/buildroot-2012.08/output/staging/usr/include  -L/buildroot-2012.08/output/staging/usr/lib conftest.c -lpfring -lpcap -lnet -lnetfilter_queue -lnfnetlink -lpthread -lyaml -lpcre  >&5/buildroot-2012.08/output/staging/usr/lib/libnet.so: warning: gethostbyaddr is obsolescent, use getaddrinfo() instead./buildroot-2012.08/output/staging/usr/lib/libpcap.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">/buildroot-2012.08/output/staging/usr/lib/libpfring.so: undefined reference to `__fprintf_chk'/buildroot-2012.08/output/staging/usr/lib/libpfring.so: undefined reference to `__printf_chk'/buildroot-2012.08/output/staging/usr/lib/libpfring.so: undefined reference to `__snprintf_chk'/buildroot-2012.08/output/staging/usr/lib/libpfring.so: undefined reference to `__sprintf_chk'collect2: ld returned 1 exit statusconfigure:15278: $? = 1<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I use PF-RING 5.4.6 version.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I don’t know what I do and what the error messages mean.<u></u><u></u></span></p>

<p class="MsoNormal"><span lang="EN-US">Please let me know how to fix it.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks<u></u><u></u></span></p>

</div></div><br></div></div>_______________________________________________<br>
Oisf-devel mailing list<br>
<a href="mailto:Oisf-devel@openinfosecfoundation.org" target="_blank">Oisf-devel@openinfosecfoundation.org</a><br>
<a href="https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel" target="_blank">https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-devel</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote>
</div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div>
Regards,</div>
<div>Peter Manev</div><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div>Regards,</div>
<div>Peter Manev</div><br>