ARM Technical Support Knowledge Articles

WARNING 10 (CANNOT DETERMINE ROOT SEGMENT)

Applies to: BL51 Code-banking Linker/Locator

Answer


Information in this article applies to:


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

Article last edited on: 2005-07-19 14:54:53

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential