ARM Technical Support Knowledge Articles

WARNING 7 (MODULE NAME NOT UNIQUE)

Applies to: BL51 Code-banking Linker/Locator

Answer

Information in this article applies to:


SYMPTOMS

I'm using the SRC directive to convert some C files to assembly, and when I link, I receive the following warning:

Warning L7: Module Name Not Unique

CAUSE

This occurs because the Assembly files generated have the same root name as the C files, and both are included in the link by uVision. This tells uVision to look for two object files of the same name.

RESOLUTION

The quickest way around this is to edit your project options. For the C files being translated to assembly, uncheck the box labeled "Include in Link/Lib". This prevents uVision from trying to link the C files in question; only the assembly files are linked in.

MORE INFORMATION

Article last edited on: 2005-07-19 15:03:48

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