Snort mailing list archives

Snort-Perl Plugin


From: "Josh Berry" <josh.berry () netschematics com>
Date: Wed, 14 Jan 2004 08:02:11 -0600 (CST)

I am having a problem getting Snort-2.0.6 to compile using the snort-perl
plugin patch.  I am running Redhat 8.0.

1) I copied the patch to the top level of the snort source and ran patch
-p0 < snort_perl.diff (the patch applied without any problems.
2) Then I ran aclocal, autoheader, automake, and autoconf.
3) After this I ran configure with ./configure --enable-perl --with-mysql.
 Configure worked fine.
4) When I run make I get this error at the end:

In file included from sp_perl.c:34:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/perl.h:2557:1: warning:
"DEBUG_H" redefined
In file included from sp_perl.c:24:
../../src/debug.h:22:1: warning: this is the location of the previous
definition
sp_perl.c: In function `SnortPerl':
sp_perl.c:159: warning: unused variable `srcip'
sp_perl.c:159: warning: unused variable `dstip'
sp_perl.c: In function `perl_regex':
sp_perl.c:182: `my_perl' undeclared (first use in this function)
sp_perl.c:182: (Each undeclared identifier is reported only once
sp_perl.c:182: for each function it appears in.)
sp_perl.c:184: warning: value computed is not used
make[3]: *** [sp_perl.o] Error 1
make[3]: Leaving directory `/root/snort206/snort-2.0.6/src/detection-plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/snort206/snort-2.0.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/snort206/snort-2.0.6'
make: *** [all] Error 2


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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


Current thread: