snort-users April 2009 archive
Main Archive Page > Month Archives  > snort-users archives
snort-users: [Snort-users] compiling so rules on redhat enterpri

[Snort-users] compiling so rules on redhat enterprise 3 -- snort 8.4.1

From: Russell Fulton <r.fulton_at_nospam>
Date: Tue Apr 28 2009 - 23:35:02 GMT
To: snort-users@lists.sourceforge.net


Firstly, is there somewhere where the process for compiling so rules is well documented? I've spent quite some time with google and turned up an old FAQ entry that was not very helpful and nothing much else.

What I have done is:

in the snort source dir -- create so_rules/. copy the so_rules from the VRT tarball into this directory cd to so_rules/src
type make

and I get:

[rful011@monitor-dmzo src]$ make ls: web-misc_*.c: No such file or directory ls: sql_*.c: No such file or directory ls: multimedia_*.c: No such file or directory cc1: unrecognized option `-Wno-strict-aliasing' make: *** [p2p_winny] Error 1

anyone have any idea what is going on?

I have googled on "-Wno-strict-aliasing" and turned up a few posts to various lists from people who had had this error in the context of gcc bugs.

In the end I simply removed the option from the CFLAGS and everything compiled.

Perhaps an issue with the version of gcc on RHE 3 ( The box is scheduled for an upgrade...)

Russell



Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf

Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users