Hello, World)) When i compile glibc (2.3.5 or 2.5 (therefore i think that this is not glibc bug)) i have a problem. gcc ../nptl/sysdeps/unix/sysv/linux/raise.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -mpreferred-stack-boundary=2 -I../include -I/tools/glibc-build/signal -I/tools/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -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../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -I /lib/modules/2.4.7-10smp/build/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /usr/local/glibc-build/signal/raise.o -MD -MP -MF /usr/local/glibc-build/signal/raise.o.dt -MT /usr/local/glibc-build/signal/raise.o ../nptl/sysdeps/unix/sysv/linux/raise.c: In function 'raise': ../nptl/sysdeps/unix/sysv/linux/raise.c:42: error: '__NR_gettid' undeclared (first use in this function) ../nptl/sysdeps/unix/sysv/linux/raise.c:42: error: (Each undeclared identifier is reported only once ../nptl/sysdeps/unix/sysv/linux/raise.c:42: error: for each function it appears in.) ../nptl/sysdeps/unix/sysv/linux/raise.c:71: error: '__NR_tkill' undeclared (first use in this function)
my system configuration: gcc-3.4.6kernel-2.4.6 - basic system and kernel-2.6.20.11 - headers of LFS-systemtexinfo-4.8a autoconf-2.61 make-3.79.1 binutils-2.17 awk-3.1.0 perl-5.6.0 sed-3.0.2 i configure glibc Makefile with:../glibc-2.5/configure --prefix=/tools --disable-profile --with-binutils=/tools/bin --without-gd --with-kernel-headers=/tools/include --without-selinux --enable-add-ons CC=/tools/bin/gcc CXX=/tools/bin/g++ Thanks, Max.