Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Centos 5.3 does not supports Glibc 2.7

Centos 5.3 does not supports Glibc 2.7. But nios2-linux-20090928.tar requires for it.

I could not find one soulution by google. It is said we could not use new version of Glibc for CentOS5.3 because Glibc is very important.

I edit 'config.arch' file and reivse the tool chain to old 'nios2-wrs-linux-gnu'. But it still has problem.

Following is the error report for nios2-linux-20090928.tar.

chmod +x tools/romfs-inst.sh tools/modules-alias.sh tools/build-udev-perms.sh

. linux-2.6.x/.config; if [ "$CONFIG_INITRAMFS_SOURCE" != "" ]; then

mkdir -p `dirname $CONFIG_INITRAMFS_SOURCE`;

touch $CONFIG_INITRAMFS_SOURCE || exit 1;

fi

rm -f linux-2.6.x/usr/initramfs_data.cpio

make ARCH=nios2 CROSS_COMPILE=nios2-linux-gnu- O=/home/hank/linux/nios2-linux/uClinux-dist/linux-2.6.x -j4 -C ../linux-2.6 || exit 1

make[1]: Entering directory `/home/hank/linux/nios2-linux/linux-2.6'

CHK include/linux/version.h

CHK include/linux/utsrelease.h

SYMLINK include/asm -> include/asm-nios2

Using /home/hank/linux/nios2-linux/linux-2.6 as source for kernel

CC scripts/mod/empty.o

/home/hank/linux/nios2-linux/toolchain-mmu/x86-linux2/bin/../libexec/gcc/nios2-linux-gnu/4.1.2/cc1: /lib/libc.so.6: version `GLIBC_2.7' not found (required by /home/hank/linux/nios2-linux/toolchain-mmu/x86-linux2/bin/../libexec/gcc/nios2-linux-gnu/4.1.2/cc1)

/home/hank/linux/nios2-linux/toolchain-mmu/x86-linux2/bin/../lib/gcc/nios2-linux-gnu/4.1.2/../../../../nios2-linux-gnu/bin/as: /lib/libc.so.6: version `GLIBC_2.7' not found (required by /home/hank/linux/nios2-linux/toolchain-mmu/x86-linux2/bin/../lib/gcc/nios2-linux-gnu/4.1.2/../../../../nios2-linux-gnu/bin/as)

make[4]: *** [scripts/mod/empty.o] Error 1

make[3]: *** [scripts/mod] Error 2

make[2]: *** [scripts] Error 2

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/home/hank/linux/nios2-linux/linux-2.6'

make: *** [linux] Error 1

1 Reply