[Dnsmasq-discuss] dnsmasq failing to compile
Philip Wall
philip.wall at gmail.com
Sun Dec 3 03:56:14 GMT 2006
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
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
More information about the Dnsmasq-discuss
mailing list