Posted by motoyama
![]()
on 4/4/2008, 9:50 am
218.251.124.132
Hi all,
I have a problem and need your help!
I use H8-3664 for my project. I wrote the program in both Assembly and C, with HEW (High-performance Embedded Workshop) and put all code files in to one project.
I write the start up process in Assembly in order to initial stack pointer and program counter. When finished, I call the main function (which written in C) for processing.
In Assembly, i used .import _functionname to call the function in C.
But when i build my project, compiler produce an error such like this:
(L2310 (E) Undefined external symbol "_MAIN" referenced in "C:\WorkSpace\combine\combine\Release\combine.obj")
I don't know why and somebody please help me
Message Thread:
![]()
« Back to thread