[Oisf-users] error while compile (make) suricata with pfring support

Chris Wakelin c.d.wakelin at reading.ac.uk
Sat May 5 10:08:53 UTC 2012


It looks like you're using the SVN version of PF_RING which changed
things a bit.

I got it to work with the attached patch, but we need to add some logic
to Suricata's configure to detect the new PF_RING version (I think
they're expecting to release the new version in the next couple of
weeks; I'm guessing it will be called 5.3.1 but might be 5.4.).

Best Wishes,
Chris

On 05/05/12 04:12, Novan Dwi C wrote:
> hello there..
> i want to build an IDS suricata with pfring support, but i hava this error
> i use pfring v5 and suricata downloaded from GIT...
> here is the error
> 
> source-pfring.c: In function ‘ReceivePfringThreadInit’:
> source-pfring.c:337:5: error: too many arguments to function ‘pfring_open’
> /usr/local/include/pfring.h:261:11: note: declared here
> source-pfring.c:312:11: warning: unused variable ‘tmpclusterid’
> make[2]: *** [source-pfring.o] Error 1
> make[2]: Leaving directory `/home/skripsi/Downloads/oisf/src'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/skripsi/Downloads/oisf/src'
> make: *** [install-recursive] Error 1
> 
> i dont know really what is this, i just configure it with ./configure
> --enable-pfring , and i continue with make then this error is appearing
> what can i do to fix it
> sorry if my english bad.. :p
> 
> 
> 
> _______________________________________________
> Oisf-users mailing list
> Oisf-users at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users


-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pf_ring-svn-hack.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-users/attachments/20120505/e77f56a9/attachment.bin>


More information about the Oisf-users mailing list