Comment 4 for bug 474751

Revision history for this message
Steve Beattie (sbeattie) wrote : Re: [Bug 474751] Re: FTBFS on lucid

On Wed, Nov 04, 2009 at 09:48:42PM -0000, Jamie Strandboge wrote:
> af_names.h is included in parser_misc. This fails on the new
> /usr/include/linux/socket.h and also doesn't work with
> /usr/include/bits/socket.h

/usr/include/bits/socket.h is provided by glibc, not the kernel and
sometimes lags the kernel in terms of what AF/PF names are defined.
I see that in 2.6.32 that the kernel header install scripts
(scripts/headers_install.pl) filters out #if KERNEL defines. Probably
the more correct fix is to depend on the linux-headers package and use
linux/socket.h from there.

--
Steve Beattie
<email address hidden>
http://NxNW.org/~steve/