[Snort-users] Odd 2.6.0 compile error with disable-flexresp3

Jeremy Hoel jthoel at ...11827...
Thu Feb 13 15:50:58 EST 2014


I am testing our deployment of 2.6.0 and adjust some of the compile options.

the compile works fine with:

snort_config="./configure --enable-zlib --enable-reload
--with-daq_includes=/usr/local/include
--with-daq_libraries=/usr/local/lib \
--enable-perfprofiling --enable-ppm --enable-linux-smp-stats
--enable-static-daq --enable-gre \
--disable-active-response --disable-react"


But when I add the --disable-flexresp3 to the end of that I get an error:

....
make[4]: Entering directory
`/usr/src/snort-2.9.6.0/src/dynamic-preprocessors/dcerpc2'
/bin/sh ../../../libtool  --tag=CC   --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../.. -I../include -I./../libs -I./includes
-I/usr/local/include -I/usr/local/include -DZLIB -DGRE -DMPLS
-DPPM_MGR -DLINUX_SMP -DNDEBUG -DSF_WCHAR -DTARGET_BASED
-DPERF_PROFILING -DSNORT_RELOAD -DNO_NON_ETHER_DECODER -DNORMALIZER
-g -O2 -DSF_VISIBILITY -fvisibility=hidden -fno-strict-aliasing -Wall
-c -o dce2_smb.lo dce2_smb.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../include
-I./../libs -I./includes -I/usr/local/include -I/usr/local/include
-DZLIB -DGRE -DMPLS -DPPM_MGR -DLINUX_SMP -DNDEBUG -DSF_WCHAR
-DTARGET_BASED -DPERF_PROFILING -DSNORT_RELOAD -DNO_NON_ETHER_DECODER
-DNORMALIZER -g -O2 -DSF_VISIBILITY -fvisibility=hidden
-fno-strict-aliasing -Wall -c dce2_smb.c  -fPIC -DPIC -o
.libs/dce2_smb.o
dce2_smb.c: In function 'DCE2_SmbFileAPIProcess':
dce2_smb.c:9560:12: error: 'DCE2_SmbSsnData' has no member named 'fb_ftracker'
     if (ssd->fb_ftracker && (ssd->fb_ftracker != ftracker))
            ^
dce2_smb.c:9560:33: error: 'DCE2_SmbSsnData' has no member named 'fb_ftracker'
     if (ssd->fb_ftracker && (ssd->fb_ftracker != ftracker))
                                 ^
make[4]: *** [dce2_smb.lo] Error 1
make[4]: Leaving directory
`/usr/src/snort-2.9.6.0/src/dynamic-preprocessors/dcerpc2'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/usr/src/snort-2.9.6.0/src/dynamic-preprocessors'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/usr/src/snort-2.9.6.0/src/dynamic-preprocessors'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/snort-2.9.6.0/src'
make: *** [install-recursive] Error 1


Pull the flexresp3 and things work again.

Known issue?




More information about the Snort-users mailing list