Chinaunix首页 | 论坛 | 博客
  • 博客访问: 408712
  • 博文数量: 61
  • 博客积分: 2138
  • 博客等级: 大尉
  • 技术积分: 882
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-07 11:58
文章分类

全部博文(61)

文章存档

2012年(1)

2011年(8)

2010年(12)

2009年(6)

2008年(34)

我的朋友

分类: C/C++

2011-06-09 16:10:28

错误信息如下:
.\at91sam9260-sdram\at91sam9260-sdram.axf: Error: L6915E: Library reports error: __use_no_semihosting_swi was requested, but _sys_open was referenced
 
 
ARM技术支持中心FAQ:
Information in this article applies to:
  • RealView MDK-ARM version: 3.46 and higher 
  • QUESTIONI 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?
    ANSWERYou 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.
    阅读(8462) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~