Snort mailing list archives

Re: Odd 2.6.0 compile error with disable-flexresp3


From: "Joel Esler (jesler)" <jesler () cisco com>
Date: Fri, 14 Feb 2014 19:17:14 +0000

Jeremy,

Thanks.  We have a bug created on our side to investigate.

--
Joel Esler
Threat Intelligence Team Lead
Open Source Manager
Vulnerability Research Team

On Feb 13, 2014, at 3:50 PM, Jeremy Hoel <jthoel () gmail com<mailto:jthoel () gmail com>> wrote:

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?

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: