What to do next? (with OS kernel)
Posted: Mon Nov 04, 2002 4:19 pm
Hi, I'am begginer in OS making so I have many questions.
I done tutorial from page:
http://www.1cplusplusstreet.com/xq/ASP/ ... owCode.htm
And I done it well. But I don't know what to do next. In kernel_c.c file I put line:
printf("Hello");
It compiled well, but when I used linker:
ld -Ttext 0xFF800000 --oformat binary -o kernel.bin
kernel.o kernel_c.o
...it say's: "kernel_c.o(.text+0x3f):kernel_c.c: undefined reference to '_printf'
What can I do, please help.
PS. Sorry for my english but I'am from Poland, and yet my english isn't good :-X
I done tutorial from page:
http://www.1cplusplusstreet.com/xq/ASP/ ... owCode.htm
And I done it well. But I don't know what to do next. In kernel_c.c file I put line:
printf("Hello");
It compiled well, but when I used linker:
ld -Ttext 0xFF800000 --oformat binary -o kernel.bin
kernel.o kernel_c.o
...it say's: "kernel_c.o(.text+0x3f):kernel_c.c: undefined reference to '_printf'
What can I do, please help.
PS. Sorry for my english but I'am from Poland, and yet my english isn't good :-X