GLIBC 2.14 not found
Posted: Tue Feb 11, 2014 5:40 pm
Hi, I am new to OSDev and have been following the tutorials on this wiki, as well as Bran's Kernel Development Tutorial. I compiled the GCC cross compiler yesterday and everything worked fine. Today my cross compiler gave the following error:
nasm -felf boot.asm -o boot.o
i586-elf-gcc -std=c99 -ffreestanding -O2 -Wall -Wextra -c gdt.c
i586-elf-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by i586-elf-gcc)
make: *** [gdt.o] Error 1
Why does it require the C library? I tried adding -nostdlib and -nodefaultlibs to CFLAGS but it gave the same error message. Is there a way to get around this? Thanks.
nasm -felf boot.asm -o boot.o
i586-elf-gcc -std=c99 -ffreestanding -O2 -Wall -Wextra -c gdt.c
i586-elf-gcc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by i586-elf-gcc)
make: *** [gdt.o] Error 1
Why does it require the C library? I tried adding -nostdlib and -nodefaultlibs to CFLAGS but it gave the same error message. Is there a way to get around this? Thanks.