Snort 3 notes

Y M via Snort-devel <[email protected]> Sun, 11 Mar 2018 14:07:42 +0000
Newsgroups gmane.comp.security.ids.snort.devel
Message-ID <CY1PR17MB03622CBE271885A5DB83DBA4A8DC0@CY1PR17MB0362.namprd17.prod.outlook.com>
Hello,


I have been working with Snort 3 via a git clone recently and have documented some observations/questions along the way. Please don't take these as complaints 😊. I have put these into one email to reduce chatter. The Snort 3 version I am working with is at the end of this post.


# ---------

- Compiling Snort 3 from source with cmake on FreeBSD 11 generates the below error (cmake logs are attached) . However, compilation with automake/autoconf works as expected. In a recent post on the list, it was mentioned that automake maybe eventually removed.

-- Looking for iconv_open
-- Looking for iconv_open - found
-- Performing Test ICONV_COMPILES
-- Performing Test ICONV_COMPILES - Failed
CMake Error at cmake/FindICONV.cmake:130 (MESSAGE):
  Unable to determine iconv() signature
Call Stack (most recent call first):
  cmake/include_libraries.cmake:25 (find_package)
  CMakeLists.txt:17 (include)
-- Configuring incomplete, errors occurred!
# ----------
- Does the Reputation inspector support multiple blacklist/whitelist entries? For example, using the below reputation configuration for single-list entries
reputation =
{
    blacklist = BLACK_LIST_PATH .. '/ip-blacklist',
    whitelist = WHITE_LIST_PATH .. '/ip-whitelist'
}

Snort prints out the status of the IP lists processing as follows:
...
Processing blacklist file /usr/local/snort/etc/snort/../../intel/ip-blacklist
Reputation entries loaded: 1544, invalid: 0, re-defined: 0 (from file /usr/local/snort/etc/snort/../../intel/ip-blacklist)
Processing whitelist file /usr/local/snort/etc/snort/../../intel/ip-whitelist
Reputation entries loaded: 0, invalid: 0, re-defined: 0 (from file /usr/local/snort/etc/snort/../../intel/ip-whitelist)
...
However, using Snort 2.x syntax or the below configuration for multiple list entries per category,
reputation =
{
    blacklist =
    {
        BLACK_LIST_PATH .. '/ip-blacklist',
        BLACK_LIST_PATH .. '/ip-blk'
    },
    whitelist = WHITE_LIST_PATH .. '/ip-whitelist'
}

Snort generates the warning message copied below:
WARNING: reputation: can't find any whitelist/blacklist entries; disabled.

I also tried with [[ multiline string ]] syntax, which does not appear to be an accepted format.

# -----

- The file_id inspector does not appear to have graylist/blacklist options. Does the file_policy[] item substitute these options?

# -----
- Some sections in the online documentation reference the use of --warn-unknown. This option appears to be no available anymore? For example, in the Tips section of the online manual, under the "Lua Configuration" section, however using the option returns unknown options.
# /usr/local/snort/bin/snort -c /usr/local/snort/etc/snort/snort.lua --warn-unknown
ERROR: unknown option --warn-unknown
FATAL: see prior 1 errors
Fatal Error, Quitting..

# -----
- Using a wrong syntax for configuring the daq module as below, Snort silently accepts the wrong syntax, and as expected, Snort does not apply the configuration. This was tested with --warn-all. This can be overlooked sometimes.
daq =
{
    module_dirs = '/usr/local/lib/daq',
    -- must enclose module with quotes
    module = afpacket,
}

# -----

- While listed as an optional requirement, safec does appear to compile successfully on FreeBSD 11, and generates the below error. Is it safe to ignore safec or is there a workaround that we can attempt?
In file included from ../include/safe_lib.h:58:0,
                 from safeclib/safeclib_private.h:91,
                 from safeclib/safe_mem_constraint.c:33:
../include/safe_mem_lib.h:87:16: error: conflicting types for 'memset_s'
 extern errno_t memset_s(void *dest, rsize_t dmax, uint8_t value);
                ^~~~~~~~
In file included from safeclib/safeclib_private.h:70:0,
                 from safeclib/safe_mem_constraint.c:33:
