音影先锋亚洲天堂网|电影世界尽头的爱完整版播放|国产 熟女 91|高清无码免费观看欧美日韩|韩国一区二区三区黄色录像|美女亚洲加勒比在线|亚洲综合网 开心五月|7x成人在线入口|成人网站免费日韩毛片区|国产黄片?一级?二级?三级

登錄 免費注冊 首頁 | 行業(yè)黑名單 | 幫助
維庫電子市場網
技術交流 | 電路欣賞 | 工控天地 | 數字廣電 | 通信技術 | 電源技術 | 測控之家 | EMC技術 | ARM技術 | EDA技術 | PCB技術 | 嵌入式系統
驅動編程 | 集成電路 | 器件替換 | 模擬技術 | 新手園地 | 單 片 機 | DSP技術 | MCU技術 | IC 設計 | IC 產業(yè) | CAN-bus/DeviceNe

這樣的L6200E錯誤該如何解決

作者:socitiac 欄目:ARM技術
這樣的L6200E錯誤該如何解決
在編譯工程文件中,顯示如下的錯誤信息
Error: L6200E: Symbol _sys_close multiply defined (by sys_io.o and target.0)
還有_sys_write,_sys_read等幾個,這幾個可以在tagart.c中解決(增加該部分內容目的是什么呢?);

但是對這個錯誤
Error: L6200E: Symbol __semihosting_swi_guard multiply defined (by use_semi.o and use_no_semi.o),這個錯誤該如何消除呢,因為我找不到這兩個文件的源文件呀! 在網上查了一下,可以通過如下措施解決,但還是不行呀,各位誰遇到過該現象嗎,如何解決的呀,也請周工幫看看呀
#pragma import(__use_no_semihosting_swi)

2樓: >>參與討論
gyf2000
re
Symbol __semihosting_swi_guard multiply defined (by use_semi.o and
use_no_semi.o).
This error is reported when functions that use semihosting SWIs are linked in from the C
library, in the presence of the __use_no_semihosting_swi guard. See the ADS 1.2
Compilers and Libraries Guide, section 4.2.2, "Building an application for a nonsemihosted
environment" and ADS 1.2 Developer Guide, Section 6.10.1, "LINKer error
__semihosting_swi_guard".
To resolve this, you must provide your own implementations of these C library functions.
The ADS 1.2 \Examples\embedded directory contains examples of how to re-implement
some of the more common SWI-using functions - see the file retarget.c.
To identify which SWI-using functions are being linked-in from the C libraries:
1. LINK with 'armlink -verbose -errors err.txt'
2. Search err.txt for occurrences of '__I_use_semihosting_swi'
For example:
:
Loading member sys_exit.o from c_a__un.l.
reference : __I_use_semihosting_swi
definition: _sys_exit
:
This shows that the SWI-using function _sys_exit is being linked-in from the C library. To
prevent this, you will need to provide your own implementation of this function.

參與討論
昵稱:
討論內容:
 
 
相關帖子
LPC2210的速度問題
代碼下到了FLASH中,在執(zhí)行過程中,是如何拷到RAM運行的?
程序直接進入SoftwareInterrupt根本進入不了main是怎么回事呢?
max708為什么不能正常工作?
關于topruler發(fā)貼指ZLG盜版之事
免費注冊為維庫電子開發(fā)網會員,參與電子工程師社區(qū)討論,點此進入


Copyright © 1998-2006 m.58mhw.cn 浙ICP證030469號