[oe] [RFC] strace: add netlink/netlink-compat.h in configure.ac

Víctor M. Jáquez L. vjaquez at igalia.com
Tue Dec 21 19:13:01 UTC 2010


On Tue, Dec 21, 2010 at 11:52:01AM -0700, Tom Rini wrote:
> On 12/21/2010 10:39 AM, Víctor Manuel Jáquez Leal wrote:
> >I found, compiling an console-image for omap4330-panda machine, that strace
> >compilation broke because the netlink.h wasn't included. It was not included
> >because the AC_CHECK_HEADERS failed. If failed because sa_family_t wasn't
> >defined, even though linux/socket.h is supposed to define it.
> >
> >This patch modifies the configure.ac in order to include
> >netlink/netlink-compat.h in the AC_CHECK_HEADER macro, so the header is
> >detected correctly.
> 
> Is this fixed upstream or in 4.5.20 by chance?

I grabbed the git version and it cross-compile fine. The configure.ac
includes <stddef.h> instead of <linux/socket.h> - I saw that after sending the
rfc/patch.

vmjl




More information about the Openembedded-devel mailing list