Technical Support

BL51: WARNING 10 (CANNOT DETERMINE ROOT SEGMENT)


Information in this article applies to:

  • C51 Version 5.50

SYMPTOMS

When linking your project, the linker responds with:

Warning L10: CANNOT DETERMINE ROOT SEGMENT

CAUSE

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.

RESOLUTION

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.

MORE INFORMATION

Last Reviewed: Tuesday, July 19, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure