[prev in list] [next in list] [prev in thread] [next in thread]
List: oisf-discussion
Subject: Re: [Discussion] suricata with pfring clock_gettime error
From: modversion <modversion () gmail ! com>
Date: 2013-12-06 6:39:22
Message-ID: CALXo+ww5hnUuMVGMPTaoAQ7uAN4vujvMVXiM2LytR8kpyC6e+A () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
It works!
Thank you very much,Eric.
2013/11/27 Eric Leblond <eric@regit.org>
> On Tue, 2013-11-26 at 09:12 +0800, modversion wrote:
> > All headers and libs was installed to /usr/local/include
> > and /usr/local/lib ,and I've point the path to them.
> > --with-libpfring-includes=/
> >
> > usr/local/include/ --with-libpfring-libraries=/usr/local/lib/
> > --with-libpcap-includes=/usr/local/include/
> > --with-libpcap-libraries=/usr/local/lib
> >
> >
> > Would you like to tell me what shall I do ?
>
> This is a a configuration change in recent pf_ring. You can fix the
> build by adding LIBs="-lrt" at start of your configure call:
>
> LIBS="-lrt" ./configure
>
> BR,
>
> >
> > Thank you !
> >
> >
> >
> >
> >
> > 2013/11/26 Charlie Jr. <cdevoe57@nycap.rr.com>
> > You need to move the headers and libraries or change the path
> > so they the point to them.
> >
> >
> >
> > From: discussion-bounces@lists.openinfosecfoundation.org
> > [mailto:discussion-bounces@lists.openinfosecfoundation.org] On
> > Behalf Of modversion
> > Sent: Monday, November 25, 2013 7:51 PM
> > To: discussion@lists.openinfosecfoundation.org
> > Subject: [Discussion] suricata with pfring clock_gettime error
> >
> >
> >
> > I checked out pfring from svn,compiled the lib and libpcap
> > with ./configure ; make ; make install .All files were install
> > to /usr/local/.
> >
> >
> > Then I compiled suricata-2.0beta1 with ./configure
> > --enable-pfring --with-libpfring-includes=/usr/local/include/
> > --with-libpfring-libraries=/usr/local/lib/
> > --with-libpcap-includes=/usr/local/include/
> > --with-libpcap-libraries=/usr/local/lib ,but it returns "
> > ERROR! --enable-pfring was passed but the library was not
> > found or version is >4, go get it
> > from http://www.ntop.org/PF_RING.html"
> >
> >
> > I grep the pfring from config.log, it returns
> > "/usr/local/lib//libpfring.so: undefined reference to
> > `clock_gettime'"
> >
> >
> > I've compiled the userland example and it seems works fine.
> > [root@localhost examples]# ./alldevs
> > 1. dna0 (PF_RING DNA)
> > 2. em1 (PF_RING)
> > 3. usbmon1 (USB bus number 1)
> > 4. em2 (PF_RING)
> >
> >
> > I did all in centos 6.4 x86_64 os.
> >
> >
> > How can I fix it ?Thank you !
> >
> >
> >
> >
> > _______________________________________________
> > Discussion mailing list
> > Discussion@lists.openinfosecfoundation.org
> > https://lists.openinfosecfoundation.org/mailman/listinfo/discussion
>
> --
> Eric Leblond <eric@regit.org>
>
>
[Attachment #5 (text/html)]
<div dir="ltr"><div>It works!<br></div>Thank you very much,Eric.<br></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">2013/11/27 Eric Leblond <span \
dir="ltr"><<a href="mailto:eric@regit.org" \
target="_blank">eric@regit.org</a>></span><br> <blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div \
class="im">On Tue, 2013-11-26 at 09:12 +0800, modversion wrote:<br> > All headers \
and libs was installed to /usr/local/include<br> > and /usr/local/lib ,and \
I've point the path to them.<br> > --with-libpfring-includes=/<br>
><br>
> usr/local/include/ --with-libpfring-libraries=/usr/local/lib/<br>
> --with-libpcap-includes=/usr/local/include/<br>
> --with-libpcap-libraries=/usr/local/lib<br>
><br>
><br>
> Would you like to tell me what shall I do ?<br>
<br>
</div>This is a a configuration change in recent pf_ring. You can fix the<br>
build by adding LIBs="-lrt" at start of your configure call:<br>
<br>
LIBS="-lrt" ./configure<br>
<br>
BR,<br>
<div><div class="h5"><br>
><br>
> Thank you !<br>
><br>
><br>
><br>
><br>
><br>
> 2013/11/26 Charlie Jr. <<a \
href="mailto:cdevoe57@nycap.rr.com">cdevoe57@nycap.rr.com</a>><br> > \
You need to move the headers and libraries or change the path<br> > so \
they the point to them.<br> ><br>
><br>
><br>
> From: <a \
href="mailto:discussion-bounces@lists.openinfosecfoundation.org">discussion-bounces@lists.openinfosecfoundation.org</a><br>
> [mailto:<a \
href="mailto:discussion-bounces@lists.openinfosecfoundation.org">discussion-bounces@lists.openinfosecfoundation.org</a>] \
On<br> > Behalf Of modversion<br>
> Sent: Monday, November 25, 2013 7:51 PM<br>
> To: <a href="mailto:discussion@lists.openinfosecfoundation.org">discussion@lists.openinfosecfoundation.org</a><br>
> Subject: [Discussion] suricata with pfring clock_gettime error<br>
><br>
><br>
><br>
> I checked out pfring from svn,compiled the lib and libpcap<br>
> with ./configure ; make ; make install .All files were install<br>
> to /usr/local/.<br>
><br>
><br>
> Then I compiled suricata-2.0beta1 with ./configure<br>
> --enable-pfring --with-libpfring-includes=/usr/local/include/<br>
> --with-libpfring-libraries=/usr/local/lib/<br>
> --with-libpcap-includes=/usr/local/include/<br>
> --with-libpcap-libraries=/usr/local/lib ,but it returns "<br>
> ERROR! --enable-pfring was passed but the library was not<br>
> found or version is >4, go get it<br>
> from <a href="http://www.ntop.org/PF_RING.html" \
target="_blank">http://www.ntop.org/PF_RING.html</a>"<br> ><br>
><br>
> I grep the pfring from config.log, it returns<br>
> "/usr/local/lib//libpfring.so: undefined reference to<br>
> `clock_gettime'"<br>
><br>
><br>
> I've compiled the userland example and it seems works fine.<br>
> [root@localhost examples]# ./alldevs<br>
> 1. dna0 (PF_RING DNA)<br>
> 2. em1 (PF_RING)<br>
> 3. usbmon1 (USB bus number 1)<br>
> 4. em2 (PF_RING)<br>
><br>
><br>
> I did all in centos 6.4 x86_64 os.<br>
><br>
><br>
> How can I fix it ?Thank you !<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Discussion mailing list<br>
> <a href="mailto:Discussion@lists.openinfosecfoundation.org">Discussion@lists.openinfosecfoundation.org</a><br>
> <a href="https://lists.openinfosecfoundation.org/mailman/listinfo/discussion" \
target="_blank">https://lists.openinfosecfoundation.org/mailman/listinfo/discussion</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Leblond <<a href="mailto:eric@regit.org">eric@regit.org</a>><br>
<br>
</font></span></blockquote></div><br></div>
_______________________________________________
Discussion mailing list
Discussion@lists.openinfosecfoundation.org
https://lists.openinfosecfoundation.org/mailman/listinfo/discussion
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic