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