* Package: net-misc/connman-1.42:0 * Repository: gentoo * Maintainer: bkohler@gentoo.org * USE: abi_x86_64 amd64 elibc_musl ethernet examples kernel_linux nftables wifi * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking connman-1.42.tar.gz to /var/tmp/portage/net-misc/connman-1.42/work >>> Source unpacked in /var/tmp/portage/net-misc/connman-1.42/work >>> Preparing source in /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42 ... * Applying libresolv-musl-fix.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/connman-1.42/work/connman-1.42' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal --system-acdir=/var/tmp/portage/net-misc/connman-1.42/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: connman-1.42/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42 ... * econf: updating connman-1.42/config.guess with /usr/share/gnuconfig/config.guess * econf: updating connman-1.42/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/connman-1.42 --htmldir=/usr/share/doc/connman-1.42/html --with-sysroot=/ --libdir=/usr/lib --localstatedir=/var --runstatedir=/run --with-systemdunitdir=/lib/systemd/system --with-tmpfilesdir=/usr/lib/tmpfiles.d --enable-client --enable-datafiles --enable-loopback=builtin --disable-bluetooth --disable-debug --enable-ethernet=builtin --enable-test --disable-l2tp --disable-nmcompat --disable-ofono --disable-openconnect --disable-openvpn --disable-polkit --disable-pptp --disable-tools --disable-vpnc --disable-wireguard --disable-wispr --with-firewall=nftables --disable-iospm --disable-hh2serial-gps --disable-iwd --enable-wifi=builtin checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes 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 whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking dependency style of x86_64-gentoo-linux-musl-gcc... none 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 wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking whether x86_64-gentoo-linux-musl-gcc accepts -fPIE... yes checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl 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 x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-file... no checking for file... file checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-dlltool... x86_64-gentoo-linux-musl-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-gentoo-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) 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... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for resolv.h... yes checking for ns_initparse in -lresolv... yes checking for execinfo.h... no checking for struct in6_pktinfo.ipi6_addr... yes checking for signalfd... yes checking for dlopen in -ldl... yes checking for glib-2.0 >= 2.40... yes checking for dbus-1 >= 1.4... yes checking for libmnl >= 1.0.0... yes checking for libnftnl >= 1.0.4... yes checking for sys/inotify.h... yes checking for inotify_init in -lc... yes checking for wpa_supplicant... /usr/sbin/wpa_supplicant checking for readline/readline.h... yes checking which DNS backend to use... internal checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/version.h config.status: creating connman.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42 ... make -j4 /bin/mkdir -p include/connman /bin/mkdir -p include/connman /bin/mkdir -p include/connman /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/log.h include/connman/log.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/plugin.h include/connman/plugin.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/notifier.h include/connman/notifier.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/service.h include/connman/service.h /bin/mkdir -p include/connman /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/resolver.h include/connman/resolver.h /bin/mkdir -p include/connman /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/ipconfig.h include/connman/ipconfig.h /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/device.h include/connman/device.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/network.h include/connman/network.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/inet.h include/connman/inet.h /bin/mkdir -p include/connman /bin/mkdir -p include/connman /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/storage.h include/connman/storage.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/provision.h include/connman/provision.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/session.h include/connman/session.h /bin/mkdir -p include/connman /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/ipaddress.h include/connman/ipaddress.h /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/agent.h include/connman/agent.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/inotify.h include/connman/inotify.h /bin/mkdir -p include/connman /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/peer.h include/connman/peer.h /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/machine.h include/connman/machine.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/acd.h include/connman/acd.h /bin/mkdir -p include/connman /bin/mkdir -p include/connman /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/tethering.h include/connman/tethering.h /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/version.h include/connman/version.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/rtnl.h include/connman/rtnl.h /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/task.h include/connman/task.h /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/dbus.h include/connman/dbus.h /bin/mkdir -p include/connman /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/provider.h include/connman/provider.h /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/vpn-dbus.h include/connman/vpn-dbus.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/utsname.h include/connman/utsname.h /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/timeserver.h include/connman/timeserver.h /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/proxy.h include/connman/proxy.h /bin/mkdir -p include/connman /bin/mkdir -p include/connman ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/technology.h include/connman/technology.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/setting.h include/connman/setting.h ln -s /var/tmp/portage/net-misc/connman-1.42/work/connman-1.42/include/backtrace.h include/connman/backtrace.h /bin/mkdir -p src/ /bin/mkdir -p src/ /bin/mkdir -p src/ ./src/genbuiltin loopback ethernet gadget wifi dundee pacrunner neard > src/builtin.h /bin/mkdir -p vpn/ /bin/sed -e 's,[@]prefix[@],/usr,g' -e 's,[@]sbindir[@],/usr/sbin,g' -e 's,[@]sysconfdir[@],/etc,g' -e 's,[@]storagedir[@],/var/lib/connman,g' -e 's,[@]vpn_storagedir[@],/var/lib/connman-vpn,g' -e 's,[@]localstatedir[@],/var,g' -e 's,[@]runstatedir[@],/run,g' < src/connman.service.in > src/connman.service /bin/sed -e 's,[@]prefix[@],/usr,g' -e 's,[@]sbindir[@],/usr/sbin,g' -e 's,[@]sysconfdir[@],/etc,g' -e 's,[@]storagedir[@],/var/lib/connman,g' -e 's,[@]vpn_storagedir[@],/var/lib/connman-vpn,g' -e 's,[@]localstatedir[@],/var,g' -e 's,[@]runstatedir[@],/run,g' < src/net.connman.service.in > src/net.connman.service /bin/sed -e 's,[@]prefix[@],/usr,g' -e 's,[@]sbindir[@],/usr/sbin,g' -e 's,[@]sysconfdir[@],/etc,g' -e 's,[@]storagedir[@],/var/lib/connman,g' -e 's,[@]vpn_storagedir[@],/var/lib/connman-vpn,g' -e 's,[@]localstatedir[@],/var,g' -e 's,[@]runstatedir[@],/run,g' < vpn/connman-vpn.service.in > vpn/connman-vpn.service /bin/mkdir -p vpn/ /bin/mkdir -p src/ /bin/sed -e 's,[@]prefix[@],/usr,g' -e 's,[@]sbindir[@],/usr/sbin,g' -e 's,[@]sysconfdir[@],/etc,g' -e 's,[@]storagedir[@],/var/lib/connman,g' -e 's,[@]vpn_storagedir[@],/var/lib/connman-vpn,g' -e 's,[@]localstatedir[@],/var,g' -e 's,[@]runstatedir[@],/run,g' < vpn/net.connman.vpn.service.in > vpn/net.connman.vpn.service /bin/mkdir -p scripts/ /bin/sed -e 's,[@]prefix[@],/usr,g' -e 's,[@]sbindir[@],/usr/sbin,g' -e 's,[@]sysconfdir[@],/etc,g' -e 's,[@]storagedir[@],/var/lib/connman,g' -e 's,[@]vpn_storagedir[@],/var/lib/connman-vpn,g' -e 's,[@]localstatedir[@],/var,g' -e 's,[@]runstatedir[@],/run,g' < src/connman-wait-online.service.in > src/connman-wait-online.service /bin/mkdir -p scripts/ /bin/sed -e 's,[@]prefix[@],/usr,g' -e 's,[@]sbindir[@],/usr/sbin,g' -e 's,[@]sysconfdir[@],/etc,g' -e 's,[@]storagedir[@],/var/lib/connman,g' -e 's,[@]vpn_storagedir[@],/var/lib/connman-vpn,g' -e 's,[@]localstatedir[@],/var,g' -e 's,[@]runstatedir[@],/run,g' < scripts/connman.in > scripts/connman /bin/sed -e 's,[@]prefix[@],/usr,g' -e 's,[@]sbindir[@],/usr/sbin,g' -e 's,[@]sysconfdir[@],/etc,g' -e 's,[@]storagedir[@],/var/lib/connman,g' -e 's,[@]vpn_storagedir[@],/var/lib/connman-vpn,g' -e 's,[@]localstatedir[@],/var,g' -e 's,[@]runstatedir[@],/run,g' < scripts/connman_resolvconf.conf.in > scripts/connman_resolvconf.conf make --no-print-directory all-am x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-stats.o `test -f 'src/stats.c' || echo './'`src/stats.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-main.o `test -f 'src/main.c' || echo './'`src/main.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-log.o `test -f 'src/log.c' || echo './'`src/log.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-error.o `test -f 'src/error.c' || echo './'`src/error.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-plugin.o `test -f 'src/plugin.c' || echo './'`src/plugin.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-task.o `test -f 'src/task.c' || echo './'`src/task.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-device.o `test -f 'src/device.c' || echo './'`src/device.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-network.o `test -f 'src/network.c' || echo './'`src/network.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-connection.o `test -f 'src/connection.c' || echo './'`src/connection.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-manager.o `test -f 'src/manager.c' || echo './'`src/manager.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-service.o `test -f 'src/service.c' || echo './'`src/service.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-clock.o `test -f 'src/clock.c' || echo './'`src/clock.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-timezone.o `test -f 'src/timezone.c' || echo './'`src/timezone.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-agent-connman.o `test -f 'src/agent-connman.c' || echo './'`src/agent-connman.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-agent.o `test -f 'src/agent.c' || echo './'`src/agent.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-notifier.o `test -f 'src/notifier.c' || echo './'`src/notifier.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-provider.o `test -f 'src/provider.c' || echo './'`src/provider.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-resolver.o `test -f 'src/resolver.c' || echo './'`src/resolver.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-ipconfig.o `test -f 'src/ipconfig.c' || echo './'`src/ipconfig.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-detect.o `test -f 'src/detect.c' || echo './'`src/detect.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-inet.o `test -f 'src/inet.c' || echo './'`src/inet.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-dhcp.o `test -f 'src/dhcp.c' || echo './'`src/dhcp.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-dhcpv6.o `test -f 'src/dhcpv6.c' || echo './'`src/dhcpv6.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-rtnl.o `test -f 'src/rtnl.c' || echo './'`src/rtnl.c In function '__connman_inet_rtnl_addattr32', inlined from 'iproute_default_modify' at src/inet.c:3198:3: src/inet.c:2693:9: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] 2693 | memcpy(RTA_DATA(rta), &data, 4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/inet.c:50: src/connman.h: In function 'iproute_default_modify': src/connman.h:213:33: note: at offset [40, 52] into destination object 'n' of size 16 213 | struct nlmsghdr n; | ^ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-proxy.o `test -f 'src/proxy.c' || echo './'`src/proxy.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-utsname.o `test -f 'src/utsname.c' || echo './'`src/utsname.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-timeserver.o `test -f 'src/timeserver.c' || echo './'`src/timeserver.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-rfkill.o `test -f 'src/rfkill.c' || echo './'`src/rfkill.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-storage.o `test -f 'src/storage.c' || echo './'`src/storage.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-dbus.o `test -f 'src/dbus.c' || echo './'`src/dbus.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-config.o `test -f 'src/config.c' || echo './'`src/config.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-technology.o `test -f 'src/technology.c' || echo './'`src/technology.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-counter.o `test -f 'src/counter.c' || echo './'`src/counter.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-ntp.o `test -f 'src/ntp.c' || echo './'`src/ntp.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-session.o `test -f 'src/session.c' || echo './'`src/session.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-tethering.o `test -f 'src/tethering.c' || echo './'`src/tethering.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-wpad.o `test -f 'src/wpad.c' || echo './'`src/wpad.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-wispr.o `test -f 'src/wispr.c' || echo './'`src/wispr.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-6to4.o `test -f 'src/6to4.c' || echo './'`src/6to4.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-ippool.o `test -f 'src/ippool.c' || echo './'`src/ippool.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-bridge.o `test -f 'src/bridge.c' || echo './'`src/bridge.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-nat.o `test -f 'src/nat.c' || echo './'`src/nat.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-ipaddress.o `test -f 'src/ipaddress.c' || echo './'`src/ipaddress.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-inotify.o `test -f 'src/inotify.c' || echo './'`src/inotify.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-ipv6pd.o `test -f 'src/ipv6pd.c' || echo './'`src/ipv6pd.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-peer.o `test -f 'src/peer.c' || echo './'`src/peer.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-peer_service.o `test -f 'src/peer_service.c' || echo './'`src/peer_service.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-machine.o `test -f 'src/machine.c' || echo './'`src/machine.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-util.o `test -f 'src/util.c' || echo './'`src/util.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-acd.o `test -f 'src/acd.c' || echo './'`src/acd.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-dnsproxy.o `test -f 'src/dnsproxy.c' || echo './'`src/dnsproxy.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -I./src -DDNSPROXY_DEBUG -O3 -pipe -march=native -fno-diagnostics-color -c -o src/tools_dnsproxy_standalone-firewall-nftables.o `test -f 'src/firewall-nftables.c' || echo './'`src/firewall-nftables.c src/dnsproxy.c: In function 'find_server': src/dnsproxy.c:46:35: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:354:9: note: in expansion of macro 'debug' 354 | debug("index %d server %s proto %d", index, server, protocol); | ^~~~~ src/dnsproxy.c:44:1: note: include '' or provide a declaration of 'fprintf' 43 | #include "connman.h" +++ |+#include 44 | src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:354:9: note: in expansion of macro 'debug' 354 | debug("index %d server %s proto %d", index, server, protocol); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:354:9: note: in expansion of macro 'debug' 354 | debug("index %d server %s proto %d", index, server, protocol); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:354:9: note: in expansion of macro 'debug' 354 | debug("index %d server %s proto %d", index, server, protocol); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:354:9: note: in expansion of macro 'debug' 354 | debug("index %d server %s proto %d", index, server, protocol); | ^~~~~ src/dnsproxy.c:46:43: note: each undeclared identifier is reported only once for each function it appears in 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:354:9: note: in expansion of macro 'debug' 354 | debug("index %d server %s proto %d", index, server, protocol); | ^~~~~ src/dnsproxy.c: In function 'refresh_dns_entry': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:401:17: note: in expansion of macro 'debug' 401 | debug("Refreshing A record for %s", name); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:401:17: note: in expansion of macro 'debug' 401 | debug("Refreshing A record for %s", name); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:401:17: note: in expansion of macro 'debug' 401 | debug("Refreshing A record for %s", name); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:401:17: note: in expansion of macro 'debug' 401 | debug("Refreshing A record for %s", name); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:408:17: note: in expansion of macro 'debug' 408 | debug("Refreshing AAAA record for %s", name); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:408:17: note: in expansion of macro 'debug' 408 | debug("Refreshing AAAA record for %s", name); | ^~~~~ src/dnsproxy.c: In function 'send_cached_response': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:513:9: note: in expansion of macro 'debug' 513 | debug("sk %d id 0x%04x answers %d ptr %p length %zd dns %zd", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:513:9: note: in expansion of macro 'debug' 513 | debug("sk %d id 0x%04x answers %d ptr %p length %zd dns %zd", | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:513:9: note: in expansion of macro 'debug' 513 | debug("sk %d id 0x%04x answers %d ptr %p length %zd dns %zd", | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:513:9: note: in expansion of macro 'debug' 513 | debug("sk %d id 0x%04x answers %d ptr %p length %zd dns %zd", | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:522:17: note: in expansion of macro 'debug' 522 | debug("Packet length mismatch, sent %d wanted %zd dns %zd", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:522:17: note: in expansion of macro 'debug' 522 | debug("Packet length mismatch, sent %d wanted %zd dns %zd", | ^~~~~ src/dnsproxy.c: In function 'send_response': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:535:9: note: in expansion of macro 'debug' 535 | debug("sk %d", sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:535:9: note: in expansion of macro 'debug' 535 | debug("sk %d", sk); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:535:9: note: in expansion of macro 'debug' 535 | debug("sk %d", sk); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:535:9: note: in expansion of macro 'debug' 535 | debug("sk %d", sk); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:546:9: note: in expansion of macro 'debug' 546 | debug("id 0x%04x qr %d opcode %d", hdr->id, hdr->qr, hdr->opcode); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:546:9: note: in expansion of macro 'debug' 546 | debug("id 0x%04x qr %d opcode %d", hdr->id, hdr->qr, hdr->opcode); | ^~~~~ src/dnsproxy.c: In function 'request_timeout': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:598:9: note: in expansion of macro 'debug' 598 | debug("id 0x%04x", req->srcid); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:598:9: note: in expansion of macro 'debug' 598 | debug("id 0x%04x", req->srcid); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:598:9: note: in expansion of macro 'debug' 598 | debug("id 0x%04x", req->srcid); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:598:9: note: in expansion of macro 'debug' 598 | debug("id 0x%04x", req->srcid); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:638:17: note: in expansion of macro 'debug' 638 | debug("client %d removed", req->client_sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:638:17: note: in expansion of macro 'debug' 638 | debug("client %d removed", req->client_sk); | ^~~~~ src/dnsproxy.c: In function 'append_query': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:685:9: note: in expansion of macro 'debug' 685 | debug("query %s domain %s", query, domain); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:685:9: note: in expansion of macro 'debug' 685 | debug("query %s domain %s", query, domain); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:685:9: note: in expansion of macro 'debug' 685 | debug("query %s domain %s", query, domain); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:685:9: note: in expansion of macro 'debug' 685 | debug("query %s domain %s", query, domain); | ^~~~~ src/dnsproxy.c: In function 'cache_enforce_validity': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:744:17: note: in expansion of macro 'debug' 744 | debug("cache timeout \"%s\" type A", entry->key); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:744:17: note: in expansion of macro 'debug' 744 | debug("cache timeout \"%s\" type A", entry->key); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:744:17: note: in expansion of macro 'debug' 744 | debug("cache timeout \"%s\" type A", entry->key); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:744:17: note: in expansion of macro 'debug' 744 | debug("cache timeout \"%s\" type A", entry->key); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:749:17: note: in expansion of macro 'debug' 749 | debug("cache timeout \"%s\" type AAAA", entry->key); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:749:17: note: in expansion of macro 'debug' 749 | debug("cache timeout \"%s\" type AAAA", entry->key); | ^~~~~ src/dnsproxy.c: In function 'cache_check_validity': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:784:17: note: in expansion of macro 'debug' 784 | debug("cache %s \"%s\" type %s", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:784:17: note: in expansion of macro 'debug' 784 | debug("cache %s \"%s\" type %s", | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:784:17: note: in expansion of macro 'debug' 784 | debug("cache %s \"%s\" type %s", | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:784:17: note: in expansion of macro 'debug' 784 | debug("cache %s \"%s\" type %s", | ^~~~~ src/dnsproxy.c: In function 'try_remove_cache': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:827:17: note: in expansion of macro 'debug' 827 | debug("No cache users, removing it."); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:827:17: note: in expansion of macro 'debug' 827 | debug("No cache users, removing it."); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:827:17: note: in expansion of macro 'debug' 827 | debug("No cache users, removing it."); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:827:17: note: in expansion of macro 'debug' 827 | debug("No cache users, removing it."); | ^~~~~ src/dnsproxy.c: In function 'parse_response': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1042:9: note: in expansion of macro 'debug' 1042 | debug("qr %d qdcount %d", hdr->qr, qdcount); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1042:9: note: in expansion of macro 'debug' 1042 | debug("qr %d qdcount %d", hdr->qr, qdcount); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1042:9: note: in expansion of macro 'debug' 1042 | debug("qr %d qdcount %d", hdr->qr, qdcount); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1042:9: note: in expansion of macro 'debug' 1042 | debug("qr %d qdcount %d", hdr->qr, qdcount); | ^~~~~ src/dnsproxy.c: In function 'cache_cleanup': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1275:9: note: in expansion of macro 'debug' 1275 | debug("removed %d in the first pass", count); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1275:9: note: in expansion of macro 'debug' 1275 | debug("removed %d in the first pass", count); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1275:9: note: in expansion of macro 'debug' 1275 | debug("removed %d in the first pass", count); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1275:9: note: in expansion of macro 'debug' 1275 | debug("removed %d in the first pass", count); | ^~~~~ src/dnsproxy.c: In function 'cache_invalidate': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1327:9: note: in expansion of macro 'debug' 1327 | debug("Invalidating the DNS cache %p", cache); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1327:9: note: in expansion of macro 'debug' 1327 | debug("Invalidating the DNS cache %p", cache); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1327:9: note: in expansion of macro 'debug' 1327 | debug("Invalidating the DNS cache %p", cache); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1327:9: note: in expansion of macro 'debug' 1327 | debug("Invalidating the DNS cache %p", cache); | ^~~~~ src/dnsproxy.c: In function 'cache_refresh_entry': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1358:17: note: in expansion of macro 'debug' 1358 | debug("Refreshing %s\n", dns_name); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1358:17: note: in expansion of macro 'debug' 1358 | debug("Refreshing %s\n", dns_name); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1358:17: note: in expansion of macro 'debug' 1358 | debug("Refreshing %s\n", dns_name); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1358:17: note: in expansion of macro 'debug' 1358 | debug("Refreshing %s\n", dns_name); | ^~~~~ src/dnsproxy.c: In function 'cache_update': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1431:9: note: in expansion of macro 'debug' 1431 | debug("offset %zd hdr %p msg %p rcode %d", offset, hdr, msg, hdr->rcode); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1431:9: note: in expansion of macro 'debug' 1431 | debug("offset %zd hdr %p msg %p rcode %d", offset, hdr, msg, hdr->rcode); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1431:9: note: in expansion of macro 'debug' 1431 | debug("offset %zd hdr %p msg %p rcode %d", offset, hdr, msg, hdr->rcode); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1431:9: note: in expansion of macro 'debug' 1431 | debug("offset %zd hdr %p msg %p rcode %d", offset, hdr, msg, hdr->rcode); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1604:9: note: in expansion of macro 'debug' 1604 | debug("cache %d %squestion \"%s\" type %d ttl %d size %zd packet %u " | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1604:9: note: in expansion of macro 'debug' 1604 | debug("cache %d %squestion \"%s\" type %d ttl %d size %zd packet %u " | ^~~~~ src/dnsproxy.c: In function 'ns_try_resolv_from_cache': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1635:9: note: in expansion of macro 'debug' 1635 | debug("cache hit %s type %s", lookup, type == 1 ? "A" : "AAAA"); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1635:9: note: in expansion of macro 'debug' 1635 | debug("cache hit %s type %s", lookup, type == 1 ? "A" : "AAAA"); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1635:9: note: in expansion of macro 'debug' 1635 | debug("cache hit %s type %s", lookup, type == 1 ? "A" : "AAAA"); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1635:9: note: in expansion of macro 'debug' 1635 | debug("cache hit %s type %s", lookup, type == 1 ? "A" : "AAAA"); | ^~~~~ src/dnsproxy.c: In function 'ns_resolv': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1688:17: note: in expansion of macro 'debug' 1688 | debug("Cannot send message to server %s sock %d " | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1688:17: note: in expansion of macro 'debug' 1688 | debug("Cannot send message to server %s sock %d " | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1688:17: note: in expansion of macro 'debug' 1688 | debug("Cannot send message to server %s sock %d " | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1688:17: note: in expansion of macro 'debug' 1688 | debug("Cannot send message to server %s sock %d " | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1745:17: note: in expansion of macro 'debug' 1745 | debug("req %p dstid 0x%04x altid 0x%04x", req, req->dstid, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1745:17: note: in expansion of macro 'debug' 1745 | debug("req %p dstid 0x%04x altid 0x%04x", req, req->dstid, | ^~~~~ src/dnsproxy.c: In function 'convert_label': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1767:17: note: in expansion of macro 'debug' 1767 | debug("uncompress error [%d/%s]", errno, strerror(errno)); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1767:17: note: in expansion of macro 'debug' 1767 | debug("uncompress error [%d/%s]", errno, strerror(errno)); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1767:17: note: in expansion of macro 'debug' 1767 | debug("uncompress error [%d/%s]", errno, strerror(errno)); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1767:17: note: in expansion of macro 'debug' 1767 | debug("uncompress error [%d/%s]", errno, strerror(errno)); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1777:17: note: in expansion of macro 'debug' 1777 | debug("compress error [%d/%s]", errno, strerror(errno)); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1777:17: note: in expansion of macro 'debug' 1777 | debug("compress error [%d/%s]", errno, strerror(errno)); | ^~~~~ src/dnsproxy.c: In function 'uncompress': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1794:9: note: in expansion of macro 'debug' 1794 | debug("count %d ptr %p end %p uptr %p", field_count, ptr, end, uptr); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1794:9: note: in expansion of macro 'debug' 1794 | debug("count %d ptr %p end %p uptr %p", field_count, ptr, end, uptr); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1794:9: note: in expansion of macro 'debug' 1794 | debug("count %d ptr %p end %p uptr %p", field_count, ptr, end, uptr); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:1794:9: note: in expansion of macro 'debug' 1794 | debug("count %d ptr %p end %p uptr %p", field_count, ptr, end, uptr); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1818:17: note: in expansion of macro 'debug' 1818 | debug("pos %d ulen %d left %d name %s", pos, ulen, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1818:17: note: in expansion of macro 'debug' 1818 | debug("pos %d ulen %d left %d name %s", pos, ulen, | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1830:25: note: in expansion of macro 'debug' 1830 | debug("uncompressed data too large for buffer"); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1830:25: note: in expansion of macro 'debug' 1830 | debug("uncompressed data too large for buffer"); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1865:33: note: in expansion of macro 'debug' 1865 | debug("data len %d too long", dlen); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1865:33: note: in expansion of macro 'debug' 1865 | debug("data len %d too long", dlen); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1904:33: note: in expansion of macro 'debug' 1904 | debug("soa record too long"); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:1904:33: note: in expansion of macro 'debug' 1904 | debug("soa record too long"); | ^~~~~ src/dnsproxy.c: In function 'dns_reply_fixup_domains': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2063:17: note: in expansion of macro 'debug' 2063 | debug("Pass msg dns type %d class %d", dns_type, dns_class); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2063:17: note: in expansion of macro 'debug' 2063 | debug("Pass msg dns type %d class %d", dns_type, dns_class); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2063:17: note: in expansion of macro 'debug' 2063 | debug("Pass msg dns type %d class %d", dns_type, dns_class); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2063:17: note: in expansion of macro 'debug' 2063 | debug("Pass msg dns type %d class %d", dns_type, dns_class); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2129:17: note: in expansion of macro 'debug' 2129 | debug("Corrupted packet"); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2129:17: note: in expansion of macro 'debug' 2129 | debug("Corrupted packet"); | ^~~~~ src/dnsproxy.c: In function 'lookup_request': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2160:9: note: in expansion of macro 'debug' 2160 | debug("Received %zd bytes (id 0x%04x)", len, hdr->id); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2160:9: note: in expansion of macro 'debug' 2160 | debug("Received %zd bytes (id 0x%04x)", len, hdr->id); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2160:9: note: in expansion of macro 'debug' 2160 | debug("Received %zd bytes (id 0x%04x)", len, hdr->id); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2160:9: note: in expansion of macro 'debug' 2160 | debug("Received %zd bytes (id 0x%04x)", len, hdr->id); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2170:9: note: in expansion of macro 'debug' 2170 | debug("req %p dstid 0x%04x altid 0x%04x rcode %d", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2170:9: note: in expansion of macro 'debug' 2170 | debug("req %p dstid 0x%04x altid 0x%04x rcode %d", | ^~~~~ src/dnsproxy.c: In function 'forward_dns_reply': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2259:17: note: in expansion of macro 'debug' 2259 | debug("Cannot send msg, sk %d proto %d errno %d/%s", sk, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2259:17: note: in expansion of macro 'debug' 2259 | debug("Cannot send msg, sk %d proto %d errno %d/%s", sk, | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2259:17: note: in expansion of macro 'debug' 2259 | debug("Cannot send msg, sk %d proto %d errno %d/%s", sk, | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2259:17: note: in expansion of macro 'debug' 2259 | debug("Cannot send msg, sk %d proto %d errno %d/%s", sk, | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2262:17: note: in expansion of macro 'debug' 2262 | debug("proto %d sent %d bytes to %d", protocol, err, sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2262:17: note: in expansion of macro 'debug' 2262 | debug("proto %d sent %d bytes to %d", protocol, err, sk); | ^~~~~ src/dnsproxy.c: In function 'server_destroy_socket': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2269:9: note: in expansion of macro 'debug' 2269 | debug("index %d server %s proto %d", data->index, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2269:9: note: in expansion of macro 'debug' 2269 | debug("index %d server %s proto %d", data->index, | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2269:9: note: in expansion of macro 'debug' 2269 | debug("index %d server %s proto %d", data->index, | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2269:9: note: in expansion of macro 'debug' 2269 | debug("index %d server %s proto %d", data->index, | ^~~~~ src/dnsproxy.c: In function 'destroy_server': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2294:9: note: in expansion of macro 'debug' 2294 | debug("index %d server %s sock %d", server->index, server->server, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2294:9: note: in expansion of macro 'debug' 2294 | debug("index %d server %s sock %d", server->index, server->server, | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2294:9: note: in expansion of macro 'debug' 2294 | debug("index %d server %s sock %d", server->index, server->server, | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2294:9: note: in expansion of macro 'debug' 2294 | debug("index %d server %s sock %d", server->index, server->server, | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2302:17: note: in expansion of macro 'debug' 2302 | debug("Removing DNS server %s", server->server); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2302:17: note: in expansion of macro 'debug' 2302 | debug("Removing DNS server %s", server->server); | ^~~~~ src/dnsproxy.c: In function 'tcp_server_event': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2371:17: note: in expansion of macro 'debug' 2371 | debug("TCP server channel closed, sk %d", sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2371:17: note: in expansion of macro 'debug' 2371 | debug("TCP server channel closed, sk %d", sk); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2371:17: note: in expansion of macro 'debug' 2371 | debug("TCP server channel closed, sk %d", sk); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2371:17: note: in expansion of macro 'debug' 2371 | debug("TCP server channel closed, sk %d", sk); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2422:33: note: in expansion of macro 'debug' 2422 | debug("Adding domain %s to %s", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2422:33: note: in expansion of macro 'debug' 2422 | debug("Adding domain %s to %s", | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2456:25: note: in expansion of macro 'debug' 2456 | debug("Sending req %s over TCP", (char *)req->name); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2456:25: note: in expansion of macro 'debug' 2456 | debug("Sending req %s over TCP", (char *)req->name); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2514:25: note: in expansion of macro 'debug' 2514 | debug("TCP reply %d bytes from %d", reply_len, sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2514:25: note: in expansion of macro 'debug' 2514 | debug("TCP reply %d bytes from %d", reply_len, sk); | ^~~~~ src/dnsproxy.c: In function 'tcp_idle_timeout': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2578:9: note: in expansion of macro 'debug' 2578 | debug("\n"); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2578:9: note: in expansion of macro 'debug' 2578 | debug("\n"); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2578:9: note: in expansion of macro 'debug' 2578 | debug("\n"); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2578:9: note: in expansion of macro 'debug' 2578 | debug("\n"); | ^~~~~ src/dnsproxy.c: In function 'server_create_socket': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2596:9: note: in expansion of macro 'debug' 2596 | debug("index %d server %s proto %d", data->index, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2596:9: note: in expansion of macro 'debug' 2596 | debug("index %d server %s proto %d", data->index, | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2596:9: note: in expansion of macro 'debug' 2596 | debug("index %d server %s proto %d", data->index, | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2596:9: note: in expansion of macro 'debug' 2596 | debug("index %d server %s proto %d", data->index, | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2607:9: note: in expansion of macro 'debug' 2607 | debug("sk %d", sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2607:9: note: in expansion of macro 'debug' 2607 | debug("sk %d", sk); | ^~~~~ src/dnsproxy.c: In function 'resolv': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2794:17: note: in expansion of macro 'debug' 2794 | debug("server %s enabled %d", data->server, data->enabled); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:2794:17: note: in expansion of macro 'debug' 2794 | debug("server %s enabled %d", data->server, data->enabled); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2794:17: note: in expansion of macro 'debug' 2794 | debug("server %s enabled %d", data->server, data->enabled); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:2794:17: note: in expansion of macro 'debug' 2794 | debug("server %s enabled %d", data->server, data->enabled); | ^~~~~ src/dnsproxy.c: In function 'parse_request': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3112:9: note: in expansion of macro 'debug' 3112 | debug("id 0x%04x qr %d opcode %d qdcount %d arcount %d", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3112:9: note: in expansion of macro 'debug' 3112 | debug("id 0x%04x qr %d opcode %d qdcount %d arcount %d", | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3112:9: note: in expansion of macro 'debug' 3112 | debug("id 0x%04x qr %d opcode %d qdcount %d arcount %d", | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3112:9: note: in expansion of macro 'debug' 3112 | debug("id 0x%04x qr %d opcode %d qdcount %d arcount %d", | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3162:9: note: in expansion of macro 'debug' 3162 | debug("query %s", name); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3162:9: note: in expansion of macro 'debug' 3162 | debug("query %s", name); | ^~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -O3 -pipe -march=native -fno-diagnostics-color -c -o gdhcp/src_connmand-common.o `test -f 'gdhcp/common.c' || echo './'`gdhcp/common.c src/dnsproxy.c: In function 'client_reset': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3173:17: note: in expansion of macro 'debug' 3173 | debug("client %d closing", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3173:17: note: in expansion of macro 'debug' 3173 | debug("client %d closing", | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3173:17: note: in expansion of macro 'debug' 3173 | debug("client %d closing", | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3173:17: note: in expansion of macro 'debug' 3173 | debug("client %d closing", | ^~~~~ src/dnsproxy.c: In function 'read_tcp_data': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3216:17: note: in expansion of macro 'debug' 3216 | debug("client %d closed, pending %d bytes", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3216:17: note: in expansion of macro 'debug' 3216 | debug("client %d closed, pending %d bytes", | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3216:17: note: in expansion of macro 'debug' 3216 | debug("client %d closed, pending %d bytes", | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3216:17: note: in expansion of macro 'debug' 3216 | debug("client %d closed, pending %d bytes", | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3223:9: note: in expansion of macro 'debug' 3223 | debug("client %d received %d bytes", client_sk, read_len); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3223:9: note: in expansion of macro 'debug' 3223 | debug("client %d received %d bytes", client_sk, read_len); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3233:17: note: in expansion of macro 'debug' 3233 | debug("client %d sent too much data %zd", client_sk, msg_len); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3233:17: note: in expansion of macro 'debug' 3233 | debug("client %d sent too much data %zd", client_sk, msg_len); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3240:9: note: in expansion of macro 'debug' 3240 | debug("client %d msg len %zd end %d past end %zd", client_sk, msg_len, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3240:9: note: in expansion of macro 'debug' 3240 | debug("client %d msg len %zd end %d past end %zd", client_sk, msg_len, | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3244:17: note: in expansion of macro 'debug' 3244 | debug("client %d still missing %zd bytes", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3244:17: note: in expansion of macro 'debug' 3244 | debug("client %d still missing %zd bytes", | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3250:9: note: in expansion of macro 'debug' 3250 | debug("client %d all data %zd received", client_sk, msg_len); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3250:9: note: in expansion of macro 'debug' 3250 | debug("client %d all data %zd received", client_sk, msg_len); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3291:17: note: in expansion of macro 'debug' 3291 | debug("cache hit %s type %s", query, qtype == DNS_TYPE_A ? "A" : "AAAA"); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3291:17: note: in expansion of macro 'debug' 3291 | debug("cache hit %s type %s", query, qtype == DNS_TYPE_A ? "A" : "AAAA"); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3306:25: note: in expansion of macro 'debug' 3306 | debug("data missing, ignoring cache for this query"); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3306:25: note: in expansion of macro 'debug' 3306 | debug("data missing, ignoring cache for this query"); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3361:17: note: in expansion of macro 'debug' 3361 | debug("client %d buf %p -> %p end %d len %d new %zd", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3361:17: note: in expansion of macro 'debug' 3361 | debug("client %d buf %p -> %p end %d len %d new %zd", | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3377:25: note: in expansion of macro 'debug' 3377 | debug("client %d reading another %zd bytes", client_sk, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3377:25: note: in expansion of macro 'debug' 3377 | debug("client %d reading another %zd bytes", client_sk, | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3382:17: note: in expansion of macro 'debug' 3382 | debug("client %d clearing reading buffer", client_sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3382:17: note: in expansion of macro 'debug' 3382 | debug("client %d clearing reading buffer", client_sk); | ^~~~~ src/dnsproxy.c: In function 'tcp_client_event': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3443:17: note: in expansion of macro 'debug' 3443 | debug("client %d cannot read errno %d/%s", client_sk, -errno, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3443:17: note: in expansion of macro 'debug' 3443 | debug("client %d cannot read errno %d/%s", client_sk, -errno, | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3443:17: note: in expansion of macro 'debug' 3443 | debug("client %d cannot read errno %d/%s", client_sk, -errno, | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3443:17: note: in expansion of macro 'debug' 3443 | debug("client %d cannot read errno %d/%s", client_sk, -errno, | ^~~~~ src/dnsproxy.c: In function 'client_timeout': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3458:9: note: in expansion of macro 'debug' 3458 | debug("client %d timeout pending %d bytes", sock, client->buf_end); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3458:9: note: in expansion of macro 'debug' 3458 | debug("client %d timeout pending %d bytes", sock, client->buf_end); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3458:9: note: in expansion of macro 'debug' 3458 | debug("client %d timeout pending %d bytes", sock, client->buf_end); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3458:9: note: in expansion of macro 'debug' 3458 | debug("client %d timeout pending %d bytes", sock, client->buf_end); | ^~~~~ src/dnsproxy.c: In function 'tcp_listener_event': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3483:9: note: in expansion of macro 'debug' 3483 | debug("condition 0x%02x channel %p ifdata %p family %d", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3483:9: note: in expansion of macro 'debug' 3483 | debug("condition 0x%02x channel %p ifdata %p family %d", | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3483:9: note: in expansion of macro 'debug' 3483 | debug("condition 0x%02x channel %p ifdata %p family %d", | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3483:9: note: in expansion of macro 'debug' 3483 | debug("condition 0x%02x channel %p ifdata %p family %d", | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3512:17: note: in expansion of macro 'debug' 3512 | debug("No data to read from master %d, waiting.", sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3512:17: note: in expansion of macro 'debug' 3512 | debug("No data to read from master %d, waiting.", sk); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3522:9: note: in expansion of macro 'debug' 3522 | debug("client %d accepted", client_sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3522:9: note: in expansion of macro 'debug' 3522 | debug("client %d accepted", client_sk); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3547:17: note: in expansion of macro 'debug' 3547 | debug("client %d created %p", client_sk, client); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3547:17: note: in expansion of macro 'debug' 3547 | debug("client %d created %p", client_sk, client); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3549:17: note: in expansion of macro 'debug' 3549 | debug("client %d already exists %p", client_sk, client); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3549:17: note: in expansion of macro 'debug' 3549 | debug("client %d already exists %p", client_sk, client); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3573:25: note: in expansion of macro 'debug' 3573 | debug("client %d no data to read, waiting", client_sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3573:25: note: in expansion of macro 'debug' 3573 | debug("client %d no data to read, waiting", client_sk); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3577:17: note: in expansion of macro 'debug' 3577 | debug("client %d cannot read errno %d/%s", client_sk, -errno, | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3577:17: note: in expansion of macro 'debug' 3577 | debug("client %d cannot read errno %d/%s", client_sk, -errno, | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3585:17: note: in expansion of macro 'debug' 3585 | debug("client %d not enough data to read, waiting", client_sk); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3585:17: note: in expansion of macro 'debug' 3585 | debug("client %d not enough data to read, waiting", client_sk); | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3592:17: note: in expansion of macro 'debug' 3592 | debug("client %d invalid message length %zd ignoring packet", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3592:17: note: in expansion of macro 'debug' 3592 | debug("client %d invalid message length %zd ignoring packet", | ^~~~~ src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3604:17: note: in expansion of macro 'debug' 3604 | debug("client %d sent %d bytes but expecting %zd pending %zd", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3604:17: note: in expansion of macro 'debug' 3604 | debug("client %d sent %d bytes but expecting %zd pending %zd", | ^~~~~ src/dnsproxy.c: In function 'udp_listener_event': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3669:9: note: in expansion of macro 'debug' 3669 | debug("Received %d bytes (id 0x%04x)", len, buf[0] | buf[1] << 8); | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3669:9: note: in expansion of macro 'debug' 3669 | debug("Received %d bytes (id 0x%04x)", len, buf[0] | buf[1] << 8); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3669:9: note: in expansion of macro 'debug' 3669 | debug("Received %d bytes (id 0x%04x)", len, buf[0] | buf[1] << 8); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3669:9: note: in expansion of macro 'debug' 3669 | debug("Received %d bytes (id 0x%04x)", len, buf[0] | buf[1] << 8); | ^~~~~ src/dnsproxy.c: In function 'get_listener': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3748:9: note: in expansion of macro 'debug' 3748 | debug("family %d protocol %d index %d", family, protocol, index); | ^~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I./include -I./src -I./gdbus -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/elogind -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -DCONNMAN_PLUGIN_BUILTIN -DSTATEDIR=\""/run/connman"\" -DPLUGINDIR=\""/usr/lib/connman/plugins"\" -DSCRIPTDIR=\""/usr/lib/connman/scripts"\" -DSTORAGEDIR=\""/var/lib/connman\"" -DVPN_STORAGEDIR=\""/var/lib/connman-vpn\"" -DCONFIGDIR=\""/etc/connman\"" -I./src -O3 -pipe -march=native -fno-diagnostics-color -c -o gdhcp/src_connmand-client.o `test -f 'gdhcp/client.c' || echo './'`gdhcp/client.c src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3748:9: note: in expansion of macro 'debug' 3748 | debug("family %d protocol %d index %d", family, protocol, index); | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3748:9: note: in expansion of macro 'debug' 3748 | debug("family %d protocol %d index %d", family, protocol, index); | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3748:9: note: in expansion of macro 'debug' 3748 | debug("family %d protocol %d index %d", family, protocol, index); | ^~~~~ src/dnsproxy.c: In function 'destroy_listener': src/dnsproxy.c:46:35: warning: incompatible implicit declaration of built-in function 'fprintf' [-Wbuiltin-declaration-mismatch] 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3961:17: note: in expansion of macro 'debug' 3961 | debug("Dropping request (id 0x%04x -> 0x%04x)", | ^~~~~ src/dnsproxy.c:46:35: note: include '' or provide a declaration of 'fprintf' 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~~ src/dnsproxy.c:3961:17: note: in expansion of macro 'debug' 3961 | debug("Dropping request (id 0x%04x -> 0x%04x)", | ^~~~~ src/dnsproxy.c:46:43: error: 'stderr' undeclared (first use in this function) 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3961:17: note: in expansion of macro 'debug' 3961 | debug("Dropping request (id 0x%04x -> 0x%04x)", | ^~~~~ src/dnsproxy.c:46:43: note: 'stderr' is defined in header ''; did you forget to '#include '? 46 | # define debug(fmt...) do { fprintf(stderr, fmt); fprintf(stderr, "\n"); } while (0) | ^~~~~~ src/dnsproxy.c:3961:17: note: in expansion of macro 'debug' 3961 | debug("Dropping request (id 0x%04x -> 0x%04x)", | ^~~~~ make[1]: *** [Makefile:5986: src/tools_dnsproxy_standalone-dnsproxy.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:2113: all] Error 2 * ERROR: net-misc/connman-1.42::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/connman-1.42::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/connman-1.42::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:connman-1.42:20231216-144851.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/connman-1.42/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/connman-1.42/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/connman-1.42/work/connman-1.42' * S: '/var/tmp/portage/net-misc/connman-1.42/work/connman-1.42'