This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PowerPC Problem with current glibc 2.2



Compiling linuxthreads/signals.c on powerpc I get:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../stdlib/ucontext.h:27,
                 from ../include/ucontext.h:1,
                 from signals.c:22:
../sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h:38: warning: `NGREG' redefined
../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:45: warning: this is the location of the previous definition
In file included from ../stdlib/ucontext.h:27,
                 from ../include/ucontext.h:1,
                 from signals.c:22:
../sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h:35: conflicting types for `greg_t'
../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:42: previous declaration of `greg_t'
../sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h:41: conflicting types for `gregset_t'
../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:43: previous declaration of `gregset_t'
../sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h:51: conflicting types for `fpregset_t'
../sysdeps/unix/sysv/linux/powerpc/sys/procfs.h:44: previous declaration of `fpregset_t'
make[2]: *** [/usr/src/aj/build-glibc/linuxthreads/signals.o] Error 1
make[2]: Leaving directory `/usr/src/aj/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/usr/src/aj'        
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The ucontext.h file from glibc 2.1 is fine. Can we copy it to glibc 2.2?

Andreas

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]