这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 求助:boorom编译错误!

共1条 1/1 1 跳转至

求助:boorom编译错误!

菜鸟
2005-10-27 04:01:37     打赏

ccarm -c -mapcs-32 -mlittle-endian -march=armv4 -ansi -O2 -fno-builtin -fvolatile -Wall -
I\h -I. -IC:\Tornado2.2\target\config\ypSbcArm7All -IC:\Tornado2.2\target\h -IC:\Tornado
2.2\target\src\config -IC:\Tornado2.2\target\src\drv -DCPU=ARMARCH4 -DTOOL_FAMILY=gnu -DTO
OL=gnu -DARMEL -Wcomment -DCPU_7TDMI_T -DARMMMU=ARMMMU_NONE -DARMCACHE=ARMCACHE_NONE C:
\Tornado2.2\target\config\ypSbcArm7All\bootInit.c
copy C:\Tornado2.2\target\config\ypSbcArm7All\bootInit.c bootInit_uncmp.c
ÒѸ´ÖÆ 1 ¸öÎļþ¡£
ccarm -c -mapcs-32 -mlittle-endian -march=armv4 -ansi -O2 -fno-builtin -fvolatile -Wall -
I\h -I. -IC:\Tornado2.2\target\config\ypSbcArm7All -IC:\Tornado2.2\target\h -IC:\Tornado
2.2\target\src\config -IC:\Tornado2.2\target\src\drv -DCPU=ARMARCH4 -DTOOL_FAMILY=gnu -DTO
OL=gnu -DARMEL -Wcomment -DCPU_7TDMI_T -DARMMMU=ARMMMU_NONE -DARMCACHE=ARMCACHE_NONE -D
UNCOMPRESS bootInit_uncmp.c
ccarm -mapcs-32 -mlittle-endian -march=armv4 -ansi -O2 -fno-builtin -fvolatile -I\h -I.
-IC:\Tornado2.2\target\config\ypSbcArm7All -IC:\Tornado2.2\target\h -IC:\Tornado2.2\targe
t\src\config -IC:\Tornado2.2\target\src\drv -DCPU=ARMARCH4 -DTOOL_FAMILY=gnu -DTOOL=gnu -D
ARMEL -Wcomment -DCPU_7TDMI_T -DARMMMU=ARMMMU_NONE -DARMCACHE=ARMCACHE_NONE -P -xassemble
r-with-cpp -c -o romInit.o romInit.s
ccarm -c -mapcs-32 -mlittle-endian -march=armv4 -ansi -O2 -fno-builtin -fvolatile -Wall -
I\h -I. -IC:\Tornado2.2\target\config\ypSbcArm7All -IC:\Tornado2.2\target\h -IC:\Tornado
2.2\target\src\config -IC:\Tornado2.2\target\src\drv -DCPU=ARMARCH4 -DTOOL_FAMILY=gnu -DTO
OL=gnu -DARMEL -Wcomment -DCPU_7TDMI_T -DARMMMU=ARMMMU_NONE -DARMCACHE=ARMCACHE_NONE C:
\Tornado2.2\target\config\ypSbcArm7All\bootConfig.c
C:\Tornado2.2\target\config\ypSbcArm7All\bootConfig.c: In function `usrRoot':
C:\Tornado2.2\target\config\ypSbcArm7All\bootConfig.c:1249: warning: assignment makes inte
ger from pointer without a cast
C:\Tornado2.2\target\config\ypSbcArm7All\bootConfig.c: In function `tsfsLoad':
C:\Tornado2.2\target\config\ypSbcArm7All\bootConfig.c:3387: warning: unused variable `rebo
otEventNode'
C:\Tornado2.2\target\config\ypSbcArm7All\bootConfig.c: At top level:
C:\Tornado2.2\target\config\ypSbcArm7All\bootConfig.c:3462: warning: `wdbRebootEventGet' d
efined but not used
ccarm -mapcs-32 -mlittle-endian -march=armv4 -ansi -O2 -fno-builtin -fvolatile -I\h -I.
-IC:\Tornado2.2\target\config\ypSbcArm7All -IC:\Tornado2.2\target\h -IC:\Tornado2.2\targe
t\src\config -IC:\Tornado2.2\target\src\drv -DCPU=ARMARCH4 -DTOOL_FAMILY=gnu -DTOOL=gnu -D
ARMEL -Wcomment -DCPU_7TDMI_T -DARMMMU=ARMMMU_NONE -DARMCACHE=ARMCACHE_NONE -P -xassemble
r-with-cpp -c -o sysALib.o sysALib.s
ccarm -mapcs-32 -mlittle-endian -march=armv4 -ansi -O2 -fno-builtin -fvolatile -Wall -I\h
-I. -IC:\Tornado2.2\target\config\ypSbcArm7All -IC:\Tornado2.2\target\h -IC:\Tornado2.2
\target\src\config -IC:\Tornado2.2\target\src\drv -DCPU=ARMARCH4 -DTOOL_FAMILY=gnu -DTOOL=
gnu -DARMEL -Wcomment -DCPU_7TDMI_T -DARMMMU=ARMMMU_NONE -DARMCACHE=ARMCACHE_NONE -c sys
Lib.c
ccarm -c -mapcs-32 -mlittle-endian -march=armv4 -ansi -O2 -fno-builtin -fvolatile -Wall -
I\h -I. -IC:\Tornado2.2\target\config\ypSbcArm7All -IC:\Tornado2.2\target\h -IC:\Tornado
2.2\target\src\config -IC:\Tornado2.2\target\src\drv -DCPU=ARMARCH4 -DTOOL_FAMILY=gnu -DTO
OL=gnu -DARMEL -Wcomment -DCPU_7TDMI_T -DARMMMU=ARMMMU_NONE -DARMCACHE=ARMCACHE_NONE -o
version.o C:\Tornado2.2\target\config\ypSbcArm7All\version.c
ldarm -X -EL -N -e romInit \
-Ttext 81070000 -o bootrom_uncmp romInit.o bootInit_uncmp.o version.o \
bootConfig.o sysALib.o sysLib.o --start-group -LC:\Tornado2.2\target\lib\arm\ARMARC
H4\gnu -LC:\Tornado2.2\target\lib\arm\ARMARCH4\common \
-lcplus -lgnucplus -lvxcom -larch -lcommoncc -ldcc -ldrv -lgcc -lnet -los
-lrpc -lwdb -lwind -lwindview C:\Tornado2.2\target\lib\libARMARCH4gnuvx.a --end-group
-T C:\Tornado2.2\target\h\tool\gnu\ldscripts\link.RAM
bootConfig. In function `vxSemTake':
bootConfig.o(.text+0x60c): undefined reference to `sysClkRateGet'
bootConfig.o(.text+0x60c): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig.o(.text+0x614): undefined reference to `sysClkRateGet'
bootConfig.o(.text+0x614): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig. In function `vxExcHookWrapper':
bootConfig.o(.text+0x75c): undefined reference to `sysClkRateGet'
bootConfig.o(.text+0x75c): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig. In function `wdbCommIfInit':
bootConfig.o(.text+0xb04): undefined reference to `sysSerialChanGet'
bootConfig.o(.text+0xb04): relocation truncated to fit: R_ARM_PC24 sysSerialChanGet
bootConfig. In function `usrRoot':
bootConfig.o(.text+0xdb0): undefined reference to `sysClkConnect'
bootConfig.o(.text+0xdb0): relocation truncated to fit: R_ARM_PC24 sysClkConnect
bootConfig.o(.text+0xdb8): undefined reference to `sysClkRateSet'
bootConfig.o(.text+0xdb8): relocation truncated to fit: R_ARM_PC24 sysClkRateSet
bootConfig.o(.text+0xdbc): undefined reference to `sysClkEnable'
bootConfig.o(.text+0xdbc): relocation truncated to fit: R_ARM_PC24 sysClkEnable
bootConfig.o(.text+0xe18): undefined reference to `sysSerialChanGet'
bootConfig.o(.text+0xe18): relocation truncated to fit: R_ARM_PC24 sysSerialChanGet
bootConfig. In function `bootCmdLoop':
bootConfig.o(.text+0x15fc): undefined reference to `sysClkRateGet'
bootConfig.o(.text+0x15fc): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig. In function `autoboot':
bootConfig.o(.text+0x16d0): undefined reference to `sysClkRateGet'
bootConfig.o(.text+0x16d0): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig.o(.text+0x16e0): undefined reference to `sysClkRateGet'
bootConfig.o(.text+0x16e0): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig.o(.text+0x1714): undefined reference to `sysClkRateGet'
bootConfig.o(.text+0x1714): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig.o(.text+0x17a8): undefined reference to `sysClkRateGet'
bootConfig.o(.text+0x17a8): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig.o(.text+0x1ecc): more undefined references to `sysClkRateGet' follow
bootConfig. In function `tsfsLoad':
bootConfig.o(.text+0x1ecc): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig. In function `go':
bootConfig.o(.text+0x1fbc): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
bootConfig. In function `bootExcHandler':
bootConfig.o(.text+0x23a4): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
sysLib. In function `sysHwInit':
sysLib.o(.text+0x94): undefined reference to `sysSerialHwInit'
sysLib.o(.text+0x94): relocation truncated to fit: R_ARM_PC24 sysSerialHwInit
sysLib. In function `sysHwInit2':
sysLib.o(.text+0xc4): undefined reference to `ypLPCDevInit'
sysLib.o(.text+0xc4): relocation truncated to fit: R_ARM_PC24 ypLPCDevInit
sysLib.o(.text+0xe8): undefined reference to `sysSerialHwInit2'
sysLib.o(.text+0xe8): relocation truncated to fit: R_ARM_PC24 sysSerialHwInit2
sysLib.o(.text+0xfc): undefined reference to `sysClkInt'
sysLib.o(.text+0x100): undefined reference to `sysAuxClkInt'
sysLib. In function `sysToMonitor':
sysLib.o(.text+0x15c): undefined reference to `sysSerialReset'
sysLib.o(.text+0x15c): relocation truncated to fit: R_ARM_PC24 sysSerialReset
C:\Tornado2.2\target\lib\arm\ARMARCH4\common\libos.a(selectLib.o): In function `select':
selectLib.o(.text+0x1c8): undefined reference to `sysClkRateGet'
selectLib.o(.text+0x1c8): relocation truncated to fit: R_ARM_PC24 sysClkRateGet
make.exe: *** [bootrom_uncmp] Error 0x1

Done.

请问是不是bootconfig.c有问题啊?

紧急求助啊!




关键词: 求助     boorom     编译     错误     Tornado2.    

共1条 1/1 1 跳转至

回复

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