Operating System - Linux
1828196 Members
2298 Online
109975 Solutions
New Discussion

Compiling glibc 2.3.2 from src.rpm

 
Runar Jørgensen
Frequent Advisor

Compiling glibc 2.3.2 from src.rpm

Greetings

I'm trying to compile from source glibc-2.3.2-101.4.src.rpm
on a 2.4.18 kernel. I'm stuck and can't get past
.
.
.
make[2]: Entering directory `/usr/src/redhat/BUILD/glibc-2.3.2-200310271512/sunrpc'
FATAL: kernel too old
make[2]: *** [/usr/src/redhat/BUILD/glibc-2.3.2-200310271512/build-i686-linuxnptl/sunrpc/xbootparam_prot.stmp] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-200310271512/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/glibc-2.3.2-200310271512'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.43802 (%install)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.43802 (%install)

From ealier postings of e.g. Steven E. Protter I've come to realise that this upgrade probably isn't a good idea. However, I just have to.

Is my kernel really too old or is there a tweak?
2 REPLIES 2
Ragu_3
Trusted Contributor

Re: Compiling glibc 2.3.2 from src.rpm

My suggestion on a tweak, for Debian GNU/Linux that is. Install the latest v2.6.7 kernel-header package. Let the source for the old kernel remain. Start compiling your glibc now.Redhat may also have a kernel-headers package.
Debian GNU/Linux for the Enterprise! Ask HP ...
Runar Jørgensen
Frequent Advisor

Re: Compiling glibc 2.3.2 from src.rpm

Greetings

Thanks Ragu for your suggestion.
These are mye glibc packages. I think I already have the most current libs.

# rpm -qa|grep glibc
glibc-headers-2.3.2-101.4
glibc-common-2.3.2-101.4
glibc-debuginfo-2.3.2-101.4
glibc-devel-2.3.2-101.4
glibc-debuginfo-common-2.3.2-101.4
glibc-2.3.2-101.4
glibc-kernheaders-2.4-8.36
glibc-utils-2.3.2-101.4

I did
# LD_ASSUME_KERNEL=2.4.18
# export LD_ASSUME_KERNEL

to see if that helped any. It didn't. Same failure at same place.

Regards,
Runar Joergensen