Subject: Kernel.bin not compiling correctly. · Posted: 2005-11-01, 12:34pm
Rank: ? (1)
Member #: 25646
I have everything done with my kernel and bootloader script but when i go to compile with ld i get this error:
ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000
kernel_c.o(.text+0x54):kernel_c.cpp: undefined reference to `_alloca'
kernel_c.o(.text+0x59):kernel_c.cpp: undefined reference to `__main'
Can somebody help me?
btw, I have my main kernel script in c++ and the script to start the c++ script in assembly(of course).