Here is the error: make[2]: Entering directory `/home/arthur/glibc-2.7/glibc-2.7/misc' sh4-linux-gnu-gcc ../sysdeps/unix/sysv/linux/ptrace.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -I../include -I/home/arthur/glibc-2.7/build-sh4/misc -I/home/arthur/glibc-2.7/build-sh4 -I../sysdeps/sh/elf -I../nptl/sysdeps/unix/sysv/linux/sh/sh4 -I../sysdeps/unix/sysv/linux/sh/sh4 -I../nptl/sysdeps/unix/sysv/linux/sh -I../sysdeps/unix/sysv/linux/sh -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/sh -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/sh/sh4/fpu -I../sysdeps/sh/sh4 -I../nptl/sysdeps/sh -I../sysdeps/sh -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /home/arthur/glibc-2.7/build-sh4/misc/ptrace.o -MD -MP -MF /home/arthur/glibc-2.7/build-sh4/misc/ptrace.o.dt -MT /home/arthur/glibc-2.7/build-sh4/misc/ptrace.o In file included from ../sysdeps/unix/sysv/linux/ptrace.c:21: ../sysdeps/unix/sysv/linux/sys/ptrace.h:135: error: expected identifier before numeric constant make[2]: *** [/home/arthur/glibc-2.7/build-sh4/misc/ptrace.o] Error 1 make[2]: Leaving directory `/home/arthur/glibc-2.7/glibc-2.7/misc' make[1]: *** [misc/subdir_lib] Error 2 make[1]: Leaving directory `/home/arthur/glibc-2.7/glibc-2.7' make: *** [all] Error 2 Used glibc-2.7.tar.bz2 tarball from ftp.gnu.org. $ sh4-linux-gnu-gcc --version sh4-linux-gnu-gcc (GCC) 4.2.3 20071014 (prerelease) (Debian 4.2.2-3) Thanks.
*** This bug has been marked as a duplicate of 333 ***