>>> daq 2.0.7 Extracting gzip -d -c /home/buildroot/instance-0/dl/daq/daq-2.0.7-modified.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/daq-2.0.7 -xf - >>> daq 2.0.7 Patching Applying 0001-Fix-build-against-the-musl-C-library.patch using patch: patching file os-daq-modules/daq_ipfw.c Hunk #1 succeeded at 27 (offset 1 line). patching file os-daq-modules/daq_ipq.c Hunk #1 succeeded at 28 (offset 1 line). patching file os-daq-modules/daq_nfq.c Hunk #1 succeeded at 28 (offset 1 line). Applying 0002-parallel-grammar.patch using patch: patching file sfbpf/Makefile.am >>> daq 2.0.7 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/daq-2.0.7 -name $file); do cp support/gnuconfig/$file $i; done; done >>> daq 2.0.7 Configuring >>> daq 2.0.7 Autoreconfiguring libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:13: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:13: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:13: the top level configure.ac:18: warning: The macro 'AC_LANG_C' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ax_cflags_gcc_option.m4:150: AX_CFLAGS_GCC_OPTION_NEW is expanded from... m4/ax_cflags_gcc_option.m4:221: AX_CFLAGS_GCC_OPTION is expanded from... m4/sf.m4:33: AC_SF_COMPILER_SETUP is expanded from... configure.ac:18: the top level configure.ac:18: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:18: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/ax_cflags_gcc_option.m4:150: AX_CFLAGS_GCC_OPTION_NEW is expanded from... m4/ax_cflags_gcc_option.m4:221: AX_CFLAGS_GCC_OPTION is expanded from... m4/sf.m4:33: AC_SF_COMPILER_SETUP is expanded from... configure.ac:18: the top level configure.ac:22: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:22: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:22: the top level configure.ac:109: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:109: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:109: the top level configure.ac:120: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:120: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:120: the top level configure.ac:133: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:133: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:133: the top level configure.ac:146: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:146: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:146: the top level configure.ac:155: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:155: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:155: the top level configure.ac:171: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:171: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:171: the top level configure.ac:187: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:187: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:187: the top level configure.ac:200: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:200: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:200: the top level configure.ac:12: installing './compile' configure.ac:9: installing './missing' api/Makefile.am: installing './depcomp' >>> daq 2.0.7 Patching libtool patching file /home/buildroot/instance-0/output-1/build/daq-2.0.7/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /home/buildroot/instance-0/output-1/build/daq-2.0.7/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/mips-linux-as" LD="/home/buildroot/instance-0/output-1/host/bin/mips-linux-ld" NM="/home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/mips-linux-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/mips-linux-g++" FC="/home/buildroot/instance-0/output-1/host/bin/mips-linux-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/mips-linux-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/mips-linux-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/mips-linux-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/mips-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/mips-linux-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/mips-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3" LDFLAGS="" FCFLAGS=" -O3 -g1" FFLAGS=" -O3 -g1" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=yes ac_cv_lib_pcap_pcap_lib_version=yes daq_cv_libpcap_version_1x=yes CONFIG_SITE=/dev/null ./configure --target=mips-buildroot-linux-gnu --host=mips-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-ipq-module --with-dnet-includes=/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include --with-dnet-libraries=/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/lib --enable-nfq-module --enable-pcap-module ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mips-buildroot-linux-gnu-strip... /bin/true checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for mips-buildroot-linux-gnu-gcc... /home/buildroot/instance-0/output-1/host/bin/mips-linux-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... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc option to enable C11 features... none needed checking whether /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... mips-buildroot-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc... /home/buildroot/instance-0/output-1/host/bin/mips-linux-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/mips-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-nm checking the name lister (/home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to mips-buildroot-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/instance-0/output-1/host/bin/mips-linux-ld option to reload object files... -r checking for mips-buildroot-linux-gnu-objdump... /home/buildroot/instance-0/output-1/host/bin/mips-linux-objdump checking how to recognize dependent libraries... pass_all checking for mips-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for mips-buildroot-linux-gnu-ar... /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-ar checking for archiver @FILE support... @ checking for mips-buildroot-linux-gnu-strip... (cached) /bin/true checking for mips-buildroot-linux-gnu-ranlib... /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-ranlib checking command to parse /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-nm output from /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mips-buildroot-linux-gnu-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no 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/param.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc static flag -static works... yes checking if /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc supports -c -o file.o... yes checking if /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc linker (/home/buildroot/instance-0/output-1/host/bin/mips-linux-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for visibility support... yes checking CFLAGS for gcc -Wall... -Wall checking CFLAGS for gcc -Wwrite-strings... -Wwrite-strings checking CFLAGS for gcc -Wsign-compare... -Wsign-compare checking CFLAGS for gcc -Wcast-align... -Wcast-align checking CFLAGS for gcc -Wextra... -Wextra checking CFLAGS for gcc -Wformat... -Wformat checking CFLAGS for gcc -Wformat-security... -Wformat-security checking CFLAGS for gcc -Wno-unused-parameter... -Wno-unused-parameter checking CFLAGS for gcc -fno-strict-aliasing... -fno-strict-aliasing checking CFLAGS for gcc -fdiagnostics-show-option... -fdiagnostics-show-option checking CFLAGS for gcc -pedantic -std=c99 -D_GNU_SOURCE... -pedantic -std=c99 -D_GNU_SOURCE checking for getaddrinfo... yes checking for flex... flex checking for flex 2.4 or higher... yes checking for bison... bison checking for linux/if_ether.h... yes checking for linux/if_packet.h... yes checking for /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc options needed to detect all undeclared functions... none needed checking whether TPACKET2_HDRLEN is declared... yes checking whether PACKET_TX_RING is declared... yes checking for pcap.h... yes checking for pcap_lib_version in -lpcap... (cached) yes checking for netinet/in.h... yes checking for libnetfilter_queue/libnetfilter_queue.h... yes checking for linux/netfilter.h... yes checking for pcap.h... (cached) yes checking for pcap_lib_version... checking for pcap_lib_version in -lpcap... (cached) yes checking for libpcap version >= "1.0.0"... (cached) yes checking for net/netmap.h... no checking for net/netmap_user.h... no checking whether NETMAP_API is declared... no checking for dnet.h... yes checking for dumbnet.h... no checking for eth_set in -ldnet... yes checking for eth_set in -ldumbnet... no checking for dlopen in -ldl... yes checking for inttypes.h... (cached) yes checking for memory.h... yes checking for netdb.h... yes checking for netinet/in.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... (cached) yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for inline... inline checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for GNU libc compatible malloc... (cached) yes checking for getpagesize... yes checking for working mmap... (cached) yes checking for gethostbyname... yes checking for getpagesize... (cached) yes checking for memset... yes checking for munmap... yes checking for socket... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for strtoul... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating api/Makefile config.status: creating os-daq-modules/Makefile config.status: creating os-daq-modules/daq-modules-config config.status: creating sfbpf/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-nls Build AFPacket DAQ module.. : yes Build Dump DAQ module...... : yes Build IPFW DAQ module...... : yes Build IPQ DAQ module....... : no Build NFQ DAQ module....... : yes Build PCAP DAQ module...... : yes Build netmap DAQ module.... : no >>> daq 2.0.7 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/daq-2.0.7/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7' Making all in api make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7/api' /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_base.lo daq_base.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_mod_ops.lo daq_mod_ops.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DSTATIC_MODULE_LIST -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_la-daq_base.lo `test -f 'daq_base.c' || echo './'`daq_base.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DSTATIC_MODULE_LIST -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_la-daq_mod_ops.lo `test -f 'daq_mod_ops.c' || echo './'`daq_mod_ops.c libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_mod_ops.c -fPIC -DPIC -o .libs/daq_mod_ops.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_base.c -fPIC -DPIC -o .libs/daq_base.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DSTATIC_MODULE_LIST -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_base.c -fPIC -DPIC -o .libs/libdaq_static_la-daq_base.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DSTATIC_MODULE_LIST -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_mod_ops.c -fPIC -DPIC -o .libs/libdaq_static_la-daq_mod_ops.o daq_base.c: In function 'daq_load_modules': daq_base.c:313:28: warning: the comparison will always evaluate as 'false' for the address of 'd_name' will never be NULL [-Waddress] 313 | if (de->d_name == NULL) | ^~ In file included from /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/dirent.h:61, from daq_base.c:27: /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/bits/dirent.h:33:10: note: 'd_name' declared here 33 | char d_name[256]; /* We must not include limits.h! */ | ^~~~~~ daq_base.c: In function 'daq_load_modules': daq_base.c:313:28: warning: the comparison will always evaluate as 'false' for the address of 'd_name' will never be NULL [-Waddress] 313 | if (de->d_name == NULL) | ^~ In file included from /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/dirent.h:61, from daq_base.c:27: /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/bits/dirent.h:33:10: note: 'd_name' declared here 33 | char d_name[256]; /* We must not include limits.h! */ | ^~~~~~ daq_base.c: In function 'daq_config_set_value': daq_base.c:535:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 535 | __FUNCTION__, (unsigned long) sizeof(struct _daq_dict_entry)); | ^~~~~~~~~~~~ daq_base.c:542:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 542 | __FUNCTION__, (unsigned long) (strlen(key) + 1)); | ^~~~~~~~~~~~ daq_base.c:555:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 555 | __FUNCTION__, (unsigned long) (strlen(value) + 1)); | ^~~~~~~~~~~~ daq_base.c: In function 'daq_config_set_value': daq_base.c:535:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 535 | __FUNCTION__, (unsigned long) sizeof(struct _daq_dict_entry)); | ^~~~~~~~~~~~ daq_base.c:542:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 542 | __FUNCTION__, (unsigned long) (strlen(key) + 1)); | ^~~~~~~~~~~~ daq_base.c:555:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 555 | __FUNCTION__, (unsigned long) (strlen(value) + 1)); | ^~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -version-info 2:4:0 -o libdaq.la -rpath /usr/lib daq_base.lo daq_mod_ops.lo -ldl /bin/sh ../libtool --tag=CC --mode=link /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DSTATIC_MODULE_LIST -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -static -o libdaq_static.la -rpath /usr/lib libdaq_static_la-daq_base.lo libdaq_static_la-daq_mod_ops.lo libtool: link: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -shared -fPIC -DPIC .libs/daq_base.o .libs/daq_mod_ops.o -ldl -O3 -g1 -Wl,-soname -Wl,libdaq.so.2 -o .libs/libdaq.so.2.0.4 libtool: link: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-ar cru .libs/libdaq_static.a .libs/libdaq_static_la-daq_base.o .libs/libdaq_static_la-daq_mod_ops.o libtool: link: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc-ranlib .libs/libdaq_static.a libtool: link: ( cd ".libs" && rm -f "libdaq_static.la" && ln -s "../libdaq_static.la" "libdaq_static.la" ) libtool: link: (cd ".libs" && rm -f "libdaq.so.2" && ln -s "libdaq.so.2.0.4" "libdaq.so.2") libtool: link: (cd ".libs" && rm -f "libdaq.so" && ln -s "libdaq.so.2.0.4" "libdaq.so") libtool: link: ( cd ".libs" && rm -f "libdaq.la" && ln -s "../libdaq.la" "libdaq.la" ) make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7/api' Making all in sfbpf make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7/sfbpf' /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_bpf_filter.lo `test -f 'sf_bpf_filter.c' || echo './'`sf_bpf_filter.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_bpf_printer.lo `test -f 'sf_bpf_printer.c' || echo './'`sf_bpf_printer.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_gencode.lo `test -f 'sf_gencode.c' || echo './'`sf_gencode.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_nametoaddr.lo `test -f 'sf_nametoaddr.c' || echo './'`sf_nametoaddr.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_optimize.lo `test -f 'sf_optimize.c' || echo './'`sf_optimize.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sfbpf-int.lo `test -f 'sfbpf-int.c' || echo './'`sfbpf-int.c bison -y -p sfbpf_ -d ./grammar.y ./grammar.y:291.13-14: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 291 | %type ID | ^~ ./grammar.y:292.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 292 | %type EID | ^~~ ./grammar.y:293.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 293 | %type AID | ^~~ ./grammar.y:294.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 294 | %type HID HID6 | ^~~ ./grammar.y:294.17-20: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 294 | %type HID HID6 | ^~~~ ./grammar.y:295.13-15: warning: POSIX yacc reserves %type to nonterminals [-Wyacc] 295 | %type NUM action reason type subtype type_subtype dir | ^~~ libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_bpf_printer.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_bpf_printer.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_gencode.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_gencode.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_optimize.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_optimize.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_nametoaddr.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_nametoaddr.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sfbpf-int.c -fPIC -DPIC -o .libs/libsfbpf_la-sfbpf-int.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_bpf_filter.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_bpf_filter.o sf_optimize.c: In function 'opt_peep': sf_optimize.c:934:20: warning: comparison of integer expressions of different signedness: 'sfbpf_int32' {aka 'int'} and 'unsigned int' [-Wsign-compare] 934 | if (b->s.k == 0xffffffff) | ^~ sf_optimize.c:965:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'sfbpf_int32' {aka 'int'} [-Wsign-compare] 965 | v = (unsigned) v > b->s.k; | ^ sf_optimize.c:969:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'sfbpf_int32' {aka 'int'} [-Wsign-compare] 969 | v = (unsigned) v >= b->s.k; | ^~ sf_bpf_filter.c:73:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 73 | #if defined(__hpux) || SOLARIS | ^~~~~~~ sf_bpf_filter.c:73:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] sf_bpf_filter.c:73:24: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] In file included from sf_gencode.c:78: sf_gencode.c: In function 'sf_sdup': sfbpf-int.h:44:44: warning: right-hand operand of comma expression has no effect [-Wunused-value] 43 | (strncpy((x), (y), (z)), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | ((z) <= 0 ? 0 : ((x)[(z) - 1] = '\0')), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 45 | strlen((y))) | ~~~~~~~~~~~~ sf_gencode.c:339:5: note: in expansion of macro 'strlcpy' 339 | strlcpy(cp, s, n); | ^~~~~~~ sf_optimize.c: In function 'convert_code_r': sf_optimize.c:2173:23: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2173 | for (off = 0; off < slen && src; off++) | ^ sf_optimize.c:2201:17: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2201 | if (off == slen - 2) /*??? */ | ^~ sf_optimize.c: At top level: sf_optimize.c:27:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 27 | static const char rcsid[] = | ^~~~~ In file included from sf_bpf_filter.c:111: sf_bpf_filter.c: In function 'sfbpf_filter': sf_bpf_filter.c:115:41: warning: cast increases required alignment of target type [-Wcast-align] 115 | #define EXTRACT_LONG(p) (ntohl(*(u_int32 *)p)) | ^ sf_bpf_filter.c:278:21: note: in expansion of macro 'EXTRACT_LONG' 278 | A = EXTRACT_LONG(&p[k]); | ^~~~~~~~~~~~ sf_bpf_filter.c:114:50: warning: cast increases required alignment of target type [-Wcast-align] 114 | #define EXTRACT_SHORT(p) ((u_short)ntohs(*(u_short *)p)) | ^ sf_bpf_filter.c:296:21: note: in expansion of macro 'EXTRACT_SHORT' 296 | A = EXTRACT_SHORT(&p[k]); | ^~~~~~~~~~~~~ sf_bpf_filter.c:301:23: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 301 | if (k >= buflen) | ^~ sf_bpf_filter.c:115:41: warning: cast increases required alignment of target type [-Wcast-align] 115 | #define EXTRACT_LONG(p) (ntohl(*(u_int32 *)p)) | ^ sf_bpf_filter.c:340:21: note: in expansion of macro 'EXTRACT_LONG' 340 | A = EXTRACT_LONG(&p[k]); | ^~~~~~~~~~~~ sf_bpf_filter.c:114:50: warning: cast increases required alignment of target type [-Wcast-align] 114 | #define EXTRACT_SHORT(p) ((u_short)ntohs(*(u_short *)p)) | ^ sf_bpf_filter.c:358:21: note: in expansion of macro 'EXTRACT_SHORT' 358 | A = EXTRACT_SHORT(&p[k]); | ^~~~~~~~~~~~~ sf_bpf_filter.c:363:23: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 363 | if (k >= buflen) | ^~ sf_bpf_filter.c:381:23: warning: comparison of integer expressions of different signedness: 'int' and 'u_int' {aka 'unsigned int'} [-Wsign-compare] 381 | if (k >= buflen) | ^~ sf_bpf_filter.c: In function 'sfbpf_validate': sf_bpf_filter.c:566:19: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 566 | for (i = 0; i < len; ++i) | ^ sf_bpf_filter.c:669:41: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 669 | if (from + p->k >= len) | ^~ sf_bpf_filter.c:677:42: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 677 | if (from + p->jt >= len || from + p->jf >= len) | ^~ sf_bpf_filter.c:677:65: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 677 | if (from + p->jt >= len || from + p->jf >= len) | ^~ sf_gencode.c: In function 'sf_gen_scode': sf_bpf_filter.c: At top level: sf_bpf_filter.c:45:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 45 | static const char rcsid[] = | ^~~~~ sf_gencode.c:6047:34: warning: comparison of integer expressions of different signedness: 'u_int' {aka 'unsigned int'} and 'int' [-Wsign-compare] 6047 | if (off_linktype == -1 && tproto == Q_DEFAULT) | ^~ sf_nametoaddr.c:29:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 29 | static const char rcsid[] = | ^~~~~ sf_gencode.c:6060:36: warning: cast increases required alignment of target type [-Wcast-align] 6060 | sin4 = (struct sockaddr_in *) res->ai_addr; | ^ sf_gencode.c:6067:36: warning: cast increases required alignment of target type [-Wcast-align] 6067 | sin6 = (struct sockaddr_in6 *) res->ai_addr; | ^ sf_gencode.c: In function 'sf_gen_mcode6': sf_gencode.c:6405:14: warning: cast increases required alignment of target type [-Wcast-align] 6405 | addr = &((struct sockaddr_in6 *) res->ai_addr)->sin6_addr; | ^ sf_gencode.c:6407:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 6407 | if (sizeof(mask) * 8 < masklen) | ^ sf_gencode.c: In function 'sf_gen_ncode': sf_gencode.c:6374:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 6374 | syntax(); | ^~~~~~~~ sf_gencode.c:6377:9: note: here 6377 | default: | ^~~~~~~ sf_gencode.c: At top level: sf_gencode.c:26:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 26 | static const char rcsid[] = | ^~~~~ mv y.tab.c sf_grammar.c mv y.tab.h tokdefs.h /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_grammar.lo `test -f 'sf_grammar.c' || echo './'`sf_grammar.c ./runlex.sh flex -Psfbpf_ -osf_scanner.c ./scanner.l /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libsfbpf_la-sf_scanner.lo `test -f 'sf_scanner.c' || echo './'`sf_scanner.c libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_grammar.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_grammar.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c sf_scanner.c -fPIC -DPIC -o .libs/libsfbpf_la-sf_scanner.o ./scanner.l:87:9: warning: "yylval" redefined 87 | #define yylval pcap_lval | ^~~~~~ : note: this is the location of the previous definition sf_scanner.c:4364:16: warning: 'input' defined but not used [-Wunused-function] 4364 | #else | ^ /bin/sh ../libtool --tag=CC --mode=link /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -Dyylval=sfbpf_lval -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -version-info 0:1:0 -o libsfbpf.la -rpath /usr/lib libsfbpf_la-sf_bpf_filter.lo libsfbpf_la-sf_bpf_printer.lo libsfbpf_la-sf_gencode.lo libsfbpf_la-sf_nametoaddr.lo libsfbpf_la-sf_optimize.lo libsfbpf_la-sfbpf-int.lo libsfbpf_la-sf_grammar.lo libsfbpf_la-sf_scanner.lo libtool: link: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -shared -fPIC -DPIC .libs/libsfbpf_la-sf_bpf_filter.o .libs/libsfbpf_la-sf_bpf_printer.o .libs/libsfbpf_la-sf_gencode.o .libs/libsfbpf_la-sf_nametoaddr.o .libs/libsfbpf_la-sf_optimize.o .libs/libsfbpf_la-sfbpf-int.o .libs/libsfbpf_la-sf_grammar.o .libs/libsfbpf_la-sf_scanner.o -O3 -g1 -Wl,-soname -Wl,libsfbpf.so.0 -o .libs/libsfbpf.so.0.0.1 libtool: link: (cd ".libs" && rm -f "libsfbpf.so.0" && ln -s "libsfbpf.so.0.0.1" "libsfbpf.so.0") libtool: link: (cd ".libs" && rm -f "libsfbpf.so" && ln -s "libsfbpf.so.0.0.1" "libsfbpf.so") libtool: link: ( cd ".libs" && rm -f "libsfbpf.la" && ln -s "../libsfbpf.la" "libsfbpf.la" ) make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7/sfbpf' Making all in os-daq-modules make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7/os-daq-modules' /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_static_modules.lo `test -f 'daq_static_modules.c' || echo './'`daq_static_modules.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_afpacket.lo `test -f 'daq_afpacket.c' || echo './'`daq_afpacket.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_pcap.lo `test -f 'daq_pcap.c' || echo './'`daq_pcap.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_dump.lo `test -f 'daq_dump.c' || echo './'`daq_dump.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_ipfw.lo `test -f 'daq_ipfw.c' || echo './'`daq_ipfw.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o libdaq_static_modules_la-daq_nfq.lo `test -f 'daq_nfq.c' || echo './'`daq_nfq.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_afpacket_la-daq_afpacket.lo `test -f 'daq_afpacket.c' || echo './'`daq_afpacket.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_pcap_la-daq_pcap.lo `test -f 'daq_pcap.c' || echo './'`daq_pcap.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_dump_la-daq_dump.lo `test -f 'daq_dump.c' || echo './'`daq_dump.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_ipfw_la-daq_ipfw.lo `test -f 'daq_ipfw.c' || echo './'`daq_ipfw.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c -o daq_nfq_la-daq_nfq.lo `test -f 'daq_nfq.c' || echo './'`daq_nfq.c libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_pcap.c -fPIC -DPIC -o .libs/daq_pcap_la-daq_pcap.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_afpacket.c -fPIC -DPIC -o .libs/daq_afpacket_la-daq_afpacket.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_nfq.c -fPIC -DPIC -o .libs/daq_nfq_la-daq_nfq.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_nfq.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_nfq.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_dump.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_dump.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_ipfw.c -fPIC -DPIC -o .libs/daq_ipfw_la-daq_ipfw.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILDING_SO -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_dump.c -fPIC -DPIC -o .libs/daq_dump_la-daq_dump.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_afpacket.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_afpacket.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_ipfw.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_ipfw.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_static_modules.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_static_modules.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/mips-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../api -I../sfbpf -I../sfbpf -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include -DBUILD_AFPACKET_MODULE -DBUILD_PCAP_MODULE -DBUILD_DUMP_MODULE -DBUILD_IPFW_MODULE -DBUILD_NFQ_MODULE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g1 -D_FORTIFY_SOURCE=3 -fvisibility=hidden -Wall -Wwrite-strings -Wsign-compare -Wcast-align -Wextra -Wformat -Wformat-security -Wno-unused-parameter -fno-strict-aliasing -fdiagnostics-show-option -pedantic -std=c99 -D_GNU_SOURCE -c daq_pcap.c -fPIC -DPIC -o .libs/libdaq_static_modules_la-daq_pcap.o daq_ipfw.c: In function 'ipfw_daq_get_setup': daq_ipfw.c:92:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 92 | "%s: variable needs value (%s)\n", __FUNCTION__, entry->key); | ^~~~~~~~~~~~ daq_ipfw.c:103:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 103 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_ipfw.c:111:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 111 | __FUNCTION__, entry->key, entry->value); | ^~~~~~~~~~~~ daq_ipfw.c: In function 'ipfw_daq_initialize': daq_ipfw.c:138:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 138 | __FUNCTION__); | ^~~~~~~~~~~~ daq_ipfw.c:152:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 152 | __FUNCTION__); | ^~~~~~~~~~~~ In file included from daq_ipfw.c:37: daq_ipfw.c: In function 'ipfw_daq_start': daq_ipfw.c:212:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 212 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_ipfw.c:219:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 219 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_ipfw.c: In function 'ipfw_daq_forward': daq_ipfw.c:249:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 249 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_ipfw.c: In function 'ipfw_daq_acquire': daq_ipfw.c:317:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 317 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_ipfw.c:335:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 335 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c: In function 'pcap_daq_initialize': daq_pcap.c:207:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 207 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the new PCAP context!", __FUNCTION__); | ^~~~~~~~~~~~ daq_pcap.c:232:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 232 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the filename string!", __FUNCTION__); | ^~~~~~~~~~~~ daq_pcap.c:243:90: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 243 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the device string!", __FUNCTION__); | ^~~~~~~~~~~~ In file included from daq_pcap.c:41: daq_pcap.c: In function 'pcap_daq_set_filter': daq_pcap.c:276:58: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 276 | DPE(context->errbuf, "%s: pcap_compile: %s", __FUNCTION__, pcap_geterr(context->handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:283:60: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 283 | DPE(context->errbuf, "%s: pcap_setfilter: %s", __FUNCTION__, pcap_geterr(context->handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:295:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 295 | DPE(context->errbuf, "%s: Could not allocate a dead PCAP handle!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:300:58: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 300 | DPE(context->errbuf, "%s: pcap_compile: %s", __FUNCTION__, pcap_geterr(dead_handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:312:104: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 312 | DPE(context->errbuf, "%s: Could not allocate space to store a copy of the filter string!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c: In function 'pcap_process_loop': daq_pcap.c:344:31: warning: cast increases required alignment of target type [-Wcast-align] 344 | Pcap_Context_t *context = (Pcap_Context_t *) user; | ^ daq_nfq.c: In function 'nfq_daq_get_setup': daq_nfq.c:131:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 131 | "%s: variable needs value (%s)\n", __FUNCTION__, entry->key); | ^~~~~~~~~~~~ daq_nfq.c:141:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 141 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:151:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 151 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:164:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 164 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:176:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 176 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:184:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 184 | __FUNCTION__, entry->key, entry->value); | ^~~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_initialize': daq_nfq.c:212:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 212 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:225:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 225 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:235:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 235 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:250:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 250 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:272:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 272 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:286:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 286 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:295:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 295 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:305:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 305 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:324:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 324 | __FUNCTION__, impl->device); | ^~~~~~~~~~~~ daq_nfq.c:335:62: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 335 | snprintf(errBuf, errMax, "%s: can't open ip!\n", __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c: In function 'SetPktHdr': daq_nfq.c:395:37: error: passing argument 2 of 'nfq_get_payload' from incompatible pointer type [-Wincompatible-pointer-types] 395 | int len = nfq_get_payload(nfad, (char**)pkt); | ^~~~~~~~~~~ | | | char ** In file included from daq_nfq.c:41: /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/libnetfilter_queue/libnetfilter_queue.h:123:67: note: expected 'unsigned char **' but argument is of type 'char **' 123 | extern int nfq_get_payload(struct nfq_data *nfad, unsigned char **data); | ~~~~~~~~~~~~~~~~^~~~ In file included from daq_nfq.c:43: daq_nfq.c: In function 'daq_nfq_callback': daq_nfq.c:443:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 443 | __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_get_setup': daq_nfq.c:131:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 131 | "%s: variable needs value (%s)\n", __FUNCTION__, entry->key); | ^~~~~~~~~~~~ daq_nfq.c:141:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 141 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:151:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 151 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:164:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 164 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:176:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 176 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_nfq.c:184:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 184 | __FUNCTION__, entry->key, entry->value); | ^~~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_acquire': daq_nfq.c:521:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 521 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_initialize': daq_nfq.c:212:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 212 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:225:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 225 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:235:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 235 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:539:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 539 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c:250:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 250 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:272:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 272 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_inject': daq_nfq.c:286:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 286 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:564:15: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 564 | if ( sent != len ) | ^~ daq_nfq.c:295:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 295 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:567:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 567 | __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c:305:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 305 | __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_set_filter': daq_nfq.c:324:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 324 | __FUNCTION__, impl->device); | ^~~~~~~~~~~~ daq_nfq.c:335:62: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 335 | snprintf(errBuf, errMax, "%s: can't open ip!\n", __FUNCTION__); | ^~~~~~~~~~~~ daq_nfq.c:585:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 585 | __FUNCTION__, filter); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c: In function 'pcap_daq_initialize': daq_nfq.c: In function 'SetPktHdr': In file included from daq_afpacket.c:42: daq_afpacket.c: In function 'bind_instance_interface': daq_nfq.c:395:37: error: passing argument 2 of 'nfq_get_payload' from incompatible pointer type [-Wincompatible-pointer-types] 395 | int len = nfq_get_payload(nfad, (char**)pkt); | ^~~~~~~~~~~ | | | char ** daq_pcap.c:207:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 207 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the new PCAP context!", __FUNCTION__); | ^~~~~~~~~~~~ In file included from daq_nfq.c:41: /home/buildroot/instance-0/output-1/host/mips-buildroot-linux-gnu/sysroot/usr/include/libnetfilter_queue/libnetfilter_queue.h:123:67: note: expected 'unsigned char **' but argument is of type 'char **' 123 | extern int nfq_get_payload(struct nfq_data *nfad, unsigned char **data); | ~~~~~~~~~~~~~~~~^~~~ daq_afpacket.c:126:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 126 | DPE(afpc->errbuf, "%s: bind(%s): %s\n", __FUNCTION__, instance->name, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:133:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 133 | DPE(afpc->errbuf, "%s: getsockopt: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:232:92: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 232 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the filename string!", __FUNCTION__); | ^~~~~~~~~~~~ In file included from daq_nfq.c:43: daq_nfq.c: In function 'daq_nfq_callback': daq_afpacket.c: In function 'set_up_ring': daq_nfq.c:443:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 443 | __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:148:88: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 148 | DPE(afpc->errbuf, "%s: Could not allocate ring buffer entries for device %s!", __FUNCTION__, instance->name); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:243:90: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 243 | snprintf(errbuf, len, "%s: Couldn't allocate memory for the device string!", __FUNCTION__); | ^~~~~~~~~~~~ In file included from daq_pcap.c:41: daq_pcap.c: In function 'pcap_daq_set_filter': daq_pcap.c:276:58: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 276 | DPE(context->errbuf, "%s: pcap_compile: %s", __FUNCTION__, pcap_geterr(context->handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_acquire': daq_nfq.c:521:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 521 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:283:60: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 283 | DPE(context->errbuf, "%s: pcap_setfilter: %s", __FUNCTION__, pcap_geterr(context->handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'create_instance': daq_afpacket.c:244:86: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 244 | snprintf(errbuf, errlen, "%s: Could not allocate a new instance structure.", __FUNCTION__); | ^~~~~~~~~~~~ daq_pcap.c:295:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 295 | DPE(context->errbuf, "%s: Could not allocate a dead PCAP handle!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c:539:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 539 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:251:87: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 251 | snprintf(errbuf, errlen, "%s: Could not allocate a copy of the device name.", __FUNCTION__); | ^~~~~~~~~~~~ daq_pcap.c:300:58: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 300 | DPE(context->errbuf, "%s: pcap_compile: %s", __FUNCTION__, pcap_geterr(dead_handle)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_inject': daq_afpacket.c:259:81: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 259 | snprintf(errbuf, errlen, "%s: Could not open the PF_PACKET socket: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ daq_nfq.c:564:15: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 564 | if ( sent != len ) | ^~ daq_afpacket.c:268:76: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 268 | snprintf(errbuf, errlen, "%s: Could not find index for device %s", __FUNCTION__, instance->name); | ^~~~~~~~~~~~ daq_nfq.c:567:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 567 | __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c:312:104: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 312 | DPE(context->errbuf, "%s: Could not allocate space to store a copy of the filter string!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_nfq.c: In function 'nfq_daq_set_filter': daq_nfq.c:585:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 585 | __FUNCTION__, filter); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_pcap.c: In function 'pcap_process_loop': daq_pcap.c:344:31: warning: cast increases required alignment of target type [-Wcast-align] 344 | Pcap_Context_t *context = (Pcap_Context_t *) user; | ^ daq_afpacket.c: In function 'calculate_layout': daq_afpacket.c:342:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 342 | __FUNCTION__, layout->tp_block_size, layout->tp_frame_size, afpc->device); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'create_ring': daq_afpacket.c:386:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 386 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'mmap_rings': daq_afpacket.c:410:62: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 410 | DPE(afpc->errbuf, "%s: Could not MMAP the ring: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'start_instance': daq_afpacket.c:434:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 434 | DPE(afpc->errbuf, "%s: setsockopt: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:443:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 443 | __FUNCTION__, instance->name, errno, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:450:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 450 | __FUNCTION__, instance->name, arptype, ARPHRD_ETHER); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_initialize': daq_afpacket.c:573:96: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 573 | snprintf(errbuf, errlen, "%s: Couldn't allocate memory for the new AFPacket context!", __FUNCTION__); | ^~~~~~~~~~~~ make[3]: *** [Makefile:768: daq_nfq_la-daq_nfq.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... daq_afpacket.c:581:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 581 | snprintf(errbuf, errlen, "%s: Couldn't allocate memory for the device string!", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:592:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 592 | snprintf(errbuf, errlen, "%s: Invalid interface specification: '%s'!", __FUNCTION__, afpc->device); | ^~~~~~~~~~~~ daq_afpacket.c:601:76: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 601 | snprintf(errbuf, errlen, "%s: Interface name too long! (%zu)", __FUNCTION__, len); | ^~~~~~~~~~~~ daq_afpacket.c:609:97: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 609 | snprintf(errbuf, errlen, "%s: Using more than %d interfaces is not supported!", __FUNCTION__, AF_PACKET_MAX_INTERFACES); | ^~~~~~~~~~~~ daq_dump.c: In function 'dump_daq_initialize': daq_dump.c:106:25: warning: cast increases required alignment of target type [-Wcast-align] 106 | DAQ_Module_t* mod = (DAQ_Module_t*)cfg->extra; | ^ daq_dump.c:114:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 114 | __FUNCTION__); | ^~~~~~~~~~~~ daq_dump.c:119:70: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 119 | snprintf(errBuf, errMax, "%s: no file capable daq provided", __FUNCTION__); | ^~~~~~~~~~~~ make[3]: *** [Makefile:824: libdaq_static_modules_la-daq_nfq.lo] Error 1 daq_afpacket.c:629:103: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 629 | snprintf(errbuf, errlen, "%s: Couldn't create the bridge between %s and %s!", __FUNCTION__, name1, name2); | ^~~~~~~~~~~~ daq_afpacket.c:646:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 646 | snprintf(errbuf, errlen, "%s: Invalid interface specification: '%s'!", __FUNCTION__, afpc->device); | ^~~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_set_filter': daq_afpacket.c:704:82: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 704 | DPE(afpc->errbuf, "%s: Couldn't allocate memory for the filter string!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:710:72: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 710 | DPE(afpc->errbuf, "%s: BPF state machine compilation failed!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_dump.c: In function 'dump_daq_initialize': daq_dump.c:106:25: warning: cast increases required alignment of target type [-Wcast-align] 106 | DAQ_Module_t* mod = (DAQ_Module_t*)cfg->extra; | ^ daq_dump.c:114:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 114 | __FUNCTION__); | ^~~~~~~~~~~~ daq_dump.c:119:70: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 119 | snprintf(errBuf, errMax, "%s: no file capable daq provided", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_acquire': daq_ipfw.c: In function 'ipfw_daq_get_setup': daq_afpacket.c:790:79: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 790 | DPE(afpc->errbuf, "%s: Unknown TPACKET version: %u!", __FUNCTION__, instance->tp_version); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_ipfw.c:92:52: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 92 | "%s: variable needs value (%s)\n", __FUNCTION__, entry->key); | ^~~~~~~~~~~~ daq_ipfw.c:103:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 103 | __FUNCTION__, entry->value); | ^~~~~~~~~~~~ daq_ipfw.c:111:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 111 | __FUNCTION__, entry->key, entry->value); | ^~~~~~~~~~~~ daq_ipfw.c: In function 'ipfw_daq_initialize': daq_ipfw.c:138:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 138 | __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:796:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 796 | __FUNCTION__, tp_mac, tp_snaplen, instance->rx_ring.layout.tp_frame_size); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_ipfw.c:152:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 152 | __FUNCTION__); | ^~~~~~~~~~~~ In file included from daq_ipfw.c:37: daq_ipfw.c: In function 'ipfw_daq_start': daq_ipfw.c:212:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 212 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:815:27: warning: cast increases required alignment of target type [-Wcast-align] 815 | tag = (struct vlan_tag *) (data + vlan_offset); | ^ daq_ipfw.c:219:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 219 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_ipfw.c: In function 'ipfw_daq_forward': daq_ipfw.c:249:13: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 249 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:859:25: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 859 | int rc; | ^~ daq_ipfw.c: In function 'ipfw_daq_acquire': daq_ipfw.c:317:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 317 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_ipfw.c:335:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 335 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:893:63: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 893 | DPE(afpc->errbuf, "%s: Poll failed: %s (%d)", __FUNCTION__, strerror(errno), errno); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:907:81: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 907 | DPE(afpc->errbuf, "%s: Hang-up on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:909:101: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 909 | DPE(afpc->errbuf, "%s: Encountered error condition on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:911:97: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 911 | DPE(afpc->errbuf, "%s: Invalid polling request on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_inject': daq_afpacket.c:946:68: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 946 | DPE(afpc->errbuf, "%s: Error sending packet: %s (%d)", __FUNCTION__, strerror(errno), errno); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ In file included from daq_afpacket.c:42: daq_afpacket.c: In function 'bind_instance_interface': daq_afpacket.c:126:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 126 | DPE(afpc->errbuf, "%s: bind(%s): %s\n", __FUNCTION__, instance->name, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:133:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 133 | DPE(afpc->errbuf, "%s: getsockopt: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'set_up_ring': daq_afpacket.c:148:88: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 148 | DPE(afpc->errbuf, "%s: Could not allocate ring buffer entries for device %s!", __FUNCTION__, instance->name); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'create_instance': daq_afpacket.c:244:86: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 244 | snprintf(errbuf, errlen, "%s: Could not allocate a new instance structure.", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:251:87: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 251 | snprintf(errbuf, errlen, "%s: Could not allocate a copy of the device name.", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:259:81: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 259 | snprintf(errbuf, errlen, "%s: Could not open the PF_PACKET socket: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ daq_afpacket.c:268:76: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 268 | snprintf(errbuf, errlen, "%s: Could not find index for device %s", __FUNCTION__, instance->name); | ^~~~~~~~~~~~ daq_afpacket.c: In function 'calculate_layout': daq_afpacket.c:342:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 342 | __FUNCTION__, layout->tp_block_size, layout->tp_frame_size, afpc->device); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'create_ring': daq_afpacket.c:386:21: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 386 | __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'mmap_rings': daq_afpacket.c:410:62: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 410 | DPE(afpc->errbuf, "%s: Could not MMAP the ring: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'start_instance': daq_afpacket.c:434:49: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 434 | DPE(afpc->errbuf, "%s: setsockopt: %s", __FUNCTION__, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:443:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 443 | __FUNCTION__, instance->name, errno, strerror(errno)); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:450:17: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 450 | __FUNCTION__, instance->name, arptype, ARPHRD_ETHER); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_initialize': daq_afpacket.c:573:96: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 573 | snprintf(errbuf, errlen, "%s: Couldn't allocate memory for the new AFPacket context!", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:581:89: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 581 | snprintf(errbuf, errlen, "%s: Couldn't allocate memory for the device string!", __FUNCTION__); | ^~~~~~~~~~~~ daq_afpacket.c:592:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 592 | snprintf(errbuf, errlen, "%s: Invalid interface specification: '%s'!", __FUNCTION__, afpc->device); | ^~~~~~~~~~~~ daq_afpacket.c:601:76: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 601 | snprintf(errbuf, errlen, "%s: Interface name too long! (%zu)", __FUNCTION__, len); | ^~~~~~~~~~~~ daq_afpacket.c:609:97: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 609 | snprintf(errbuf, errlen, "%s: Using more than %d interfaces is not supported!", __FUNCTION__, AF_PACKET_MAX_INTERFACES); | ^~~~~~~~~~~~ daq_afpacket.c:629:103: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 629 | snprintf(errbuf, errlen, "%s: Couldn't create the bridge between %s and %s!", __FUNCTION__, name1, name2); | ^~~~~~~~~~~~ daq_afpacket.c:646:80: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 646 | snprintf(errbuf, errlen, "%s: Invalid interface specification: '%s'!", __FUNCTION__, afpc->device); | ^~~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_set_filter': daq_afpacket.c:704:82: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 704 | DPE(afpc->errbuf, "%s: Couldn't allocate memory for the filter string!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:710:72: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 710 | DPE(afpc->errbuf, "%s: BPF state machine compilation failed!", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_acquire': daq_afpacket.c:790:79: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 790 | DPE(afpc->errbuf, "%s: Unknown TPACKET version: %u!", __FUNCTION__, instance->tp_version); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:796:25: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 796 | __FUNCTION__, tp_mac, tp_snaplen, instance->rx_ring.layout.tp_frame_size); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:815:27: warning: cast increases required alignment of target type [-Wcast-align] 815 | tag = (struct vlan_tag *) (data + vlan_offset); | ^ daq_afpacket.c:859:25: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 859 | int rc; | ^~ daq_afpacket.c:893:63: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 893 | DPE(afpc->errbuf, "%s: Poll failed: %s (%d)", __FUNCTION__, strerror(errno), errno); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:907:81: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 907 | DPE(afpc->errbuf, "%s: Hang-up on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:909:101: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 909 | DPE(afpc->errbuf, "%s: Encountered error condition on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c:911:97: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 911 | DPE(afpc->errbuf, "%s: Invalid polling request on a packet socket", __FUNCTION__); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ daq_afpacket.c: In function 'afpacket_daq_inject': daq_afpacket.c:946:68: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] 946 | DPE(afpc->errbuf, "%s: Error sending packet: %s (%d)", __FUNCTION__, strerror(errno), errno); | ^~~~~~~~~~~~ ../api/daq_api.h:118:50: note: in definition of macro 'DPE' 118 | #define DPE(var, ...) snprintf(var, sizeof(var), __VA_ARGS__) | ^~~~~~~~~~~ make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7/os-daq-modules' make[2]: *** [Makefile:408: all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7' make[1]: *** [Makefile:340: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/daq-2.0.7' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/daq-2.0.7/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'