BL51: WARNING 10 (CANNOT DETERMINE ROOT SEGMENT)
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.
Last Reviewed: Tuesday, July 19, 2005
of your data.