[yocto] iptables not building on master

Autif Khan autif.mlist at gmail.com
Mon Mar 5 13:03:39 PST 2012


I was working with M2 until recently and had to switch to master.
After I switched to master, I tried to bitbake core-image-sato for
machine crownbay. The build fails with the following error:

unknown type name '__aligned_u64'

The file in question is extenstions/libxt_pkttypes.c

After a bit of investigation (thanks Khem) it seems like instead of
/usr/include/linux/types.h, the include/linux/types.h from iptables
source is being included. These a bit incompatible - specifically -
the definition for __aligned_u64 is not in the latter.

I am building core-image-sato for qemux86 and will report when the
build reaches that point.

Is this a known issue?

*** This issue should be hitting anyone doing a clean build on master.
Or at the very least someone who builds iptables recipe***

I looked at the recent change (post M2) that iptables was updated to
1.2.12.2 (from 1.2.12.1). There was a patch included for
extensions/GNUmakefile  which does not build "check" target. I looked
at what it does and realized that someone more experienced that I am
should look into this.

Thanks

Autif



More information about the yocto mailing list