* include/asm-sparc/ptrace.h is broken
@ 2001-05-31 21:15 Felix von Leitner
2001-06-01 3:08 ` David S. Miller
0 siblings, 1 reply; 2+ messages in thread
From: Felix von Leitner @ 2001-05-31 21:15 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: include/asm-sparc/ptrace.h is broken
2001-05-31 21:15 include/asm-sparc/ptrace.h is broken Felix von Leitner
@ 2001-06-01 3:08 ` David S. Miller
0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2001-06-01 3:08 UTC (permalink / raw)
To: Felix von Leitner; +Cc: linux-kernel
Felix von Leitner writes:
> 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__.
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
davem@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-06-01 3:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-31 21:15 include/asm-sparc/ptrace.h is broken Felix von Leitner
2001-06-01 3:08 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox