This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: glibc 2.0.7 is broken.
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: glibc 2.0.7 is broken.
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 22 May 1998 18:02:26 -0700
- Cc: libc-hacker@cygnus.com (GNU C Library)
- References: <m0yd2Xr-000268C@ocean.lucon.org>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
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 `------------------------