glibc 2.0.7 is broken.
Ulrich Drepper
drepper@cygnus.com
Fri May 22 18:06:00 GMT 1998
hjl@lucon.org (H.J. Lu) writes:
> # gcc -c x.c
> /usr/include/sys/ptrace.h:35: parse error before `0'
> /usr/include/sys/ptrace.h:51: parse error before `4'
> /usr/include/sys/ptrace.h:63: parse error before `7'
> # gcc -M x.c
> x.o: x.c /usr/include/sys/user.h /usr/include/linux/user.h \
> /usr/include/asm/user.h /usr/include/asm/page.h \
> /usr/include/linux/ptrace.h /usr/include/asm/ptrace.h \
> /usr/include/sys/ptrace.h /usr/include/features.h \
> /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
I see that there is a problem but I don't see a problem while
compiling glibc.
And a fix of this problem should be to remove the #include
<linux/ptrace.h> from #include <asm/user.h> (on Intel at least). Was
this introduced recently?
-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
More information about the Libc-hacker
mailing list