Snort mailing list archives

Re: Bug report - can't compile snort unless FLEXRESP3 option is enabled


From: elof () sentor se
Date: Wed, 16 Jul 2014 14:37:34 +0200 (CEST)


I never got any response to this.

FLEXRESP3 shouldn't be mandatory, should it?

/Elof


On Thu, 5 Jun 2014, elof () sentor se wrote:


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

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

Please visit http://blog.snort.org for the latest news about Snort!


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

Please visit http://blog.snort.org for the latest news about Snort!


Current thread: