On Saturday 02 December 2006 21:56, Philip Wall wrote: > Getting this during compile of a fresh > dnsmasq 2.35 > Kernel 2.6.19 They changed a bunch of things in this kernel. > Slamd64 11 (slackware 64bit version) > gcc 3.4.6 > Previous versions had no problem building
$ time make -j5 make I18N=-DNO_GETTEXT -f ../bld/Makefile -C src dnsmasq make[1]: Entering directory `/home/common/src/dnsmasq-2.35/src' cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c cache.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c rfc1035.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c util.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c option.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c forward.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c isc.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c network.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c dnsmasq.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c dhcp.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c lease.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c rfc2131.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c netlink.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c dbus.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c bpf.c cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags dbus-1` -Wall -W -c helper.c cc -o dnsmasq cache.o rfc1035.o util.o option.o forward.o isc.o network.o dnsmasq.o dhcp.o lease.o rfc2131.o netlink.o dbus.o bpf.o helper.o `echo | ../bld/pkg-wrapper pkg-config --libs dbus-1` make[1]: Leaving directory `/home/common/src/dnsmasq-2.35/src' real 0m3.050s user 0m4.116s sys 0m0.476s $ cat /etc/slackware-version ; gcc --version Slackware 10.2.1 (x86_64) gcc (GCC) 3.4.6 ... Perhaps you're missing some requisite library? But anyway, dnsmasq is provided in both Slackware and Slamd64: $ locate dnsmasq | grep '\.tgz$' /home/common/slamd64-10.2b/slackware/n/dnsmasq-2.24-x86_64-1.tgz /home/common/slamd64-11.0/slackware/n/dnsmasq-2.33-x86_64-1.tgz /home/common/slackware-10.1/slackware/n/dnsmasq-2.20-i486-1.tgz /home/common/slackware-10.2/slackware/n/dnsmasq-2.23-i486-1.tgz /home/common/slackware-11.0/slackware/n/dnsmasq-2.33-i486-1.tgz ... so you could: 1. installpkg it 2. Edit and run Fred's dnsmasq.SlackBuild > cc -O2 -DNO_GETTEXT `echo | ../bld/pkg-wrapper pkg-config --cflags > dbus-1` -Wall -W -c netlink.c > netlink.c: In function `iface_enumerate': > netlink.c:159: warning: implicit declaration of function `IFA_RTA' > netlink.c:159: warning: initialization makes pointer from integer > without a cast > netlink.c:160: error: dereferencing pointer to incomplete type > netlink.c:162: error: dereferencing pointer to incomplete type > netlink.c:166: error: dereferencing pointer to incomplete type > netlink.c:172: error: `IFA_LOCAL' undeclared (first use in this > function) > netlink.c:172: error: (Each undeclared identifier is reported only > once netlink.c:172: error: for each function it appears in.) > netlink.c:174: error: `IFA_BROADCAST' undeclared (first use in this > function) > netlink.c:181: error: dereferencing pointer to incomplete type > netlink.c:185: error: dereferencing pointer to incomplete type > netlink.c:190: error: `IFA_ADDRESS' undeclared (first use in this > function) > netlink.c:197: error: dereferencing pointer to incomplete type > netlink.c:197: error: dereferencing pointer to incomplete type > make[1]: *** [netlink.o] Error 1 > make[1]: Leaving directory `/www/src/dnsmasq-2.35/src' > make: *** [dnsmasq] Error 2 I'm running on a 2.6.18.2 kernel with /usr/src/linux pointing to linux-2.6.15.5 sources. So yes, maybe the 2.6.19 kernel is your problem. Although I have it on good authority that 2.6.19 is perfect, and any problems with it are your own %*&^$*! fault. Linus said so. :) -- Offlist mail to this address is discarded unless "/dev/rob0" or "not-spam" is in Subject: header