[Snort-devel] pre-processor plugin recompile error

siddharth thakkar sjthakkar at ...398...
Sat Apr 24 23:36:00 EDT 2004


Hi All,

I'm trying to re-compile Snort 2.1.2 with my program
(Preprocessor) - I've followed the usual steps as
mentioned in the README.PLUGINS.  But when I try to
make, Here's the error I get referring to some file I
never disturbed, as far as I know.  Please help me
identify what that is for and how to solve it?
 
------------------------
make[3]: Entering directory
`/usr/src/redhat/SOURCES/snort-2.1.2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src
-I../src/sfutil -I/usr/include/pcap
-I../src/output-plugins -I../src/detection-plugins
-I../src/preprocessors -I../src/preprocessors/flow
-I../src/preprocessors/portscan 
-I../src/preprocessors/flow/int-snort 
-I../src/preprocessors/HttpInspect/include 
-I/usr/include/pcre -I/usr/include/mysql
-DENABLE_MYSQL  -g -O2 -Wall -c `test -f 'plugbase.c'
|| echo './'`plugbase.c
In file included from
../src/preprocessors/perf-base.h:32,
                 from ../src/preprocessors/perf.h:64,
                 from snort.h:33,
                 from plugbase.c:44:
../src/sfutil/mpse.h:85: error: syntax error before
numeric constant
../src/sfutil/mpse.h:86: error: `mpseSearch' declared
as function returning a function
../src/sfutil/mpse.h:87: error: syntax error before
"void"
make[3]: *** [plugbase.o] Error 1
make[3]: Leaving directory
`/usr/src/redhat/SOURCES/snort-2.1.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/src/redhat/SOURCES/snort-2.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/snort-2.1.2'
make: *** [all] Error 2

----------------------------


I'd appreciate any help to get me going.  

Thanks and regards,
~Siddharth Thakkar
Univ. of Southern California


	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash




More information about the Snort-devel mailing list