ARM Technical Support Knowledge Articles

L6320W WARNING SWITCHING CODE TO C++

Applies to: RealView Linker

Answer


Information in this knowledgebase article applies to:


SYMPTOM

I'm switching my uVision project from C to C++. After renaming all my *.c files to *.cpp, I now get this error message:

.\myprog\myprog.axf: Warning: L6320W: Ignoring --keep command.
Cannot find argument '__cpp_initialize__aeabi_'.
.\myprog\myprog.axf: Error: L6218E: Undefined symbol
__cpp_initialize__aeabi_ (referred from anon$$obj.o).
.\myprog\myprog.axf: Error: L6218E: Undefined symbol
__rt_SIGPVFN (referred from pure_virt.o).
.\myprog\myprog.axf: Not enough information to list image symbols.
.\myprog\myprog.axf: Finished: 1 information, 1 warning and 2 error messages.

What could be causing this?

CAUSE

Your C project was using the MicroLIB libraries. MicroLIB is a C library. It does not support C++.

RESOLUTION

Uncheck the Use MicroLIB checkbox in Options for Target, Target tab, then rebuild your project.

MORE INFORMATION

SEE ALSO

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2010-08-06 08:28:04

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