Problem Updating glibc 2.2.5-34 to 2.3.2
Im trying to update my acutal glibc to an up to date version
If you want to know why its just for the challenge
when I compiled i got the folliwing error
[root:/home/final/glibc-build]# ../glibc-2.3.2/configure
everything goes fine until that
running configure fragment for ../glibc-2.3.2/sysdeps/i386/elf
running configure fragment for ../glibc-2.3.2/sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10 or later
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on. Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.
after i got this error i tried the following command(i specified the path to the source of my kernel and then It got worst
../glibc-2.3.2/configure --with-headers=/usr/src/linux-2.4.18-3/
checking size of long double... 12
running configure fragment for ../glibc-2.3.2/sysdeps/i386/elf
running configure fragment for ../glibc-2.3.2/sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel
header files. To use kernel headers not from /usr/include/linux, use the configure option --with-headers.
I even tryed to make a symbolic link of my version.h located in my /usrc/src/linux-2.4-18-3 into /usr/include/linux
Im out of idea folks..so im asking for your help
My os is
Redhat 7.3 2.4-18-3
|