/usr/include/string.h:158:9: note: previous declaration of 'memset_s' was here
 errno_t memset_s(void *, rsize_t, int, rsize_t);
         ^~~~~~~~
*** Error code 1
Stop.
make[2]: stopped in /root/sources/libsafec-10052013/src
*** Error code 1
Stop.
make[1]: stopped in /root/sources/libsafec-10052013
*** Error code 1

Thanks for reading thus far.
YM

Snort 3 version:
# /usr/local/snort/bin/snort -V
   ,,_     -*> Snort++ <*-
  o"  )~   Version 3.0.0 (Build 243) from 2.9.11
   ''''    By Martin Roesch & The Snort Team
           http://snort.org/contact#team
           Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved.
           Copyright (C) 1998-2013 Sourcefire, Inc., et al.
           Using DAQ version 2.2.2
           Using LuaJIT version 2.0.5
           Using OpenSSL 1.0.2k-fips  26 Jan 2017
           Using libpcap version 1.8.1
           Using PCRE version 8.41 2017-07-05
           Using ZLIB version 1.2.7
           Using FlatBuffers 1.8.0
           Using Hyperscan version 4.7.0 2018-03-05
           Using LZMA version 5.2.2

_______________________________________________
Snort-devel mailing list
[email protected]
https://lists.snort.org/mailman/listinfo/snort-devel

Please visit http://blog.snort.org for the latest news about Snort!
CMakeError.log (application/octet-stream, 3.6 KB)
Determining if the pthread_create exist failed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8bdbd/fast"
/usr/bin/make -f CMakeFiles/cmTC_8bdbd.dir/build.make CMakeFiles/cmTC_8bdbd.dir/build
Building C object CMakeFiles/cmTC_8bdbd.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_8bdbd.dir/CheckSymbolExists.c.o   -c /root/sources/snort3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_8bdbd
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8bdbd.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTC_8bdbd.dir/CheckSymbolExists.c.o  -o cmTC_8bdbd 
CMakeFiles/cmTC_8bdbd.dir/CheckSymbolExists.c.o: In function `main':
/root/sources/snort3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:(.text+0x19): undefined reference to `pthread_create'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[1]: stopped in /root/sources/snort3/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /root/sources/snort3/build/CMakeFiles/CMakeTmp

File /root/sources/snort3/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef pthread_create
  return ((int*)(&pthread_create))[argc];
#else
  (void)argc;
  return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ee264/fast"
/usr/bin/make -f CMakeFiles/cmTC_ee264.dir/build.make CMakeFiles/cmTC_ee264.dir/build
Building C object CMakeFiles/cmTC_ee264.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_ee264.dir/CheckFunctionExists.c.o   -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_ee264
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ee264.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTC_ee264.dir/CheckFunctionExists.c.o  -o cmTC_ee264 -lpthreads 
/usr/bin/ld: cannot find -lpthreads
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[1]: stopped in /root/sources/snort3/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /root/sources/snort3/build/CMakeFiles/CMakeTmp


Performing C++ SOURCE FILE Test ICONV_COMPILES failed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ad33d/fast"
/usr/bin/make -f CMakeFiles/cmTC_ad33d.dir/build.make CMakeFiles/cmTC_ad33d.dir/build
Building CXX object CMakeFiles/cmTC_ad33d.dir/src.cxx.o
/usr/bin/c++   -I/usr/local/include -DICONV_COMPILES -o CMakeFiles/cmTC_ad33d.dir/src.cxx.o -c /root/sources/snort3/build/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTC_ad33d
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ad33d.dir/link.txt --verbose=1
/usr/bin/c++    -DICONV_COMPILES    CMakeFiles/cmTC_ad33d.dir/src.cxx.o  -o cmTC_ad33d 
CMakeFiles/cmTC_ad33d.dir/src.cxx.o: In function `main':
/root/sources/snort3/build/CMakeFiles/CMakeTmp/src.cxx:(.text+0x22): undefined reference to `libiconv'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[1]: stopped in /root/sources/snort3/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /root/sources/snort3/build/CMakeFiles/CMakeTmp

Source file was:
#include <iconv.h>
     int main() {
        iconv(iconv_t(-1), 0, 0, 0, 0);
     }
CMakeOutput.log (application/octet-stream, 32.2 KB)
The system is: FreeBSD - 11.1-RELEASE-p7 - amd64
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++ 
Build flags: ;
Id flags:  

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is Clang, found in "/root/sources/snort3/build/CMakeFiles/3.10.1/CompilerIdCXX/a.out"

Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc 
Build flags: ;
Id flags:  

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is Clang, found in "/root/sources/snort3/build/CMakeFiles/3.10.1/CompilerIdC/a.out"

Determining if the CXX compiler works passed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_0f08e/fast"
/usr/bin/make -f CMakeFiles/cmTC_0f08e.dir/build.make CMakeFiles/cmTC_0f08e.dir/build
Building CXX object CMakeFiles/cmTC_0f08e.dir/testCXXCompiler.cxx.o
/usr/bin/c++     -o CMakeFiles/cmTC_0f08e.dir/testCXXCompiler.cxx.o -c /root/sources/snort3/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_0f08e
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0f08e.dir/link.txt --verbose=1
/usr/bin/c++        CMakeFiles/cmTC_0f08e.dir/testCXXCompiler.cxx.o  -o cmTC_0f08e 


Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_370d8/fast"
/usr/bin/make -f CMakeFiles/cmTC_370d8.dir/build.make CMakeFiles/cmTC_370d8.dir/build
Building CXX object CMakeFiles/cmTC_370d8.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++     -o CMakeFiles/cmTC_370d8.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_370d8
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_370d8.dir/link.txt --verbose=1
/usr/bin/c++       -v CMakeFiles/cmTC_370d8.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_370d8 
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
 "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o cmTC_370d8 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib CMakeFiles/cmTC_370d8.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lm -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o


Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_370d8/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTC_370d8.dir/build.make CMakeFiles/cmTC_370d8.dir/build]
  ignore line: [Building CXX object CMakeFiles/cmTC_370d8.dir/CMakeCXXCompilerABI.cpp.o]
  ignore line: [/usr/bin/c++     -o CMakeFiles/cmTC_370d8.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
  ignore line: [Linking CXX executable cmTC_370d8]
  ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_370d8.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/c++       -v CMakeFiles/cmTC_370d8.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_370d8 ]
  ignore line: [FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)]
  ignore line: [Target: x86_64-unknown-freebsd11.1]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /usr/bin]
  link line: [ "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o cmTC_370d8 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib CMakeFiles/cmTC_370d8.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lm -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o]
    arg [/usr/bin/ld] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/libexec/ld-elf.so.1] ==> ignore
    arg [--hash-style=both] ==> ignore
    arg [--enable-new-dtags] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_370d8] ==> ignore
    arg [/usr/lib/crt1.o] ==> ignore
    arg [/usr/lib/crti.o] ==> ignore
    arg [/usr/lib/crtbegin.o] ==> ignore
    arg [-L/usr/lib] ==> dir [/usr/lib]
    arg [CMakeFiles/cmTC_370d8.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
    arg [-lc++] ==> lib [c++]
    arg [-lm] ==> lib [m]
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [-lc] ==> lib [c]
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [/usr/lib/crtend.o] ==> ignore
    arg [/usr/lib/crtn.o] ==> ignore
  collapse library dir [/usr/lib] ==> [/usr/lib]
  implicit libs: [c++;m;gcc;gcc_s;c;gcc;gcc_s]
  implicit dirs: [/usr/lib]
  implicit fwks: []




Detecting CXX [-std=c++1z] compiler features compiled with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_fdc46/fast"
/usr/bin/make -f CMakeFiles/cmTC_fdc46.dir/build.make CMakeFiles/cmTC_fdc46.dir/build
Building CXX object CMakeFiles/cmTC_fdc46.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++1z -o CMakeFiles/cmTC_fdc46.dir/feature_tests.cxx.o -c /root/sources/snort3/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_fdc46
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fdc46.dir/link.txt --verbose=1
/usr/bin/c++        CMakeFiles/cmTC_fdc46.dir/feature_tests.cxx.o  -o cmTC_fdc46 


    Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f8157/fast"
/usr/bin/make -f CMakeFiles/cmTC_f8157.dir/build.make CMakeFiles/cmTC_f8157.dir/build
Building CXX object CMakeFiles/cmTC_f8157.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++14 -o CMakeFiles/cmTC_f8157.dir/feature_tests.cxx.o -c /root/sources/snort3/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_f8157
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f8157.dir/link.txt --verbose=1
/usr/bin/c++        CMakeFiles/cmTC_f8157.dir/feature_tests.cxx.o  -o cmTC_f8157 


    Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:1cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:1cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:1cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:1cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:1cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:1cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:1cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:1cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:1cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ce762/fast"
/usr/bin/make -f CMakeFiles/cmTC_ce762.dir/build.make CMakeFiles/cmTC_ce762.dir/build
Building CXX object CMakeFiles/cmTC_ce762.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++11 -o CMakeFiles/cmTC_ce762.dir/feature_tests.cxx.o -c /root/sources/snort3/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_ce762
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ce762.dir/link.txt --verbose=1
/usr/bin/c++        CMakeFiles/cmTC_ce762.dir/feature_tests.cxx.o  -o cmTC_ce762 


    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:1cxx_alias_templates
    Feature record: CXX_FEATURE:1cxx_alignas
    Feature record: CXX_FEATURE:1cxx_alignof
    Feature record: CXX_FEATURE:1cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:1cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:1cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:1cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:1cxx_default_function_template_args
    Feature record: CXX_FEATURE:1cxx_defaulted_functions
    Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:1cxx_delegating_constructors
    Feature record: CXX_FEATURE:1cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:1cxx_explicit_conversions
    Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:1cxx_extern_templates
    Feature record: CXX_FEATURE:1cxx_final
    Feature record: CXX_FEATURE:1cxx_func_identifier
    Feature record: CXX_FEATURE:1cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:1cxx_inheriting_constructors
    Feature record: CXX_FEATURE:1cxx_inline_namespaces
    Feature record: CXX_FEATURE:1cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:1cxx_local_type_template_args
    Feature record: CXX_FEATURE:1cxx_long_long_type
    Feature record: CXX_FEATURE:1cxx_noexcept
    Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:1cxx_nullptr
    Feature record: CXX_FEATURE:1cxx_override
    Feature record: CXX_FEATURE:1cxx_range_for
    Feature record: CXX_FEATURE:1cxx_raw_string_literals
    Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:1cxx_right_angle_brackets
    Feature record: CXX_FEATURE:1cxx_rvalue_references
    Feature record: CXX_FEATURE:1cxx_sizeof_member
    Feature record: CXX_FEATURE:1cxx_static_assert
    Feature record: CXX_FEATURE:1cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:1cxx_thread_local
    Feature record: CXX_FEATURE:1cxx_trailing_return_types
    Feature record: CXX_FEATURE:1cxx_unicode_literals
    Feature record: CXX_FEATURE:1cxx_uniform_initialization
    Feature record: CXX_FEATURE:1cxx_unrestricted_unions
    Feature record: CXX_FEATURE:1cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:1cxx_variadic_macros
    Feature record: CXX_FEATURE:1cxx_variadic_templates


Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_fbf5a/fast"
/usr/bin/make -f CMakeFiles/cmTC_fbf5a.dir/build.make CMakeFiles/cmTC_fbf5a.dir/build
Building CXX object CMakeFiles/cmTC_fbf5a.dir/feature_tests.cxx.o
/usr/bin/c++    -std=c++98 -o CMakeFiles/cmTC_fbf5a.dir/feature_tests.cxx.o -c /root/sources/snort3/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_fbf5a
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fbf5a.dir/link.txt --verbose=1
/usr/bin/c++        CMakeFiles/cmTC_fbf5a.dir/feature_tests.cxx.o  -o cmTC_fbf5a 


    Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
    Feature record: CXX_FEATURE:0cxx_alias_templates
    Feature record: CXX_FEATURE:0cxx_alignas
    Feature record: CXX_FEATURE:0cxx_alignof
    Feature record: CXX_FEATURE:0cxx_attributes
    Feature record: CXX_FEATURE:0cxx_attribute_deprecated
    Feature record: CXX_FEATURE:0cxx_auto_type
    Feature record: CXX_FEATURE:0cxx_binary_literals
    Feature record: CXX_FEATURE:0cxx_constexpr
    Feature record: CXX_FEATURE:0cxx_contextual_conversions
    Feature record: CXX_FEATURE:0cxx_decltype
    Feature record: CXX_FEATURE:0cxx_decltype_auto
    Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
    Feature record: CXX_FEATURE:0cxx_default_function_template_args
    Feature record: CXX_FEATURE:0cxx_defaulted_functions
    Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
    Feature record: CXX_FEATURE:0cxx_delegating_constructors
    Feature record: CXX_FEATURE:0cxx_deleted_functions
    Feature record: CXX_FEATURE:0cxx_digit_separators
    Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
    Feature record: CXX_FEATURE:0cxx_explicit_conversions
    Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
    Feature record: CXX_FEATURE:0cxx_extern_templates
    Feature record: CXX_FEATURE:0cxx_final
    Feature record: CXX_FEATURE:0cxx_func_identifier
    Feature record: CXX_FEATURE:0cxx_generalized_initializers
    Feature record: CXX_FEATURE:0cxx_generic_lambdas
    Feature record: CXX_FEATURE:0cxx_inheriting_constructors
    Feature record: CXX_FEATURE:0cxx_inline_namespaces
    Feature record: CXX_FEATURE:0cxx_lambdas
    Feature record: CXX_FEATURE:0cxx_lambda_init_captures
    Feature record: CXX_FEATURE:0cxx_local_type_template_args
    Feature record: CXX_FEATURE:0cxx_long_long_type
    Feature record: CXX_FEATURE:0cxx_noexcept
    Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
    Feature record: CXX_FEATURE:0cxx_nullptr
    Feature record: CXX_FEATURE:0cxx_override
    Feature record: CXX_FEATURE:0cxx_range_for
    Feature record: CXX_FEATURE:0cxx_raw_string_literals
    Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
    Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
    Feature record: CXX_FEATURE:0cxx_return_type_deduction
    Feature record: CXX_FEATURE:0cxx_right_angle_brackets
    Feature record: CXX_FEATURE:0cxx_rvalue_references
    Feature record: CXX_FEATURE:0cxx_sizeof_member
    Feature record: CXX_FEATURE:0cxx_static_assert
    Feature record: CXX_FEATURE:0cxx_strong_enums
    Feature record: CXX_FEATURE:1cxx_template_template_parameters
    Feature record: CXX_FEATURE:0cxx_thread_local
    Feature record: CXX_FEATURE:0cxx_trailing_return_types
    Feature record: CXX_FEATURE:0cxx_unicode_literals
    Feature record: CXX_FEATURE:0cxx_uniform_initialization
    Feature record: CXX_FEATURE:0cxx_unrestricted_unions
    Feature record: CXX_FEATURE:0cxx_user_literals
    Feature record: CXX_FEATURE:0cxx_variable_templates
    Feature record: CXX_FEATURE:0cxx_variadic_macros
    Feature record: CXX_FEATURE:0cxx_variadic_templates
Determining if the C compiler works passed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_652a1/fast"
/usr/bin/make -f CMakeFiles/cmTC_652a1.dir/build.make CMakeFiles/cmTC_652a1.dir/build
Building C object CMakeFiles/cmTC_652a1.dir/testCCompiler.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_652a1.dir/testCCompiler.c.o   -c /root/sources/snort3/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_652a1
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_652a1.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTC_652a1.dir/testCCompiler.c.o  -o cmTC_652a1 


Detecting C compiler ABI info compiled with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_bd717/fast"
/usr/bin/make -f CMakeFiles/cmTC_bd717.dir/build.make CMakeFiles/cmTC_bd717.dir/build
Building C object CMakeFiles/cmTC_bd717.dir/CMakeCCompilerABI.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_bd717.dir/CMakeCCompilerABI.c.o   -c /usr/local/share/cmake/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_bd717
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd717.dir/link.txt --verbose=1
/usr/bin/cc      -v CMakeFiles/cmTC_bd717.dir/CMakeCCompilerABI.c.o  -o cmTC_bd717 
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
Target: x86_64-unknown-freebsd11.1
Thread model: posix
InstalledDir: /usr/bin
 "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o cmTC_bd717 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib CMakeFiles/cmTC_bd717.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o


Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make" "cmTC_bd717/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTC_bd717.dir/build.make CMakeFiles/cmTC_bd717.dir/build]
  ignore line: [Building C object CMakeFiles/cmTC_bd717.dir/CMakeCCompilerABI.c.o]
  ignore line: [/usr/bin/cc    -o CMakeFiles/cmTC_bd717.dir/CMakeCCompilerABI.c.o   -c /usr/local/share/cmake/Modules/CMakeCCompilerABI.c]
  ignore line: [Linking C executable cmTC_bd717]
  ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd717.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/cc      -v CMakeFiles/cmTC_bd717.dir/CMakeCCompilerABI.c.o  -o cmTC_bd717 ]
  ignore line: [FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)]
  ignore line: [Target: x86_64-unknown-freebsd11.1]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /usr/bin]
  link line: [ "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 --hash-style=both --enable-new-dtags -o cmTC_bd717 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib CMakeFiles/cmTC_bd717.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o]
    arg [/usr/bin/ld] ==> ignore
    arg [--eh-frame-hdr] ==> ignore
    arg [-dynamic-linker] ==> ignore
    arg [/libexec/ld-elf.so.1] ==> ignore
    arg [--hash-style=both] ==> ignore
    arg [--enable-new-dtags] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_bd717] ==> ignore
    arg [/usr/lib/crt1.o] ==> ignore
    arg [/usr/lib/crti.o] ==> ignore
    arg [/usr/lib/crtbegin.o] ==> ignore
    arg [-L/usr/lib] ==> dir [/usr/lib]
    arg [CMakeFiles/cmTC_bd717.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [-lc] ==> lib [c]
    arg [-lgcc] ==> lib [gcc]
    arg [--as-needed] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [--no-as-needed] ==> ignore
    arg [/usr/lib/crtend.o] ==> ignore
    arg [/usr/lib/crtn.o] ==> ignore
  collapse library dir [/usr/lib] ==> [/usr/lib]
  implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
  implicit dirs: [/usr/lib]
  implicit fwks: []




Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_8b326/fast"
/usr/bin/make -f CMakeFiles/cmTC_8b326.dir/build.make CMakeFiles/cmTC_8b326.dir/build
Building C object CMakeFiles/cmTC_8b326.dir/feature_tests.c.o
/usr/bin/cc   -std=c11 -o CMakeFiles/cmTC_8b326.dir/feature_tests.c.o   -c /root/sources/snort3/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_8b326
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8b326.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTC_8b326.dir/feature_tests.c.o  -o cmTC_8b326 


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:1c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_79b36/fast"
/usr/bin/make -f CMakeFiles/cmTC_79b36.dir/build.make CMakeFiles/cmTC_79b36.dir/build
Building C object CMakeFiles/cmTC_79b36.dir/feature_tests.c.o
/usr/bin/cc   -std=c99 -o CMakeFiles/cmTC_79b36.dir/feature_tests.c.o   -c /root/sources/snort3/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_79b36
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_79b36.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTC_79b36.dir/feature_tests.c.o  -o cmTC_79b36 


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_f9ca6/fast"
/usr/bin/make -f CMakeFiles/cmTC_f9ca6.dir/build.make CMakeFiles/cmTC_f9ca6.dir/build
Building C object CMakeFiles/cmTC_f9ca6.dir/feature_tests.c.o
/usr/bin/cc   -std=c90 -o CMakeFiles/cmTC_f9ca6.dir/feature_tests.c.o   -c /root/sources/snort3/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_f9ca6
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f9ca6.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTC_f9ca6.dir/feature_tests.c.o  -o cmTC_f9ca6 


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:0c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:0c_variadic_macros
Determining if the include file pthread.h exists passed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ad587/fast"
/usr/bin/make -f CMakeFiles/cmTC_ad587.dir/build.make CMakeFiles/cmTC_ad587.dir/build
Building C object CMakeFiles/cmTC_ad587.dir/CheckIncludeFile.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_ad587.dir/CheckIncludeFile.c.o   -c /root/sources/snort3/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_ad587
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ad587.dir/link.txt --verbose=1
/usr/bin/cc       CMakeFiles/cmTC_ad587.dir/CheckIncludeFile.c.o  -o cmTC_ad587 


Determining if the function pthread_create exists in the pthread passed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_c2e9a/fast"
/usr/bin/make -f CMakeFiles/cmTC_c2e9a.dir/build.make CMakeFiles/cmTC_c2e9a.dir/build
Building C object CMakeFiles/cmTC_c2e9a.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_c2e9a.dir/CheckFunctionExists.c.o   -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_c2e9a
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2e9a.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create    CMakeFiles/cmTC_c2e9a.dir/CheckFunctionExists.c.o  -o cmTC_c2e9a -lpthread 


Performing C SOURCE FILE Test PCAP_LINKS_SOLO succeeded with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_5ab03/fast"
/usr/bin/make -f CMakeFiles/cmTC_5ab03.dir/build.make CMakeFiles/cmTC_5ab03.dir/build
Building C object CMakeFiles/cmTC_5ab03.dir/src.c.o
/usr/bin/cc   -DPCAP_LINKS_SOLO -o CMakeFiles/cmTC_5ab03.dir/src.c.o   -c /root/sources/snort3/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_5ab03
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5ab03.dir/link.txt --verbose=1
/usr/bin/cc   -DPCAP_LINKS_SOLO    CMakeFiles/cmTC_5ab03.dir/src.c.o  -o cmTC_5ab03 -Wl,-rpath,/usr/local/lib /usr/local/lib/libpcap.so 

Source file was:
int main() { return 0; }
Determining if the function lzma_auto_decoder exists in the /usr/lib/liblzma.so passed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_346d8/fast"
/usr/bin/make -f CMakeFiles/cmTC_346d8.dir/build.make CMakeFiles/cmTC_346d8.dir/build
Building C object CMakeFiles/cmTC_346d8.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=lzma_auto_decoder -o CMakeFiles/cmTC_346d8.dir/CheckFunctionExists.c.o   -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_346d8
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_346d8.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=lzma_auto_decoder    CMakeFiles/cmTC_346d8.dir/CheckFunctionExists.c.o  -o cmTC_346d8 /usr/lib/liblzma.so 


Determining if the function lzma_easy_encoder exists in the /usr/lib/liblzma.so passed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_55bd1/fast"
/usr/bin/make -f CMakeFiles/cmTC_55bd1.dir/build.make CMakeFiles/cmTC_55bd1.dir/build
Building C object CMakeFiles/cmTC_55bd1.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=lzma_easy_encoder -o CMakeFiles/cmTC_55bd1.dir/CheckFunctionExists.c.o   -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_55bd1
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_55bd1.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=lzma_easy_encoder    CMakeFiles/cmTC_55bd1.dir/CheckFunctionExists.c.o  -o cmTC_55bd1 /usr/lib/liblzma.so 


Determining if the function lzma_lzma_preset exists in the /usr/lib/liblzma.so passed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_6b23b/fast"
/usr/bin/make -f CMakeFiles/cmTC_6b23b.dir/build.make CMakeFiles/cmTC_6b23b.dir/build
Building C object CMakeFiles/cmTC_6b23b.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=lzma_lzma_preset -o CMakeFiles/cmTC_6b23b.dir/CheckFunctionExists.c.o   -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_6b23b
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6b23b.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=lzma_lzma_preset    CMakeFiles/cmTC_6b23b.dir/CheckFunctionExists.c.o  -o cmTC_6b23b /usr/lib/liblzma.so 


Determining if the function iconv_open exists passed with the following output:
Change Dir: /root/sources/snort3/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ebac7/fast"
/usr/bin/make -f CMakeFiles/cmTC_ebac7.dir/build.make CMakeFiles/cmTC_ebac7.dir/build
Building C object CMakeFiles/cmTC_ebac7.dir/CheckFunctionExists.c.o
/usr/bin/cc  -I/usr/local/include -DCHECK_FUNCTION_EXISTS=iconv_open -o CMakeFiles/cmTC_ebac7.dir/CheckFunctionExists.c.o   -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTC_ebac7
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ebac7.dir/link.txt --verbose=1
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=iconv_open    CMakeFiles/cmTC_ebac7.dir/CheckFunctionExists.c.o  -o cmTC_ebac7