checking whether GCC or Clang is our compiler... gcc checking gcc version... 7.4.0 checking for gawk... (cached) gawk checking for m68k-buildroot-linux-uclibc-gcc... (cached) /home/buildroot/autobuild/run/instance-0/output/host/bin/m68k-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /home/buildroot/autobuild/run/instance-0/output/host/bin/m68k-linux-gcc accepts -g... (cached) yes checking for /home/buildroot/autobuild/run/instance-0/output/host/bin/m68k-linux-gcc option to accept ISO C89... (cached) none needed checking whether /home/buildroot/autobuild/run/instance-0/output/host/bin/m68k-linux-gcc understands -c and -o together... (cached) yes checking dependency style of /home/buildroot/autobuild/run/instance-0/output/host/bin/m68k-linux-gcc... (cached) none checking how to run the C preprocessor... /home/buildroot/autobuild/run/instance-0/output/host/bin/m68k-linux-cpp checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... (cached) /bin/grep checking for pkg-config... /home/buildroot/autobuild/run/instance-0/output/host/bin/pkg-config checking for python... /home/buildroot/autobuild/run/instance-0/output/host/bin/python checking for python-yaml... no checking for wget... /usr/bin/wget checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking linux/if_ether.h usability... yes checking linux/if_ether.h presence... yes checking for linux/if_ether.h... yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking linux/filter.h usability... yes checking linux/filter.h presence... yes checking for linux/filter.h... yes checking linux/ethtool.h usability... yes checking linux/ethtool.h presence... yes checking for linux/ethtool.h... yes checking linux/sockios.h usability... yes checking linux/sockios.h presence... yes checking for linux/sockios.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking for sys/socket.h... (cached) yes checking for net/if.h... yes checking for sys/mman.h... yes checking for linux/if_arp.h... yes checking for windows.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for w32api/wtypes.h... no checking for w32api/winbase.h... no checking for wincrypt.h... no checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for int32_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... (cached) yes checking for gettimeofday... yes checking for memset... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strtol... yes checking for strtoul... yes checking for memchr... yes checking for memrchr... yes checking for clock_gettime... yes checking for strptime... yes checking whether getrandom is declared... no checking for utime... yes checking for strlcpy... yes checking for strlcat... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking host os... installation for m68k-buildroot-linux-uclibc OS... ok checking for thread local storage __thread support... yes checking checking if /home/buildroot/autobuild/run/instance-0/output/host/bin/m68k-linux-gcc supports -march=native... no checking for spatch... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inflate in -lz... yes checking lzma.h usability... yes checking lzma.h presence... yes checking for lzma.h... yes checking for lzma_code in -llzma... yes checking for Mpipe... no checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_get_substring in -lpcre... yes checking for LIBPCREVERSION... no checking for pcre_dfa_exec in -lpcre... yes checking for PCRE JIT support... yes checking for PCRE JIT support usability... yes checking for libhs... no checking hs.h usability... no checking hs.h presence... no checking for hs.h... no checking yaml.h usability... yes checking yaml.h presence... yes checking for yaml.h... yes checking for yaml_parser_initialize in -lyaml... yes checking for pthread_create in -lpthread... yes checking jansson.h usability... no checking jansson.h presence... no checking for jansson.h... no checking for nfnl_fd in -lnfnetlink... yes checking libnetfilter_log/libnetfilter_log.h usability... yes checking libnetfilter_log/libnetfilter_log.h presence... yes checking for libnetfilter_log/libnetfilter_log.h... yes checking for nflog_open in -lnetfilter_log... yes checking whether OS_WIN32 is declared... no checking for libnet.h version 1.1.x... no checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for pcap.h... (cached) yes checking pcap/pcap.h usability... yes checking pcap/pcap.h presence... yes checking for pcap/pcap.h... yes checking pcap/bpf.h usability... yes checking pcap/bpf.h presence... yes checking for pcap/bpf.h... yes checking for pcap_open_live in -lpcap... yes checking for pcap_activate in -lpcap... yes checking for pcap-config... no no pcap-config is use checking for pcap_set_buffer_size in -lpcap... yes checking whether TPACKET_V2 is declared... yes checking whether PACKET_FANOUT_QM is declared... yes checking whether TPACKET_V3 is declared... yes checking whether SOF_TIMESTAMPING_RAW_HARDWARE is declared... yes checking for libhtp... yes checking htp/htp.h usability... yes checking htp/htp.h presence... yes checking for htp/htp.h... yes checking for htp_conn_create in -lhtp... yes checking for LIBHTPMINVERSION... yes checking for htp_config_register_request_uri_normalize in -lhtp... yes checking for htp_tx_get_response_headers_raw in -lhtp... no checking for htp_decode_query_inplace in -lhtp... no checking for htp_config_set_response_decompression_layer_limit in -lhtp... yes checking cap-ng.h usability... yes checking cap-ng.h presence... yes checking for cap-ng.h... yes checking for capng_clear in -lcap-ng... yes checking for libnspr... yes checking nspr.h usability... yes checking nspr.h presence... yes checking for nspr.h... yes checking for PR_GetCurrentThread in -lnspr4... yes checking for libnss... yes checking sechash.h usability... yes checking sechash.h presence... yes checking for sechash.h... yes checking for HASH_Begin in -lnss3... yes checking for LUA... yes checking lualib.h usability... yes checking lualib.h presence... yes checking for lualib.h... yes checking for LUA... yes checking hiredis/hiredis.h usability... yes checking hiredis/hiredis.h presence... yes checking for hiredis/hiredis.h... yes checking for redisConnect in -lhiredis... yes checking hiredis/adapters/libevent.h usability... yes checking hiredis/adapters/libevent.h presence... yes checking for hiredis/adapters/libevent.h... yes checking event.h usability... yes checking event.h presence... yes checking for event.h... yes checking for event_base_free in -levent... yes checking for evthread_use_pthreads in -levent_pthreads... yes checking for LZ4F_createCompressionContext in -llz4... yes checking for getconf... /usr/bin/getconf checking for sphinx-build... no checking for pdflatex... no checking for git... /usr/bin/git checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating rust/Makefile config.status: creating rust/Cargo.toml config.status: creating rust/.cargo/config config.status: creating qa/Makefile config.status: creating qa/coccinelle/Makefile config.status: creating rules/Makefile config.status: creating doc/Makefile config.status: creating doc/userguide/Makefile config.status: creating contrib/Makefile config.status: creating contrib/file_processor/Makefile config.status: creating contrib/file_processor/Action/Makefile config.status: creating contrib/file_processor/Processor/Makefile config.status: creating contrib/tile_pcie_logd/Makefile config.status: creating suricata.yaml config.status: creating etc/Makefile config.status: creating etc/suricata.logrotate config.status: creating etc/suricata.service config.status: creating python/Makefile config.status: creating python/suricata/config/defaults.py config.status: creating ebpf/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Suricata Configuration: AF_PACKET support: yes eBPF support: no XDP support: no PF_RING support: no NFQueue support: no NFLOG support: yes IPFW support: no Netmap support: no DAG enabled: no Napatech enabled: no WinDivert enabled: no Unix socket enabled: no Detection enabled: yes Libmagic support: no libnss support: yes libnspr support: yes libjansson support: no liblzma support: yes hiredis support: yes hiredis async with libevent: yes Prelude support: no PCRE jit: yes LUA support: yes libluajit: no libgeoip: no Non-bundled htp: yes Old barnyard2 support: no Hyperscan support: no Libnet support: no liblz4 support: yes Rust support: no Rust strict mode: no Rust debug mode: no Rust compiler: not set Rust cargo: not set Install suricatasc: yes Install suricata-update: no Profiling enabled: no Profiling locks enabled: no Development settings: Coccinelle / spatch: no Unit tests enabled: no Debug output enabled: no Debug validation enabled: no Generic build parameters: Installation prefix: /usr Configuration directory: /etc/suricata/ Log directory: /var/log/suricata/ --prefix /usr --sysconfdir /etc --localstatedir /var --datarootdir /usr/share Host: m68k-buildroot-linux-uclibc Compiler: /home/buildroot/autobuild/run/instance-0/output/host/bin/m68k-linux-gcc (exec name) / gcc (real) GCC Protect enabled: no GCC march native enabled: no GCC Profile enabled: no Position Independent Executable enabled: no CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os PCAP_CFLAGS SECCFLAGS To build and install run 'make' and 'make install'. You can run 'make install-conf' if you want to install initial configuration files to /etc/suricata/. Running 'make install-full' will install configuration and rules and provide you a ready-to-run suricata. To install Suricata into /usr/bin/suricata, have the config in /etc/suricata and use /var/log/suricata as log dir, use: ./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ >>> suricata 4.1.3 Building PATH="/home/buildroot/autobuild/run/instance-0/output/host/bin:/home/buildroot/autobuild/run/instance-0/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-0/output/build/suricata-4.1.3/ /usr/bin/make all-recursive Making all in rust make[4]: Nothing to be done for `all'. Making all in src CC alert-debuglog.o CC alert-fastlog.o CC alert-prelude.o CC alert-syslog.o In file included from suricata-common.h:448:0, from alert-syslog.c:27: flow.h: In function 'FlowIncrUsecnt': threads.h:169:49: error: implicit declaration of function 'pthread_spin_lock'; did you mean 'pthread_mutex_lock'? [-Werror=implicit-function-declaration] #define SCSpinLock(spin) pthread_spin_lock(spin) ^ util-atomic.h:111:9: note: in expansion of macro 'SCSpinLock' SCSpinLock(&(name ## _sc_lock__)); \ ^~~~~~~~~~ flow.h:562:12: note: in expansion of macro 'SC_ATOMIC_ADD' (void) SC_ATOMIC_ADD(f->use_cnt, 1); ^~~~~~~~~~~~~ threads.h:171:49: error: implicit declaration of function 'pthread_spin_unlock'; did you mean 'pthread_mutex_unlock'? [-Werror=implicit-function-declaration] #define SCSpinUnlock(spin) pthread_spin_unlock(spin) ^ util-atomic.h:114:9: note: in expansion of macro 'SCSpinUnlock' SCSpinUnlock(&(name ## _sc_lock__)); \ ^~~~~~~~~~~~ flow.h:562:12: note: in expansion of macro 'SC_ATOMIC_ADD' (void) SC_ATOMIC_ADD(f->use_cnt, 1); ^~~~~~~~~~~~~ In file included from suricata-common.h:448:0, from alert-debuglog.c:24: flow.h: In function 'FlowIncrUsecnt': threads.h:169:49: error: implicit declaration of function 'pthread_spin_lock'; did you mean 'pthread_mutex_lock'? [-Werror=implicit-function-declaration] #define SCSpinLock(spin) pthread_spin_lock(spin) ^ util-atomic.h:111:9: note: in expansion of macro 'SCSpinLock' SCSpinLock(&(name ## _sc_lock__)); \ ^~~~~~~~~~ flow.h:562:12: note: in expansion of macro 'SC_ATOMIC_ADD' (void) SC_ATOMIC_ADD(f->use_cnt, 1); ^~~~~~~~~~~~~ threads.h:171:49: error: implicit declaration of function 'pthread_spin_unlock'; did you mean 'pthread_mutex_unlock'? [-Werror=implicit-function-declaration] #define SCSpinUnlock(spin) pthread_spin_unlock(spin) ^ util-atomic.h:114:9: note: in expansion of macro 'SCSpinUnlock' SCSpinUnlock(&(name ## _sc_lock__)); \ ^~~~~~~~~~~~ flow.h:562:12: note: in expansion of macro 'SC_ATOMIC_ADD' (void) SC_ATOMIC_ADD(f->use_cnt, 1); ^~~~~~~~~~~~~ In file included from suricata-common.h:448:0, from alert-fastlog.c:30: flow.h: In function 'FlowIncrUsecnt': threads.h:169:49: error: implicit declaration of function 'pthread_spin_lock'; did you mean 'pthread_mutex_lock'? [-Werror=implicit-function-declaration] #define SCSpinLock(spin) pthread_spin_lock(spin) ^ util-atomic.h:111:9: note: in expansion of macro 'SCSpinLock' SCSpinLock(&(name ## _sc_lock__)); \ ^~~~~~~~~~ flow.h:562:12: note: in expansion of macro 'SC_ATOMIC_ADD' (void) SC_ATOMIC_ADD(f->use_cnt, 1); ^~~~~~~~~~~~~ threads.h:171:49: error: implicit declaration of function 'pthread_spin_unlock'; did you mean 'pthread_mutex_unlock'? [-Werror=implicit-function-declaration] #define SCSpinUnlock(spin) pthread_spin_unlock(spin) ^ util-atomic.h:114:9: note: in expansion of macro 'SCSpinUnlock' SCSpinUnlock(&(name ## _sc_lock__)); \ ^~~~~~~~~~~~ flow.h:562:12: note: in expansion of macro 'SC_ATOMIC_ADD' (void) SC_ATOMIC_ADD(f->use_cnt, 1); ^~~~~~~~~~~~~ In file included from suricata-common.h:448:0, from alert-prelude.c:39: flow.h: In function 'FlowIncrUsecnt': threads.h:169:49: error: implicit declaration of function 'pthread_spin_lock'; did you mean 'pthread_mutex_lock'? [-Werror=implicit-function-declaration] #define SCSpinLock(spin) pthread_spin_lock(spin) ^ util-atomic.h:111:9: note: in expansion of macro 'SCSpinLock' SCSpinLock(&(name ## _sc_lock__)); \ ^~~~~~~~~~ flow.h:562:12: note: in expansion of macro 'SC_ATOMIC_ADD' (void) SC_ATOMIC_ADD(f->use_cnt, 1); ^~~~~~~~~~~~~ threads.h:171:49: error: implicit declaration of function 'pthread_spin_unlock'; did you mean 'pthread_mutex_unlock'? [-Werror=implicit-function-declaration] #define SCSpinUnlock(spin) pthread_spin_unlock(spin) ^ util-atomic.h:114:9: note: in expansion of macro 'SCSpinUnlock' SCSpinUnlock(&(name ## _sc_lock__)); \ ^~~~~~~~~~~~ flow.h:562:12: note: in expansion of macro 'SC_ATOMIC_ADD' (void) SC_ATOMIC_ADD(f->use_cnt, 1); ^~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [alert-prelude.o] Error 1 make[4]: *** Waiting for unfinished jobs.... cc1: some warnings being treated as errors make[4]: *** [alert-syslog.o] Error 1 cc1: some warnings being treated as errors make[4]: *** [alert-fastlog.o] Error 1 cc1: some warnings being treated as errors make[4]: *** [alert-debuglog.o] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [/home/buildroot/autobuild/run/instance-0/output/build/suricata-4.1.3/.stamp_built] Error 2 make: *** [_all] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-0/buildroot'