On 8/28/12 4:33 PM, Irina Tirdea wrote:
Some systems (e.g. Android) define in their libc types.h __le16, __be16, etc. Since perf is wrapping <linux/types.h> with a local version, we need to define this constants in the local version too.Errors in Android: In file included from bionic/libc/include/netinet/in.h:34:0, from util/util.h:73, from util/cache.h:5, from util/abspath.c:1: bionic/libc/kernel/common/linux/in6.h:20:2: error: unknown type name '__be16' bionic/libc/kernel/common/linux/in6.h:21:2: error: unknown type name '__be32' bionic/libc/kernel/common/linux/in6.h:30:2: error: unknown type name '__be16' bionic/libc/kernel/common/linux/in6.h:31:2: error: unknown type name '__be32' bionic/libc/kernel/common/linux/in6.h:47:2: error: unknown type name '__be32'
This https://lkml.org/lkml/2012/8/29/150 should fix the netinet/in.h build problem.
David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

