Snort mailing list archives

Re: BUG: snort fails to build if --disable-dynamicplugin is passed to ./configure


From: Jason Wallace <jason.r.wallace () gmail com>
Date: Fri, 18 Feb 2011 14:59:08 -0500

Works like a charm. thx!

On Thu, Feb 17, 2011 at 3:08 PM, Bhagya Bantwal <bbantwal () sourcefire com> wrote:
Patch attached for this issue.

-B

On Mon, Feb 14, 2011 at 11:17 AM, Jason Wallace <jason.r.wallace () gmail com>
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



------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: