==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_35cc470a-5aed-4f1b-bfbb-ca190fed479e]...done ==> Making package: libnids 1.26-5.2 (Sun Apr 26 11:16:49 2026) ==> Retrieving sources... -> Downloading libnids-1.26.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 142.7k 0 142.7k 0 0 324.7k 0 0 100 142.7k 0 142.7k 0 0 324.7k 0 0 100 142.7k 0 142.7k 0 0 324.7k 0 0 -> Downloading 38336d55.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 822 100 822 0 0 9715 0 0 100 822 100 822 0 0 9708 0 0 100 822 100 822 0 0 9701 0 0 ==> Validating source files with sha256sums... libnids-1.26.tar.gz ... Passed 38336d55.patch ... Passed ==> Making package: libnids 1.26-5.2 (Sun Apr 26 09:16:52 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libnl 3.12.0-1 2.12 MiB extra/libnet 2:1.3-1 1.47 MiB core/libpcap 1.10.6-1 0.65 MiB Total Installed Size: 4.24 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnet... installing libnl... installing libpcap... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found libnids-1.26.tar.gz -> Found 38336d55.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting libnids-1.26.tar.gz with bsdtar ==> Starting prepare()... patching file src/Makefile.in ==> Starting build()... checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether byte ordering is bigendian... no checking for gettimeofday... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for libpcap... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GTHREAD... yes checking for g_thread_init in -lgthread-2.0... yes checking for libnet... yes checking whether to build shared library... yes checking the name of struct icmp... struct icmphdr checking if tcp states are defined... yes checking for bsd-ish struct udphdr... yes checking libnet version... looks new configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating samples/Makefile config.status: creating src/config.h cd src ; make static cd src ; make shared make[1]: Entering directory '/startdir/src/libnids-1.26/src' gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread checksum.c gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread ip_fragment.c make[1]: Entering directory '/startdir/src/libnids-1.26/src' gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c checksum.c -o checksum_pic.o gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread ip_options.c gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c ip_fragment.c -o ip_fragment_pic.o gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread killtcp.c gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c ip_options.c -o ip_options_pic.o gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread libnids.c gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c killtcp.c -o killtcp_pic.o gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c libnids.c -o libnids_pic.o gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread scan.c gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c scan.c -o scan_pic.o gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread tcp.c gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c tcp.c -o tcp_pic.o gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread util.c gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c util.c -o util_pic.o gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread allpromisc.c gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c allpromisc.c -o allpromisc_pic.o gcc -fPIC -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c hash.c -o hash_pic.o gcc -c -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/libnids -flto=auto -falign-functions=32 -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -I/usr/include -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread hash.c hash.c: In function ‘getrnd’: hash.c:18:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 18 | read (fd, xor, 12); | ^~~~~~~~~~~~~~~~~~ hash.c:19:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 19 | read (fd, perm, 12); | ^~~~~~~~~~~~~~~~~~~ ip_fragment.c: In function ‘ip_create’: ip_fragment.c:427:22: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(long unsigned int)’ [-Wincompatible-pointer-types] 427 | qp->timer.function = ip_expire; /* expire function */ | ^ ip_fragment.c:364:1: note: ‘ip_expire’ declared here 364 | ip_expire(unsigned long arg) | ^~~~~~~~~ hash.c: In function ‘getrnd’: hash.c:18:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 18 | read (fd, xor, 12); | ^~~~~~~~~~~~~~~~~~ hash.c:19:7: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 19 | read (fd, perm, 12); | ^~~~~~~~~~~~~~~~~~~ ip_fragment.c: In function ‘ip_glue’: ip_fragment.c:486:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 486 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERSIZED, qp->iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ In file included from ip_fragment.c:22: nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c:507:7: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 507 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_INVLIST, qp->iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c: In function ‘ip_defrag’: ip_fragment.c:589:24: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(long unsigned int)’ [-Wincompatible-pointer-types] 589 | qp->timer.function = ip_expire; /* expire function */ | ^ ip_fragment.c:364:1: note: ‘ip_expire’ declared here 364 | ip_expire(unsigned long arg) | ^~~~~~~~~ ip_fragment.c:602:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 602 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERSIZED, iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c:633:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 633 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERLAP, iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c:646:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 646 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERLAP, iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c: In function ‘ip_defrag_stub’: ip_fragment.c:718:5: error: too many arguments to function ‘timer_head->function’; expected 0, have 1 718 | timer_head->function(timer_head->data); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ ip_fragment.c:46:10: note: declared here 46 | void (*function)(); | ^~~~~~~~ ip_fragment.c: In function ‘ip_create’: ip_fragment.c:427:22: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(long unsigned int)’ [-Wincompatible-pointer-types] 427 | qp->timer.function = ip_expire; /* expire function */ | ^ ip_fragment.c:364:1: note: ‘ip_expire’ declared here 364 | ip_expire(unsigned long arg) | ^~~~~~~~~ ip_fragment.c: In function ‘ip_glue’: ip_fragment.c:486:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 486 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERSIZED, qp->iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ In file included from ip_fragment.c:22: nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c:507:7: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 507 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_INVLIST, qp->iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c: In function ‘ip_defrag’: ip_fragment.c:589:24: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(long unsigned int)’ [-Wincompatible-pointer-types] 589 | qp->timer.function = ip_expire; /* expire function */ | ^ ip_fragment.c:364:1: note: ‘ip_expire’ declared here 364 | ip_expire(unsigned long arg) | ^~~~~~~~~ ip_fragment.c:602:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 602 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERSIZED, iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c:633:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 633 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERLAP, iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c:646:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 646 | nids_params.syslog(NIDS_WARN_IP, NIDS_WARN_IP_OVERLAP, iph, 0); | ^~~~~~~~~~~ ~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ ip_fragment.c: In function ‘ip_defrag_stub’: ip_fragment.c:718:5: error: too many arguments to function ‘timer_head->function’; expected 0, have 1 718 | timer_head->function(timer_head->data); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ ip_fragment.c:46:10: note: declared here 46 | void (*function)(); | ^~~~~~~~ scan.c: In function ‘detect_scan’: scan.c:124:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 124 | nids_params.syslog(NIDS_WARN_SCAN, 0, 0, this_host); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~ In file included from scan.c:15: nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ make[1]: *** [Makefile:37: ip_fragment.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:45: ip_fragment_pic.o] Error 1 make[1]: *** Waiting for unfinished jobs.... scan.c: In function ‘detect_scan’: scan.c:124:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 124 | nids_params.syslog(NIDS_WARN_SCAN, 0, 0, this_host); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~ In file included from scan.c:15: nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ make[1]: *** [Makefile:53: scan_pic.o] Error 1 make[1]: *** [Makefile:37: scan.o] Error 1 tcp.c: In function ‘tcp_check_timeouts’: tcp.c:182:9: error: too many arguments to function ‘i->item’; expected 0, have 2 182 | (i->item) (to->a_tcp, &i->data); | ~~^~~~~~~ ~~~~~~~~~ In file included from tcp.c:21: util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function ‘add_new_tcp’: tcp.c:274:9: error: too many arguments to function ‘i->item’; expected 0, have 2 274 | (i->item) (tcp_oldest, &i->data); | ~~^~~~~~~ ~~~~~~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c:277:7: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 277 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_TOOMUCH, ugly_iphdr, this_tcphdr); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ In file included from tcp.c:22: nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c: In function ‘ride_lurkers’: tcp.c:356:9: error: too many arguments to function ‘i->item’; expected 0, have 2 356 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function ‘prune_queue’: tcp.c:604:3: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 604 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_BIGQUEUE, ugly_iphdr, this_tcphdr); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c: In function ‘tcp_exit’: tcp.c:693:13: error: too many arguments to function ‘j->item’; expected 0, have 2 693 | (j->item)(t_tcp, &j->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function ‘tcp_check_timeouts’: tcp.c: In function ‘process_tcp’: tcp.c:722:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 722 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c:730:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 730 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c:182:9: error: too many arguments to function ‘i->item’; expected 0, have 2 182 | (i->item) (to->a_tcp, &i->data); | ~~^~~~~~~ ~~~~~~~~~ tcp.c:736:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 736 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ In file included from tcp.c:21: util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c:745:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 745 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c:827:11: error: too many arguments to function ‘i->item’; expected 0, have 2 827 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function ‘add_new_tcp’: tcp.c:274:9: error: too many arguments to function ‘i->item’; expected 0, have 2 274 | (i->item) (tcp_oldest, &i->data); | ~~^~~~~~~ ~~~~~~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c:277:7: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 277 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_TOOMUCH, ugly_iphdr, this_tcphdr); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ In file included from tcp.c:22: nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c:859:15: error: too many arguments to function ‘i->item’; expected 0, have 2 859 | (i->item) (a_tcp, &data); | ~~^~~~~~~ ~~~~~ util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ tcp.c:906:11: error: too many arguments to function ‘i->item’; expected 0, have 2 906 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function ‘ride_lurkers’: tcp.c:356:9: error: too many arguments to function ‘i->item’; expected 0, have 2 356 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function ‘process_icmp’: tcp.c:1050:7: error: too many arguments to function ‘i->item’; expected 0, have 2 1050 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function ‘prune_queue’: tcp.c:604:3: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 604 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_BIGQUEUE, ugly_iphdr, this_tcphdr); | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c: In function ‘tcp_exit’: tcp.c:693:13: error: too many arguments to function ‘j->item’; expected 0, have 2 693 | (j->item)(t_tcp, &j->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function ‘process_tcp’: tcp.c:722:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 722 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c:730:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 730 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c:736:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 736 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c:745:5: error: too many arguments to function ‘nids_params.syslog’; expected 0, have 4 745 | nids_params.syslog(NIDS_WARN_TCP, NIDS_WARN_TCP_HDR, this_iphdr, | ^~~~~~~~~~~ ~~~~~~~~~~~~~ nids.h:120:10: note: declared here 120 | void (*syslog) (); | ^~~~~~ tcp.c:827:11: error: too many arguments to function ‘i->item’; expected 0, have 2 827 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c:859:15: error: too many arguments to function ‘i->item’; expected 0, have 2 859 | (i->item) (a_tcp, &data); | ~~^~~~~~~ ~~~~~ util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ tcp.c:906:11: error: too many arguments to function ‘i->item’; expected 0, have 2 906 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ tcp.c: In function ‘process_icmp’: tcp.c:1050:7: error: too many arguments to function ‘i->item’; expected 0, have 2 1050 | (i->item) (a_tcp, &i->data); | ~~^~~~~~~ ~~~~~ util.h:18:10: note: declared here 18 | void (*item)(); | ^~~~ make[1]: *** [Makefile:37: tcp.o] Error 1 make[1]: *** [Makefile:55: tcp_pic.o] Error 1 libnids.c:97:5: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, struct ip *, void *)’ [-Wincompatible-pointer-types] 97 | nids_syslog, /* syslog() */ | ^~~~~~~~~~~ libnids.c:97:5: note: (near initialization for ‘nids_params.syslog’) libnids.c:42:13: note: ‘nids_syslog’ declared here 42 | static void nids_syslog(int, int, struct ip *, void *); | ^~~~~~~~~~~ libnids.c:103:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(struct ip *, int)’ [-Wincompatible-pointer-types] 103 | nids_ip_filter, /* ip_filter() */ | ^~~~~~~~~~~~~~ libnids.c:103:5: note: (near initialization for ‘nids_params.ip_filter’) libnids.c:43:12: note: ‘nids_ip_filter’ declared here 43 | static int nids_ip_filter(struct ip *, int); | ^~~~~~~~~~~~~~ libnids.c:97:5: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(int, int, struct ip *, void *)’ [-Wincompatible-pointer-types] 97 | nids_syslog, /* syslog() */ | ^~~~~~~~~~~ libnids.c:97:5: note: (near initialization for ‘nids_params.syslog’) libnids.c:42:13: note: ‘nids_syslog’ declared here 42 | static void nids_syslog(int, int, struct ip *, void *); | ^~~~~~~~~~~ libnids.c:103:5: error: initialization of ‘int (*)(void)’ from incompatible pointer type ‘int (*)(struct ip *, int)’ [-Wincompatible-pointer-types] 103 | nids_ip_filter, /* ip_filter() */ | ^~~~~~~~~~~~~~ libnids.c:103:5: note: (near initialization for ‘nids_params.ip_filter’) libnids.c:43:12: note: ‘nids_ip_filter’ declared here 43 | static int nids_ip_filter(struct ip *, int); | ^~~~~~~~~~~~~~ libnids.c: In function ‘call_ip_frag_procs’: libnids.c:200:11: error: too many arguments to function ‘i->item’; expected 0, have 2 200 | (i->item) (data, caplen); | ~~^~~~~~~ ~~~~ In file included from libnids.c:29: util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ libnids.c: In function ‘call_ip_frag_procs’: libnids.c:200:11: error: too many arguments to function ‘i->item’; expected 0, have 2 200 | (i->item) (data, caplen); | ~~^~~~~~~ ~~~~ In file included from libnids.c:29: util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ libnids.c: In function ‘gen_ip_frag_proc’: libnids.c:370:9: error: initialization of ‘void (*)(int, int, struct ip *, void *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 370 | nids_params.syslog; | ^~~~~~~~~~~ libnids.c:372:10: error: too many arguments to function ‘nids_params.ip_filter’; expected 0, have 2 372 | if (!nids_params.ip_filter(iph, len)) | ^~~~~~~~~~~ ~~~ In file included from libnids.c:30: nids.h:126:9: note: declared here 126 | int (*ip_filter) (); | ^~~~~~~~~ libnids.c: In function ‘gen_ip_frag_proc’: libnids.c:370:9: error: initialization of ‘void (*)(int, int, struct ip *, void *)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 370 | nids_params.syslog; | ^~~~~~~~~~~ libnids.c:372:10: error: too many arguments to function ‘nids_params.ip_filter’; expected 0, have 2 372 | if (!nids_params.ip_filter(iph, len)) | ^~~~~~~~~~~ ~~~ In file included from libnids.c:30: nids.h:126:9: note: declared here 126 | int (*ip_filter) (); | ^~~~~~~~~ libnids.c:404:11: error: too many arguments to function ‘i->item’; expected 0, have 2 404 | (i->item) (iph, skblen); | ~~^~~~~~~ ~~~ util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ libnids.c:404:11: error: too many arguments to function ‘i->item’; expected 0, have 2 404 | (i->item) (iph, skblen); | ~~^~~~~~~ ~~~ util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ libnids.c: In function ‘process_udp’: libnids.c:443:9: error: too many arguments to function ‘ipp->item’; expected 0, have 4 443 | ipp->item(&addr, ((char *) udph) + sizeof(struct udphdr), | ^~~ ~~~~~ util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ libnids.c: In function ‘process_udp’: libnids.c:443:9: error: too many arguments to function ‘ipp->item’; expected 0, have 4 443 | ipp->item(&addr, ((char *) udph) + sizeof(struct udphdr), | ^~~ ~~~~~ util.h:13:10: note: declared here 13 | void (*item)(); | ^~~~ libnids.c: In function ‘init_procs’: libnids.c:468:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(u_char *, int)’ {aka ‘void (*)(unsigned char *, int)’} [-Wincompatible-pointer-types] 468 | ip_frag_procs->item = gen_ip_frag_proc; | ^ libnids.c:363:13: note: ‘gen_ip_frag_proc’ declared here 363 | static void gen_ip_frag_proc(u_char * data, int len) | ^~~~~~~~~~~~~~~~ libnids.c:471:20: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(u_char *, int)’ {aka ‘void (*)(unsigned char *, int)’} [-Wincompatible-pointer-types] 471 | ip_procs->item = gen_ip_proc; | ^ libnids.c: In function ‘init_procs’: libnids.c:448:13: note: ‘gen_ip_proc’ declared here 448 | static void gen_ip_proc(u_char * data, int skblen) | ^~~~~~~~~~~ libnids.c:468:25: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(u_char *, int)’ {aka ‘void (*)(unsigned char *, int)’} [-Wincompatible-pointer-types] 468 | ip_frag_procs->item = gen_ip_frag_proc; | ^ libnids.c:363:13: note: ‘gen_ip_frag_proc’ declared here 363 | static void gen_ip_frag_proc(u_char * data, int len) | ^~~~~~~~~~~~~~~~ libnids.c:471:20: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘void (*)(u_char *, int)’ {aka ‘void (*)(unsigned char *, int)’} [-Wincompatible-pointer-types] 471 | ip_procs->item = gen_ip_proc; | ^ libnids.c:448:13: note: ‘gen_ip_proc’ declared here 448 | static void gen_ip_proc(u_char * data, int skblen) | ^~~~~~~~~~~ libnids.c: In function ‘open_live’: libnids.c:513:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 513 | nids_params.device = pcap_lookupdev(nids_errbuf); | ^~~~~~~~~~~ libnids.c: In function ‘open_live’: libnids.c:513:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 513 | nids_params.device = pcap_lookupdev(nids_errbuf); | ^~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from libnids.c:18: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from libnids.c:18: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ libnids.c: In function ‘nids_init’: libnids.c:663:28: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 663 | if (nids_params.syslog == nids_syslog) | ^~ libnids.c: In function ‘nids_init’: libnids.c:673:10: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 673 | g_thread_init(NULL); | ^~~~~~~~~~~~~ libnids.c:663:28: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 663 | if (nids_params.syslog == nids_syslog) | ^~ libnids.c:673:10: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 673 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:115, from libnids.c:32: /usr/include/glib-2.0/glib/deprecated/gthread.h:271:10: note: declared here 271 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:115, from libnids.c:32: /usr/include/glib-2.0/glib/deprecated/gthread.h:271:10: note: declared here 271 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ libnids.c: In function ‘nids_run’: libnids.c:690:5: warning: ‘g_thread_create_full’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 690 | START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function ‘nids_run’: libnids.c:690:5: warning: ‘g_thread_create_full’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 690 | START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function ‘nids_next’: libnids.c:750:5: warning: ‘g_thread_create_full’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 750 | START_CAP_QUEUE_PROCESS_THREAD(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function ‘nids_next’: libnids.c:750:5: warning: ‘g_thread_create_full’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 750 | START_CAP_QUEUE_PROCESS_THREAD(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function ‘nids_dispatch’: libnids.c:764:5: warning: ‘g_thread_create_full’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 764 | START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ libnids.c: In function ‘nids_dispatch’: libnids.c:764:5: warning: ‘g_thread_create_full’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 764 | START_CAP_QUEUE_PROCESS_THREAD(); /* threading... */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/deprecated/gthread.h:108:10: note: declared here 108 | GThread *g_thread_create_full (GThreadFunc func, | ^~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:37: libnids.o] Error 1 make[1]: *** [Makefile:51: libnids_pic.o] Error 1 make[1]: Leaving directory '/startdir/src/libnids-1.26/src' make[1]: Leaving directory '/startdir/src/libnids-1.26/src' make: *** [Makefile:10: static] Error 2 make: *** Waiting for unfinished jobs.... make: *** [Makefile:10: shared] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_35cc470a-5aed-4f1b-bfbb-ca190fed479e/build