[Snort-users] Snort-Perl Plugin

Josh Berry josh.berry at ...10221...
Wed Jan 14 05:55:02 EST 2004


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




More information about the Snort-users mailing list