Snort mailing list archives

Snort extra version 1.0.0-a4 built incomplete.


From: Chatsiri Rattana via Snort-devel <snort-devel () lists snort org>
Date: Tue, 12 Dec 2017 16:22:41 +0700

Hello Contributor,

Snort  version 3.0  Version 3.0.0 (Build 240) from 2.9.8-383   and hash
committing  is 1b646c46a Merge pull request #1002 in SNORT/snort3 from
sum_stuff to master. After was snort built completed. I'm try to build
snort-extra package name  snort_extra-1.0.0-a4. Error show as below.

snort3-distfw/snort_extra-1.0.0-a4/src/inspectors/data_log/data_log.cc:95:22:
error: ‘get_data_bus’ was not declared in this scope
         get_data_bus().subscribe(key.c_str(), new LogHandler(key));
                      ^
src/inspectors/data_log/CMakeFiles/data_log.dir/build.make:62: recipe for
target 'src/inspectors/data_log/CMakeFiles/data_log.dir/data_log.cc.o'
failed
make[2]: ***
[src/inspectors/data_log/CMakeFiles/data_log.dir/data_log.cc.o] Error 1
CMakeFiles/Makefile2:981: recipe for target
'src/inspectors/data_log/CMakeFiles/data_log.dir/all' failed
make[1]: *** [src/inspectors/data_log/CMakeFiles/data_log.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Recheck source code from snort core at directory
'src/framework/data_bus.cc'. It had static function name 'get_data_bus()',
but built results return an error as above. How to workaround that issues?
I using declare static function name before class name DataLog defined such
as

static DataBus & get_data_bus();

class DataLog : public Inspector {...}


Best Regards,
R.Chatsiri
_______________________________________________
Snort-devel mailing list
Snort-devel () lists snort org
https://lists.snort.org/mailman/listinfo/snort-devel

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

Current thread: