Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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,
/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: *** [/home/dokland/glibc-build/inet/if_index.o] Error 1
make: Leaving directory `/home/dokland/glibc-2.10.1/inet'
make: *** [inet/subdir_lib] Error 2
make: Leaving directory `/home/dokland/glibc-2.10.1'
make: *** [all] Error 2
I have installed binutils 2.19
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.