|
From: Jeff D. <jd...@ad...> - 2008-02-13 17:43:27
|
On Tue, Feb 12, 2008 at 10:26:39PM +0100, Jiri Olsa wrote: > <asm/types.h> declares u32 only if there's __KERNEL__ defined, which is not case > of UML compile. And anything else that uses ptrace. > Now when I know why my Linus' tree wont compile, I'd like to know why yours does :) Because you have this header installed as your system ptrace-abi... > (I used your patch regarding the foo function errors as well...) > Maybe I have smth wrong with my headers, I use following symlinks: > > /usr/include/linux -> $(kernel)/include/linux > /usr/include/asm -> $(kernel)/include/asm-x86 This is the one - you're not supposed to do that any more. No distro has done this in probably 10 years. You're supposed to use the sanitized libc headers that come with your distro. Jeff -- Work email - jdike at linux dot intel dot com |