这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » build bootrom时出现这样的错误!

共1条 1/1 1 跳转至

build bootrom时出现这样的错误!

菜鸟
2006-12-16 21:09:27     打赏
我build bootrom时出现这样的错误:

ccarm -mapcs-32 -mlittle-endian -march=armv4 -ansi -O2 -fno-builtin -fvolatile -Wall -I\h
-I. -IC:\Tornado2.2\target\config\all -IC:\Tornado2.2\target\h -IC:\Tornado2.2\target\s
rc\config -IC:\Tornado2.2\target\src\drv -DCPU=ARMARCH4 -DTOOL_FAMILY=gnu -DTOOL=gnu -DARM
EL -Wcomment -DCPU_920T -DARMMMU=ARMMMU_920T -DARMCACHE=ARMCACHE_920T -c sysLib.c
In file included from sysLib.c:444:
C:\Tornado2.2\target\src\drv\sio\at91Sio.c:62: warning: initialization from incompatible p
ointer type
C:\Tornado2.2\target\src\drv\sio\at91Sio.c: In function `at91SioDevInit':
C:\Tornado2.2\target\src\drv\sio\at91Sio.c:94: warning: unused variable `buffer'
C:\Tornado2.2\target\src\drv\sio\at91Sio.c: In function `at91SioInt':
C:\Tornado2.2\target\src\drv\sio\at91Sio.c:432: warning: unused variable `pass_counter'
C:\Tornado2.2\target\src\drv\sio\at91Sio.c: In function `at91SioBaudSet':
C:\Tornado2.2\target\src\drv\sio\at91Sio.c:523: warning: unused variable `flags'
C:\Tornado2.2\target\src\drv\sio\at91Sio.c: In function `at91SioOptsSet':
C:\Tornado2.2\target\src\drv\sio\at91Sio.c:647: warning: unused variable `flags'
C:\Tornado2.2\target\src\drv\sio\at91Sio.c: In function `at91SioHup':
C:\Tornado2.2\target\src\drv\sio\at91Sio.c:850: warning: comparison of distinct pointer ty
pes lacks a cast
In file included from sysLib.c:445:
C:\Tornado2.2\target\src\drv\intrCtl\at91Intr.c: In function `at91IntLvlVecChk':
C:\Tornado2.2\target\src\drv\intrCtl\at91Intr.c:168: warning: unused variable `Reg'
In file included from C:\Tornado2.2\target\src\drv\end\at91eth.c:64,
from sysLib.c:458:
C:\Tornado2.2\target\src\drv\end\at91_ether.c: In function `reset_phy':
C:\Tornado2.2\target\src\drv\end\at91_ether.c:299: warning: unused variable `lp'
C:\Tornado2.2\target\src\drv\end\at91_ether.c: In function `at91ether_start':
C:\Tornado2.2\target\src\drv\end\at91_ether.c:583: warning: assignment makes integer from
pointer without a cast
C:\Tornado2.2\target\src\drv\end\at91_ether.c:564: warning: unused variable `pNewCluster'
C:\Tornado2.2\target\src\drv\end\at91_ether.c: In function `at91ether_open':
C:\Tornado2.2\target\src\drv\end\at91_ether.c:608: warning: unused variable `lp'
C:\Tornado2.2\target\src\drv\end\at91_ether.c: In function `at91ether_rx':
C:\Tornado2.2\target\src\drv\end\at91_ether.c:740: warning: unused variable `dlist'
C:\Tornado2.2\target\src\drv\end\at91_ether.c:739: warning: unused variable `lp'
In file included from sysLib.c:458:
C:\Tornado2.2\target\src\drv\end\at91eth.c: In function `at91EthMCastAdd':
C:\Tornado2.2\target\src\drv\end\at91eth.c:244: warning: unused variable `i'
C:\Tornado2.2\target\src\drv\end\at91eth.c: In function `at91EthMCastDel':
C:\Tornado2.2\target\src\drv\end\at91eth.c:272: warning: unused variable `i'
C:\Tornado2.2\target\src\drv\end\at91eth.c: In function `at91EthTbdCheck':
C:\Tornado2.2\target\src\drv\end\at91eth.c:548: warning: unused variable `lp'
C:\Tornado2.2\target\src\drv\end\at91eth.c: In function `at91EthPollReceive':
C:\Tornado2.2\target\src\drv\end\at91eth.c:674: warning: unused variable `regs'
C:\Tornado2.2\target\src\drv\end\at91eth.c: In function `at91EthPollSend':
C:\Tornado2.2\target\src\drv\end\at91eth.c:762: warning: unused variable `lp'
sysLib.c: In function `sysLedsReadWrite':
sysLib.c:1061: warning: unused variable `oldLevel'
sysLib.c:1060: warning: unused variable `current'
sysLib.c:1060: warning: `previous' might be used uninitialized in this function
sysLib.c: At top level:
C:\Tornado2.2\target\src\drv\sio\at91Sio.c:43: warning: `s3c2510SioDummyCallback' declared
`static' but never defined
C:\Tornado2.2\target\src\drv\end\at91eth.c:50: warning: `unit' defined but not used
C:\Tornado2.2\target\src\drv\end\at91eth.c:112: warning: `at91EthAnRestart' defined but no
t used
C:\Tornado2.2\target\src\drv\end\at91_ether.c:298: warning: `reset_phy' defined but not us
ed
C:\Tornado2.2\target\src\drv\end\at91_ether.c:396: warning: `set_mac_address' defined but
not used
C:\Tornado2.2\target\src\drv\end\at91_ether.c:466: warning: `mdio_read' defined but not us
ed
C:\Tornado2.2\target\src\drv\end\at91_ether.c:475: warning: `mdio_write' defined but not u
sed
C:\Tornado2.2\target\src\drv\end\at91_ether.c:702: warning: `at91ether_stats' defined but
not used
make.exe: *** No rule to make target `-lcplus', needed by `bootrom_uncmp'. Stop.

Done.

请问是什么原因啊?有什么解决办法吗?谢谢!




关键词: build     bootrom     出现     这样     错误     To    

共1条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]