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,
/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.