This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Compile-time error


Greetings

I thought I had followed the install docs completely, but I am getting
the following error when I compile on a Dell PowerEdge running RedHat
7.2

./glibc-2.4/configure --prefix=/usr --enable-add-ons

make

{lots of output}

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/usr/local/glibc-build/signal -I/usr/local/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)
make[2]: *** [/usr/local/glibc-build/signal/raise.o] Error 1
make[2]: Leaving directory `/usr/local/glibc-2.4/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/usr/local/glibc-2.4'

A search of the web didn't turn up much, except maybe there's a missing
header file associated with a more recent kernel. The kernel here is
2.4.7.10smp. Can anyone point me in the right direction?

Thanks

Mike


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