Failing to build wiki tutorial
Posted: Fri Dec 05, 2014 6:03 am
I am trying to follow the meaty skeleton tutorial from the wiki but get these error messages:
I checked the files multiple times but can't find the problem. Can anyone point me in the right direction?
Code: Select all
i686-elf-gcc --sysroot=/home/dawnkeeper/projects/yggdrassil/meatyskeleton/sysroot -isystem=/usr/include -T arch/i386/linker.ld -o myos.kernel -O2 -g -m32 -ffreestanding -fbuiltin -Wall -Wextra arch/i386/crti.o /home/dawnkeeper/opt/gcc-cross-4.9.2/bin/../lib/gcc/i686-elf/4.9.2/crtbegin.o kernel/kernel.o /home/dawnkeeper/opt/gcc-cross-4.9.2/bin/../lib/gcc/i686-elf/4.9.2/crtend.o arch/i386/crtn.o -nostdlib -lk -lgcc
/home/dawnkeeper/opt/gcc-cross-4.9.2/bin/../lib/gcc/i686-elf/4.9.2/../../../../i686-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000100000
kernel/kernel.o: In function `kernel_early':
/home/dawnkeeper/projects/yggdrassil/meatyskeleton/kernel/kernel/kernel.c:10: undefined reference to `terminal_initialize'
/home/dawnkeeper/projects/yggdrassil/meatyskeleton/sysroot/usr/lib/libk.a(putchar.libk.o): In function `putchar':
/home/dawnkeeper/projects/yggdrassil/meatyskeleton/libc/stdio/putchar.c:11: undefined reference to `terminal_write'
collect2: error: ld returned 1 exit status
make: *** [myos.kernel] Error 1
make: Leaving directory `/home/dawnkeeper/projects/yggdrassil/meatyskeleton/kernel'