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.12.2/include/linux/types.h to fix this problem.
find out why iptables has its own copy of linux/types.h that file should be deleted if there is no reason to have it.
Another solution is that as Dexuan suggested we change the order of the include header files, but I'm afraid that may cause other problems, since I think that the pkg's own header file should have a higher priority than the system's, so I think that the current order is correct. I will send a pull request after enough testing.
https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto