Messages in this thread | | | Date | Wed, 29 Aug 2012 10:18:07 -0600 | From | David Ahern <> | Subject | Re: [PATCH 02/13] perf tools: update types definitions for Android |
| |
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
| |