Technical Support

ARMLINK: LINKER ERROR L6915E WITH ATMEL EXAMPLES


Information in this article applies to:

  • RealView MDK-ARM version: 3.46 and higher

QUESTION

I have updated MDK-ARM to version V3.46 and now when I try to build the Atmel examples I get the linker error:

Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but _sys_open was referenced

Before the update the Atmel examples compile and link without erros. How can I solve the problem?

ANSWER

You need to add the following definitions to file retarget.c.

struct __FILE { int handle;} ;

FILE __stdout;
FILE __stdin;
FILE __stderr;

Once you added the definitions the linker error should go away.

SEE ALSO

Last Reviewed: Tuesday, March 23, 2010


Did this article provide the answer you needed?
 
Yes
No
Not Sure