include/asm-sparc/ptrace.h is broken
on line 76, it includes <asm/asm_offsets.h>, which does not exist.
This is critical because this include file does not work when used from a libc. ptrace.h is from 1997 on my 2.4.5 kernel, so this is not something that broke recently.
My suggestion is to remove the offending line altogether or at least protect it with #ifdef __KERNEL__.
Felix
Quoted 8 lines · Felix von Leitner
on line 76, it includes <
asm/asm_offsets.h>, which does not exist.This is critical because this include file does not work when used from a libc.
ptrace.his from 1997 on my 2.4.5 kernel, so this is not something that broke recently.My suggestion is to remove the offending line altogether or at least protect it with #ifdef
__KERNEL__.
Just like other headers in the kernel (such as linux/autoconfig.h) they do not exist until the kernel is configured and built.
include asm-sparc{,64}/asm_offsets.h is built at kernel build time.
Later,
David S. Miller
[email protected]