Snort mailing list archives
Bug report - can't compile snort unless FLEXRESP3 option is enabled
From: elof () sentor se
Date: Thu, 5 Jun 2014 23:08:35 +0200 (CEST)
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!
Current thread:
- Bug report - can't compile snort unless FLEXRESP3 option is enabled elof (Jun 05)
