[Snort-devel] Bug report - can't compile snort unless FLEXRESP3 option is enabled

elof at ...969... elof at ...969...
Thu Jun 5 17:08:35 EDT 2014


Hi!

This is a bug report.

I tried compiling the latest snort from FreeBSD ports (using poudriere 
on a FreeBSD 10.0 amd64 machine).

If I only set the following build options:
   DOCS
   NORMALIZER
   PERFPROFILE
   ZLIB

then snort won't compile! The end of the build looks like this:



...blah blah...
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../../.. -I../include 
-I./../libs -I./includes -I/usr/local/include 
-I/usr/local/include/libnet11 -DZLIB -DPPM_MGR -DNDEBUG -DNOCOREFILE 
-DSF_WCHAR -DPERF_PROFILING -DSNORT_RELOAD -DNO_NON_ETHER_DECODER 
-DNORMALIZER -O2 -pipe -fstack-protector -fno-strict-aliasing 
-DSF_VISIBILITY -fvisibility=hidden -Wall -c dce2_smb.c  -fPIC -DPIC -o 
.libs/dce2_smb.o
dce2_smb.c:9560:14: error: no member named 'fb_ftracker' in 'struct 
_DCE2_SmbSsnData'
     if (ssd->fb_ftracker && (ssd->fb_ftracker != ftracker))
         ~~~  ^
dce2_smb.c:9560:35: error: no member named 'fb_ftracker' in 'struct 
_DCE2_SmbSsnData'
     if (ssd->fb_ftracker && (ssd->fb_ftracker != ftracker))
                              ~~~  ^
2 errors generated.
*** Error code 1

Stop.
make[6]: stopped in 
/wrkdirs/usr/ports/security/snort/work/snort-2.9.6.1/src/dynamic-preprocessors/dcerpc2
*** Error code 1

Stop.
make[5]: stopped in 
/wrkdirs/usr/ports/security/snort/work/snort-2.9.6.1/src/dynamic-preprocessors
*** Error code 1
...blah blah...



But if I add FLEXRESP3 to the build options:
   DOCS
   FLEXRESP3
   NORMALIZER
   PERFPROFILE
   ZLIB

then the compile finish successfully.



I guess this is a bug, 'cause FLEXRESP3 shouldn't be mandatory, should it?

/Elof




More information about the Snort-devel mailing list