Re: [yocto] iptables not building on master

2012-03-06 Thread Robert Yang
Hi Tom, Thanks for the update, the root cause is that iptables offers a kernel header file include/linux/types.h, but it mis-matches the kernel in the sysroot, we can add this: #define __aligned_u64 __u64 __attribute__((aligned(8))) to: iptables-1.4.12.2/include/linux/types.h to fix this pro

Re: [yocto] iptables not building on master

2012-03-06 Thread Cui, Dexuan
Robert Yang wrote on 2012-03-06: > Hi Tom, > Thanks for the update, the root cause is that iptables offers a kernel > header file include/linux/types.h, but it mis-matches the kernel in > the sysroot, we can add this: > #define __aligned_u64 __u64 __attribute__((aligned(8))) > to: > iptables-1.4.12

Re: [yocto] iptables not building on master

2012-03-06 Thread Robert Yang
On 03/06/2012 05:47 PM, Cui, Dexuan wrote: Robert Yang wrote on 2012-03-06: Hi Tom, Thanks for the update, the root cause is that iptables offers a kernel header file include/linux/types.h, but it mis-matches the kernel in the sysroot, we can add this: #define __aligned_u64 __u64 __attribute__

Re: [yocto] iptables not building on master

2012-03-06 Thread Robert Yang
Hi Dexuan, After more investigation, I found that the: -I/path/to/sysroot/usr/include has been treated as the standard system include directory, and from gcc's manual: -I dir Add the directory dir to the list of directories to be searched for header files. Directories named by

Re: [yocto] iptables not building on master

2012-03-06 Thread Koen Kooi
Op 6 mrt. 2012, om 07:48 heeft Tom Zanussi het volgende geschreven: > In the meantime, if you remove the line: > > PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" Why is a BSP layer poking at DISTRO settings?!?!?![1] koen [1] Yes RP, that really needed that many exclamatio

Re: [yocto] iptables not building on master

2012-03-06 Thread Bruce Ashfield
On 12-03-06 06:41 AM, Robert Yang wrote: Hi Dexuan, After more investigation, I found that the: -I/path/to/sysroot/usr/include has been treated as the standard system include directory, and from gcc's manual: -I dir Add the directory dir to the list of directories to be searched for header

Re: [yocto] iptables not building on master

2012-03-06 Thread Khem Raj
On 03/06/2012 01:04 AM, Robert Yang wrote: Hi Tom, Thanks for the update, the root cause is that iptables offers a kernel header file include/linux/types.h, but it mis-matches the kernel in the sysroot, we can add this: #define __aligned_u64 __u64 __attribute__((aligned(8))) to: iptables-1.4

Re: [yocto] iptables not building on master

2012-03-06 Thread Robert Yang
On 03/06/2012 11:16 PM, Khem Raj wrote: On 03/06/2012 01:04 AM, Robert Yang wrote: Hi Tom, Thanks for the update, the root cause is that iptables offers a kernel header file include/linux/types.h, but it mis-matches the kernel in the sysroot, we can add this: #define __aligned_u64 __u64 __a

Re: [yocto] iptables not building on master

2012-03-06 Thread Khem Raj
On 03/06/2012 07:21 AM, Robert Yang wrote: On 03/06/2012 11:16 PM, Khem Raj wrote: On 03/06/2012 01:04 AM, Robert Yang wrote: Hi Tom, Thanks for the update, the root cause is that iptables offers a kernel header file include/linux/types.h, but it mis-matches the kernel in the sysroot, we ca

Re: [yocto] iptables not building on master

2012-03-06 Thread Bruce Ashfield
On 12-03-06 10:24 AM, Khem Raj wrote: On 03/06/2012 07:21 AM, Robert Yang wrote: On 03/06/2012 11:16 PM, Khem Raj wrote: On 03/06/2012 01:04 AM, Robert Yang wrote: Hi Tom, Thanks for the update, the root cause is that iptables offers a kernel header file include/linux/types.h, but it mis-m

[yocto] [PATCH 0/1] meta-intel: use distro setting for libc headers

2012-03-06 Thread tom . zanussi
From: Tom Zanussi This patch removes the PREFERRED_PROVIDER setting libc headers in ia32-base in preference to the disro setting, which it should be using instead. The following changes since commit 87f409827684e39484900a20531c8a14c0cb91e6: meta-emenlow: add SRC_URI checksums to libva (2012-0

[yocto] [PATCH 1/1] ia32-base: remove libc-headers PREFERRED_PROVIDER

2012-03-06 Thread tom . zanussi
From: Tom Zanussi Let the distro do this. Signed-off-by: Tom Zanussi --- conf/machine/include/ia32-base.inc |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/conf/machine/include/ia32-base.inc b/conf/machine/include/ia32-base.inc index 8556d6e..1fb09b1 100644 --- a/conf

Re: [yocto] iptables not building on master

2012-03-06 Thread Tom Zanussi
On Tue, 2012-03-06 at 13:14 +0100, Koen Kooi wrote: > Op 6 mrt. 2012, om 07:48 heeft Tom Zanussi het volgende geschreven: > > > In the meantime, if you remove the line: > > > > PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-yocto" > > Why is a BSP layer poking at DISTRO settings?!?

Re: [yocto] iptables not building on master

2012-03-06 Thread Khem Raj
On Tue, Mar 6, 2012 at 7:27 AM, Bruce Ashfield wrote: > Nominally it is to protect them from kernel headers changes and to not > require headers or a full tree to be present (or at least this is what > I've learned over the years, I may be forgetting other elements). > but thats what linux-kernel

Re: [yocto] iptables not building on master

2012-03-06 Thread Bruce Ashfield
On 12-03-06 12:28 PM, Khem Raj wrote: On Tue, Mar 6, 2012 at 7:27 AM, Bruce Ashfield wrote: Nominally it is to protect them from kernel headers changes and to not require headers or a full tree to be present (or at least this is what I've learned over the years, I may be forgetting other eleme

Re: [yocto] [PATCH] include usbinit package with usbgadget feature

2012-03-06 Thread Hollis Blanchard
On 03/01/2012 02:26 PM, Hollis Blanchard wrote: The g_ether kernel module, in the kernel-module-g-ether package, allows targets to use a USB connection as a network interface. However, that's not useful until the module is loaded. The usbinit package provides the /etc/init.d/usb-gether script