Free2Code
 
Time: 2008-11-20, 11:18pm
Kernel.bin not compiling correctly.
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).

 
  Reply to this ·  Post link ·  Top

Pages: 1

Please login or register to post a reply.

icons