On 05/27/2014 07:43 PM, Burton, Ross wrote:
On 27 May 2014 02:59, Hongxu Jia <hongxu....@windriver.com> wrote:
+-AC_CHECK_HEADERS(linux/types.h)
+-AC_CHECK_HEADER(linux/errqueue.h, AC_DEFINE(HAVE_LINUX_ERRQUEUE_H), [], [#include
<linux/types.h>])
++AC_CHECK_HEADERS(linux/types.h linux/errqueue.h)
Have you checked the config.log and config.h to verify this is actually working?
It looks like you're simply removing the AC_DEFINE of
HAVE_LINUX_ERRQUEUE_H which is used as a guard around
<linux/errqueue.h> in sysincludes.h.
I took a look, and found out the 'AC_DEFINE' didn't work,
...
-AC_CHECK_HEADER(linux/errqueue.h, AC_DEFINE(HAVE_LINUX_ERRQUEUE_H), [],
[#include <linux/types.h>])
+AC_CHECK_HEADER(linux/errqueue.h, AC_DEFINE(HAVE_LINUX_ERRQUEUE_H, [1],
[With linux errqueue header]), [], [#include <linux/types.h>])
...
The fix was the same with compile.patch, I will merged it to compile.patch.
//Hongxu
Ross
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core