Hi,<br><br>did you try to pass the libraries to configure? ..."with pfring lib" =....<br>thanks<br><br><div class="gmail_quote">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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>_______________________________________________<br>
Oisf-devel mailing list<br>
<a href="mailto:Oisf-devel@openinfosecfoundation.org">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><br></blockquote></div><br><br clear="all"><br>-- <br><div>
Regards,</div>
<div>Peter Manev</div><br>