Mailinglist Archive: opensuse (3217 mails)

< Previous Next >
Re: [opensuse] Compilation of Glibc 2.5
  • From: Aaron Kulkis <akulkis00@xxxxxxxxxx>
  • Date: Fri, 16 Nov 2007 07:13:53 -0500
  • Message-id: <473D8981.2010402@xxxxxxxxxx>
Roland Turcan wrote:
Hello opensuse@xxxxxxxxxxxx!

Could anybody help me with this problem?

During 'make' og glibc2.5 from sources it reports:

mkdir /root/Desktop/glibc-build/signal
gcc ../sysdeps/unix/sysv/linux/signal.c -c -std=gnu99 -O2 -Wall -Winline
-Wwrite-strings
-fmerge-all-constants -g -Wstrict-prototypes -mpreferred-stack-boundary=2
-I../include
-I/root/Desktop/glibc-build/signal -I/root/Desktop/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. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /root/Desktop/glibc-build/signal/signal.o -MD
-MP -MF /root/Desktop/glibc-build/signal/signal.o.dt -MT
/root/Desktop/glibc-build/signal/signal.o
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/root/Desktop/glibc-build/signal -I/root/Desktop/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. -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /root/Desktop/glibc-build/signal/raise.o -MD -MP
-MF /root/Desktop/glibc-build/signal/raise.o.dt -MT
/root/Desktop/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]: *** [/root/Desktop/glibc-build/signal/raise.o] Error 1
make[2]: Leaving directory `/root/Desktop/glibc-2.5/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/root/Desktop/glibc-2.5'
make: *** [all] Error 2

I have all requirement softwares up-to-date and I use RedHat 7.3 i386
2.4.18-3.

glibc2.5 is written for 2.6.x kernels.
It isn't going to work with a 2.4.x or 2.2.x kernal.


PS: Please do not answer me, that I should upgrade to newer distro,
because I need this version of ancient linux to be able to work with
software I need.

What software is it that?

What are you trying to accomplish which cannot be done
with modern software? The longer you refuse to migrate
to more modern software, the worse your headaches are
going to be -- this applies for ANY operating system,
not just Linux.



--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References