Keil Logo

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
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.