[Snort-devel] Error in MPSE.H while recompiling

siddharth thakkar sjthakkar at ...398...
Mon Apr 26 00:47:01 EDT 2004


Hi All,

I'm still not able to figure out this error.  

Please please let me know if anyone could help throw
some light on this.

Note that the error shows up in mpse.h file, which I
haven't disturbed at all!  

Error when "make"ing snort with my pre-preprocessor
plugin:
--------------------------------------------
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
------------------------------------


Please help earliest possible - my project's due very
soon :)  Sorry for posting it again, but I haven't yet
found the solution by myself.

Thanks in advance,
~Siddharth Thakkar


--- siddharth thakkar <sjthakkar at ...398...> wrote:
> 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
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by: The Robotic
> Monkeys at ThinkGeek
> For a limited time only, get FREE Ground shipping on
> all orders of $35
> or more. Hurry up and shop folks, this offer expires
> April 30th!
> http://www.thinkgeek.com/freeshipping/?cpg=12297
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/snort-devel



	
		
__________________________________
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