[Snort-devel] snort-2.8.3.2 make fails

Steven Sturges steve.sturges at ...402...
Wed Jan 21 14:46:10 EST 2009


Thanks for the report.

The ruleperf configure option has been hardened in the 2.8.4
code base because it provides a significant performance
improvement.  Curious as to why you would choose to turn that
off?

Anyway, attached is a patch to address it for those that
wish to disable the configure option.

Cheers.
-steve

Jason Wallace wrote:
> Hi,
> 
> It appears that if you configure snort-2.8.3.2 with the following
> 
> `./configure --disable-ruleperf`
> 
> Make fails with the following error...
> 
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I../src/sfutil
> -I/usr/include/pcap -I../src/output-plugins -I../src/detection-plugins
> -I../src/dynamic-plugins -I../src/preprocessors -I../src/preprocessors/flow
> -I../src/preprocessors/portscan  -I../src/preprocessors/flow/int-snort
> -I../src/preprocessors/HttpInspect/include -I../src/preprocessors/Stream5
> -I../src/target-based    -g -O2 -Wall -DDYNAMIC_PLUGIN -c fpdetect.c
> fpdetect.c: In function `fpEvalRTNSW':
> fpdetect.c:988: error: too few arguments to function
> make[3]: *** [fpdetect.o] Error 1
> make[3]: Leaving directory `/usr/local/src/snort-2.8.3.2/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/snort-2.8.3.2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/snort-2.8.3.2'
> make: *** [all] Error 2
> 
> Configuring using --enable-ruleperf appears to compile correctly.
> 
> I have tried this with a number of different --with/without --enable/disable
> options with the same results.
> 
> Can anyone else confirm this?
> 
> Wally

-------------- next part --------------
A non-text attachment was scrubbed...
Name: no_rule_perf.diff
Type: text/x-patch
Size: 529 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20090121/80ed632c/attachment.bin>


More information about the Snort-devel mailing list