Anyways, I have reached the stage to where I have written the output drivers in the tutorial. However, I have trouble compiling the kernel. Here is my output:
Code: Select all
Now assembling, compiling, and linking your kernel:
scrn.c: In function `scroll':
scrn.c:24: warning: passing arg 1 of `memcpy' from incompatible pointer type
scrn.c:24: warning: passing arg 2 of `memcpy' from incompatible pointer type
start.o(.text+0x2d): In function `stublet':
: undefined reference to `_main'
scrn.o(.text+0x45): In function `scroll':
: undefined reference to `memcpy'
scrn.o(.text+0x259): In function `putch':
: undefined reference to `memcpy'
Done!
My code is attached to a zip file since it is too long to put in this post.
I am new to all of this, so I don't know what is going wrong. Thanks in advance.