logo       

Re: dnsmasq failing to compile: msg#00022

network.dns.dnsmasq.general

Subject: Re: dnsmasq failing to compile

Carlos Carvalho wrote:
> Philip Wall (philip.wall-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx) wrote on 4
> December 2006 23:49:
> >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.
>
> Applications shouldn't depend directly on the kernel headers, they
> depend on the headers used by libc. There's something strange in your
> configuration.

That's the theory: the practise is that for interfaces which are linux
specific, it's necessary to

#include <linux/somefile>

and, whilst /usr/include/linux _should_ be some nice, change controlled,
stable API, set of userspace headers, nobody actually maintains such a
thing. Distros are therefore forced to use the include tree from some
kernel-or-other, and when that changes, things can break.

In this case, I can't see any solution other than to resort to #ifdef
and swearing.

I'll put something together and post a patch here soon.


Cheers,

Simon.

>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss-YFzxfK+dQ3ZKxzGo0kwUX62ZND6+EDdj@xxxxxxxxxxxxxxxx
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise