Errors while compiling Bran's Kernel
Posted: Sun Mar 22, 2009 3:11 am
Hello everyone,
I've the followed this tutorial, but when compiling, I got errors:
main.c:49: warning: return type of 'main' is not 'int'
main.c: In function 'main':
main.c:63: warning: pointer targets in passing argument 1 of 'puts' differ in signedness
main.c:51: warning: unused variable 'i'
scrn.c: In function 'puts':
scrn.c:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
c:/djgpp/bin/ld.exe: scrn.o: No such file: No such file or directory (ENOENT)
What can I do? Last one is logic, because there were errors in scrn.c. But what about the others?
I use djgpp and nasm 2.05
I've the followed this tutorial, but when compiling, I got errors:
main.c:49: warning: return type of 'main' is not 'int'
main.c: In function 'main':
main.c:63: warning: pointer targets in passing argument 1 of 'puts' differ in signedness
main.c:51: warning: unused variable 'i'
scrn.c: In function 'puts':
scrn.c:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
c:/djgpp/bin/ld.exe: scrn.o: No such file: No such file or directory (ENOENT)
What can I do? Last one is logic, because there were errors in scrn.c. But what about the others?
I use djgpp and nasm 2.05