PowerPC Problem with current glibc 2.2
Andreas Jaeger
aj@suse.de
Tue Dec 21 02:46:00 GMT 1999
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
More information about the Libc-alpha
mailing list