Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-01-2009, 01:21 PM   #1
LQ Newbie
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
Problem installing glibc 2.10.1

I'm trying to update glibc from an old version 2.3 to 2.10.1
on a Redhat Enterprise Linux 4
kernel version 2.6.9-78.0.1.ELsmp

I configured with ./configure --prefix=/usr in a build directory as recommended.

However, make fails with the following error:
In file included from /lib/modules/2.6.9-78.0.1.ELsmp/build/include/linux/netlink.h:5,
from ../sysdeps/unix/sysv/linux/netlinkaccess.h:23,
from ../sysdeps/unix/sysv/linux/if_index.c:33:
/lib/modules/2.6.9-78.0.1.ELsmp/build/include/linux/types.h:158: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__sum16’
/lib/modules/2.6.9-78.0.1.ELsmp/build/include/linux/types.h:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wsum’
make[2]: *** [/home/dokland/glibc-build/inet/if_index.o] Error 1
make[2]: Leaving directory `/home/dokland/glibc-2.10.1/inet'
make[1]: *** [inet/subdir_lib] Error 2
make[1]: Leaving directory `/home/dokland/glibc-2.10.1'
make: *** [all] Error 2

I have installed binutils 2.19
gcc 4.3.2
gmake 3.80

I have seen some comments on related issues that a patch for the headers is needed, but am not really sure what patch I need or how to install it.
Old 09-01-2009, 02:23 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,892

Rep: Reputation: Disabled
THAT WILL KILL YOUR SYSTEM!!!!!!!!!!!!!!!!!!!!!!!!!!!

upgrade your RHEL 4 install to RHEL 5.3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in installing glibc 2.7 tanmoy_tiger Linux - Software 3 08-03-2011 01:45 PM
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 04:22 PM
Problem With Installing Glibc-2.3.3 alexina Linux From Scratch 4 10-15-2005 04:45 PM
Having Problem in Installing glibc 2.3.5 Big D@ddy Linux - Software 2 04-18-2005 04:05 AM
Problem installing glibc-2.3.4 M.R Linux - Software 4 03-15-2005 09:03 AM

All times are GMT -5. The time now is 12:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration