|ARM Technical Support Knowledge Articles|
Applies to: BL51 Code-banking Linker/Locator
Information in this article applies to:
When linking your project, the linker responds with:
Warning L10: CANNOT DETERMINE ROOT SEGMENT
The linker has recognized that C51 or PL/M-51 has generated the input files and tried to do a flow analysis. However, it is impossible to determine the root segment. This is due to the lack of a main function declaration. This may be caused by main () not being declared, or some part of the program is done in C but the C code is called by an assembly routine.
If any of the object modules have been created in C, then there must be a main function declaration. Make a main entry point for the program.
Article last edited on: 2005-07-19 14:54:53
Did you find this article helpful? Yes No
How can we improve this article?