This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Thu, Mar 16, 2000 at 04:06:35PM +0100, Thorsten Kukuk wrote: > > Hi, > > On SPARC, the following code: > > #define _GNU_SOURCE > #include <sys/ptrace.h> > #include <signal.h> > > does not compile. signal includes bits/sigcontext.h, which includes > on SPARC asm/ptrace.h -> conflict with sys/ptrace.h If you use 2.3.4x+ kernel headers, you should be ok. sigcontext.h has #ifdef __KERNEL__ #include <asm/ptrace.h> #endif glibc 2.2 bits/ptrace.h in addition to this should fix #include <signal.h> #include <sys/ptrace.h> no matter which kernel headers you use, but the case you pointed out is broken still. The sigcontext.h header you posted is wrong though. I'll try to get to it today and write relevant bits/ sparc headers (and run them through the namespace checker). Cheers, Jakub ___________________________________________________________________ Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj Linux version 2.3.99-pre2 on a sparc64 machine (1343.49 BogoMips) ___________________________________________________________________
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |