Hi everyone,
I created a C++ project and implemented some basic classes. The compilation works fine but in the linking process I get some errors. I don't really know what I do wrong. I assume someone familiar with using C++ and RealView can help.
Here are the error messages I get:
linking... .\Obj\OrigaII_Test.axf: Error: L6218E: Undefined symbol __aeabi_unwind_cpp_pr0 (referred from new.o). .\Obj\OrigaII_Test.axf: Error: L6218E: Undefined symbol __rt_new_handler_addr (referred from new.o). .\Obj\OrigaII_Test.axf: Error: L6218E: Undefined symbol abort (referred from arm_exceptions_terminate.o). .\Obj\OrigaII_Test.axf: Error: L6218E: Undefined symbol __rt_eh_globals_addr (referred from arm_exceptions_globs.o). Target not created
Thank you, Frank
Again take a look at the startup files provided in your RealView MDK installation (for example Keil\ARM\Startup\Philips\LPC2300.s).
Missing is the declaration for __initial_sp defined as:
AREA STACK, NOINIT, READWRITE, ALIGN=3 Stack_Mem SPACE USR_Stack_Size __initial_sp SPACE ISR_Stack_Size
Thanks,
i used LPC2300.s 2006 version, i downloaded new version and the problem is solved.
Thank you very much again.