[Snort-users] BUG: snort fails to build if --disable-dynamicplugin is passed to ./configure

Bhagya Bantwal bbantwal at ...1935...
Thu Feb 17 15:08:30 EST 2011


Patch attached for this issue.

-B

On Mon, Feb 14, 2011 at 11:17 AM, Jason Wallace
<jason.r.wallace at ...11827...>wrote:

> Howdy,
>
> Hate to start the week with a bug, but snort fails to build if
> --disable-dynamicplugin is passed to ./configure. This affects 2.9.0.3
> and .4 and maybe earlier versions. We found this during stability
> testing for the Gentoo package. It always appears to be fpcreate.c
> that fails to build.
>
> 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/portscan
> -I../src/preprocessors/HttpInspect/include
> -I../src/preprocessors/Stream5 -I../src/target-based  -DSUP_IP6 -DGRE
> -DMPLS -DTARGET_BASED -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR
> -DPERF_PROFILING -DLINUX_SMP -DINLINE_FAILOPEN -DDEBUG -DSNORT_RELOAD
> -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DNORMALIZER
> -DACTIVE_RESPONSE  -g -O0 -fvisibility=hidden -fno-strict-aliasing
> -Wall -c sf_sdlist.c
> 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/portscan
> -I../src/preprocessors/HttpInspect/include
> -I../src/preprocessors/Stream5 -I../src/target-based  -DSUP_IP6 -DGRE
> -DMPLS -DTARGET_BASED -DPREPROCESSOR_AND_DECODER_RULE_EVENTS -DPPM_MGR
> -DPERF_PROFILING -DLINUX_SMP -DINLINE_FAILOPEN -DDEBUG -DSNORT_RELOAD
> -DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DNORMALIZER
> -DACTIVE_RESPONSE  -g -O0 -fvisibility=hidden -fno-strict-aliasing
> -Wall -c fpcreate.c
> fpcreate.c: In function 'GetLongestPmdContent':
> fpcreate.c:1285: error: 'CONTENT_NORMAL' undeclared (first use in this
> function)
> fpcreate.c:1285: error: (Each undeclared identifier is reported only once
> fpcreate.c:1285: error: for each function it appears in.)
> fpcreate.c:1296: error: 'CONTENT_HTTP' undeclared (first use in this
> function)
> fpcreate.c: In function 'fpAddPortGroupRule':
> fpcreate.c:1738: error: 'CONTENT_NORMAL' undeclared (first use in this
> function)
> fpcreate.c:1755: error: 'CONTENT_HTTP' undeclared (first use in this
> function)
> fpcreate.c:1814: error: 'preproc_opt_pmds' undeclared (first use in
> this function)
> make[3]: *** [fpcreate.o] Error 1
> make[3]: Leaving directory `/usr/local/src/snort-2.9.0.4/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/snort-2.9.0.4/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/snort-2.9.0.4'
> make: *** [all] Error 2
>
> Thx,
> Wally
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20110217/108b62b3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disabledynamic.patch
Type: text/x-patch
Size: 4189 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20110217/108b62b3/attachment.bin>


More information about the Snort-users mailing list