|
Re: dnsmasq failing to compile: msg#00024network.dns.dnsmasq.general
That got it for me, thanks Simon. Philip On Tue December 5 2006 09:42, Simon Kelley wrote: > Philip Wall wrote: > > Switched to kernel sources 2.6.18.1 and it built fine so must be an > > issue between dnsmasq and the 2.6.19 kernel. > > > > Philip Wall > > The following patch seems to fix it. > > > > Cheers, > > Simon. > > --- src/netlink.c.orig 2006-12-05 14:37:43.000000000 +0000 > +++ src/netlink.c 2006-12-05 14:36:56.000000000 +0000 > @@ -18,6 +18,14 @@ > #include <linux/netlink.h> > #include <linux/rtnetlink.h> > > +/* linux 2.6.19 buggers up the headers, patch it up here. */ > +#ifndef IFA_RTA > +# define IFA_RTA(r) \ > + ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct > ifaddrmsg)))) > + > +# include <linux/if_addr.h> > +#endif > + > static struct iovec iov; > > static void nl_err(struct nlmsghdr *h); |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: dnsmasq failing to compile: 00024, Simon Kelley |
|---|---|
| Next by Date: | Multiple server interaction with multiple subnets: 00024, Data Control Systems - Mike Elkevizth |
| Previous by Thread: | Re: dnsmasq failing to compilei: 00024, Simon Kelley |
| Next by Thread: | RE: Problem when WinXP firewall is activated (d oes not reply to ping): 00024, Raphaël Huck |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |