D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
warning: line 42: It's not recommended to have unversioned Obsoletes: Obsoletes:	lib64nids1-devel
Installing /home/pterjan/rpmbuild/SRPMS/libnids-1.26-2.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ivsQsQ
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.syyTKK
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libnids-1.26-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/libnids-1.26-build
+ rm -rf libnids-1.26
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/libnids-1.26.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libnids-1.26
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (libnids-1.18-libnet_config.diff):'
Patch #0 (libnids-1.18-libnet_config.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file configure.in
Hunk #1 succeeded at 142 (offset 15 lines).
Hunk #2 succeeded at 162 (offset 15 lines).
+ echo 'Patch #1 (libnids-1.19-x86-pic.diff):'
Patch #1 (libnids-1.19-x86-pic.diff):
+ /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0
patching file src/checksum.c
Hunk #1 succeeded at 50 (offset 21 lines).
Hunk #2 succeeded at 106 (offset 21 lines).
+ echo 'Patch #2 (libnids-1.24-no-inline.patch):'
Patch #2 (libnids-1.24-no-inline.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file src/checksum.c
+ perl -pi -e 's|^LIBSHARED.*|LIBSHARED = libnids.so.1|g' src/Makefile.in
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5ROb53
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/libnids-1.26-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd libnids-1.26
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: Entering directory '.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force 
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: configure.in: not using Intltool
autoreconf: configure.in: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.in:9: warning: The macro 'AC_CANONICAL_SYSTEM' is obsolete.
configure.in:9: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.in:9: the top level
configure.in:11: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.in:11: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.in:11: the top level
configure.in:29: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.in:29: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.in:29: the top level
configure.in:35: warning: The macro 'AC_HEADER_TIME' is obsolete.
configure.in:35: You should run autoupdate.
./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from...
configure.in:35: the top level
configure.in:60: warning: The macro 'AC_ERROR' is obsolete.
configure.in:60: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.in:60: the top level
configure.in:60: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:60: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.in:60: the top level
configure.in:60: warning: The macro 'AC_ERROR' is obsolete.
configure.in:60: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.in:60: the top level
configure.in:118: warning: The macro 'AC_ERROR' is obsolete.
configure.in:118: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.in:118: the top level
configure.in:134: warning: The macro 'AC_ERROR' is obsolete.
configure.in:134: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.in:134: the top level
configure.in:182: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.in:182: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.in:182: the top level
configure.in:191: warning: The macro 'AC_ERROR' is obsolete.
configure.in:191: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
configure.in:191: the top level
configure.in:200: warning: The macro 'AC_ERROR' is obsolete.
configure.in:200: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
configure.in:200: the top level
configure.in:219: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:219: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.in:219: the top level
configure.in:228: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:228: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.in:228: the top level
configure.in:237: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:237: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.in:237: the top level
configure.in:248: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.in:248: You should run autoupdate.
./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
configure.in:248: the top level
configure.in:256: warning: AC_OUTPUT should be used without arguments.
configure.in:256: You should run autoupdate.
autoreconf: running: /usr/bin/autoheader --force
autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.in: not using Automake
autoreconf: './config.sub' is updated
autoreconf: './config.guess' is updated
autoreconf: './install-sh' is updated
autoreconf: Leaving directory '.'
+ export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-static
configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-static
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking target system type... x86_64-mageia-linux-gnu
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for sys/time.h... (cached) 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 byte ordering is bigendian... no
checking for gettimeofday... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for libpcap... yes
checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib-2.0 >= 2.2.0... yes
checking for gthread-2.0 >= 2.2.0... 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: WARNING:  'src/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating samples/Makefile
config.status: creating src/config.h
configure: WARNING: unrecognized options: --disable-dependency-tracking, --enable-static
+ /usr/bin/make -O -j16 V=1 VERBOSE=1 shared static
cd src ; /usr/bin/make  shared
cd src ; /usr/bin/make  static
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread scan.c
In file included from /usr/include/sys/types.h:25,
                 from scan.c:6:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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: scan.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c scan.c -o scan_pic.o
In file included from /usr/include/sys/types.h:25,
                 from scan.c:6:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread ip_fragment.c
In file included from /usr/include/sys/types.h:25,
                 from ip_fragment.c:7:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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)();
      |          ^~~~~~~~
make[1]: *** [Makefile:37: ip_fragment.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c ip_fragment.c -o ip_fragment_pic.o
In file included from /usr/include/sys/types.h:25,
                 from ip_fragment.c:7:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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)();
      |          ^~~~~~~~
make[1]: *** [Makefile:45: ip_fragment_pic.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread util.c
In file included from /usr/include/sys/types.h:25,
                 from util.c:7:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c ip_options.c -o ip_options_pic.o
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from ip_options.c:6:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread ip_options.c
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from ip_options.c:6:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread allpromisc.c
In file included from /usr/include/sys/types.h:25,
                 from nids.h:9,
                 from allpromisc.c:1:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread tcp.c
In file included from /usr/include/sys/types.h:25,
                 from tcp.c:7:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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 '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]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c checksum.c -o checksum_pic.o
In file included from /usr/include/sys/types.h:25,
                 from checksum.c:2:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread checksum.c
In file included from /usr/include/sys/types.h:25,
                 from checksum.c:2:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c killtcp.c -o killtcp_pic.o
In file included from /usr/include/sys/types.h:25,
                 from killtcp.c:7:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread killtcp.c
In file included from /usr/include/sys/types.h:25,
                 from killtcp.c:7:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c tcp.c -o tcp_pic.o
In file included from /usr/include/sys/types.h:25,
                 from tcp.c:7:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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 '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:55: tcp_pic.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c libnids.c -o libnids_pic.o
In file included from /usr/include/sys/types.h:25,
                 from libnids.c:7:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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 '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: 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: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);
      |         ^~~~~~~~~~~
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: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);
      |          ^~~~~~~~~~~~~
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_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:51: libnids_pic.o] Error 1
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make: *** [Makefile:10: shared] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
gcc -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -D_BSD_SOURCE -DLIBNET_VER=1 -DHAVE_ICMPHDR=1 -DHAVE_TCP_STATES=1 -DHAVE_BSD_UDPHDR=1 -I. -I/usr/include -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread libnids.c
In file included from /usr/include/sys/types.h:25,
                 from libnids.c:7:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
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 '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: 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: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);
      |         ^~~~~~~~~~~
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: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);
      |          ^~~~~~~~~~~~~
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_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]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libnids-1.26-build/libnids-1.26/src'
make: *** [Makefile:10: static] Error 2
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5ROb53 (%build)

RPM build warnings:
    line 42: It's not recommended to have unversioned Obsoletes: Obsoletes:	lib64nids1-devel

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.5ROb53 (%build)
I: [iurt_root_command] ERROR: chroot