我在移植ucos时遇到一些汇编方面的问题解决不了,我用的是S3C2410A开发板,开发环境是ADS1.2,移植步骤主要是在ucos官网上下了UCOSV2.8源码,同时下载了arm_ucos-110移植范例(针对S3C2410X),但是在编译的时候遇到了一些问题。Warning : C2873W: implicit return in non-void function
consol.c line 147
Warning : C2873W: implicit return in non-void function
consol.c line 193
C:\Micrium\SOFTWARE\uCOS-II\ucosfors3c2410\src\src\consol.c: 2 warnings, 0 errors, 0 serious errors
Warning : C2206W: Undefined macro 'SDT' in #if - treated as 0
frmwrk.c line 148
Warning : C2207W: inventing 'extern int MMU_SetAsyncBusMode();'
frmwrk.c line 337
Warning : C2207W: inventing 'extern int MMU_SetFastBusMode();'
frmwrk.c line 339
Warning : C2207W: inventing 'extern int MMU_Init();'
frmwrk.c line 479
C:\Micrium\SOFTWARE\uCOS-II\ucosfors3c2410\src\src\frmwrk.c: 4 warnings, 0 errors, 0 serious errors
Warning : A1313W: Missing END directive at end of file
S3c2410x.a line 2
included by GET/INCLUDE directive from "C:\Micrium\SOFTWARE\uCOS-II\ucosfors3c2410\src\src\init.s", line 96
2 00000000
Warning : A1313W: Missing END directive at end of file
memcfg.a line 2
included by GET/INCLUDE directive from "C:\Micrium\SOFTWARE\uCOS-II\ucosfors3c2410\src\src\init.s", line 97
2 00000000
Error : A1150E: Bad symbol
init.s line 224
224 00000054 ldr r0,=REFRESH
Error : A1150E: Bad symbol
init.s line 234
234 00000070 ldr r0,=CLKCON ; enter STOP mode.
Error : A1150E: Bad symbol
init.s line 243
243 00000080 ldr r0,=REFRESH ; exit from SDRAM self refresh mode.
Error : A1150E: Bad symbol
init.s line 252
252 00000088 ldr r0,=REFRESH
Error : A1150E: Bad symbol
init.s line 261
261 000000a0 ldr r1,=MISCCR
Error : A1150E: Bad symbol
init.s line 266
266 000000ac ldr r0,=CLKCON
Error : A1150E: Bad symbol
init.s line 275
275 000000b4 ldr r1,=MISCCR
Error : A1150E: Bad symbol
init.s line 282
282 000000c4 ldr r1,=BWSCON ; BWSCON Address
Error : A1150E: Bad symbol
init.s line 294
294 000000e4 ldr r1,=GSTATUS3 ; GSTATUS3 has the start address just after POWER_OFF wake-up
Error : A1150E: Bad symbol
init.s line 313
313 000001a4 ldr r0,=WTCON ; watch dog disable
Error : A1150E: Bad symbol
init.s line 317
317 000001ac ldr r0,=INTMSK
Error : A1150E: Bad symbol
init.s line 321
321 000001b4 ldr r0,=INTSUBMSK
Error : A1150E: Bad symbol
init.s line 326
326 000001bc ldr r0,=LOCKTIME
Error : A1150E: Bad symbol
init.s line 332
332 000001c4 ldr r0,=MPLLCON
Error : A1150E: Bad symbol
init.s line 338
338 000001cc ldr r1,=GSTATUS2
Error : A1150E: Bad symbol
init.s line 349
349 000001dc ldr r1,=BWSCON ; BWSCON Address
Error : A1150E: Bad symbol
init.s line 443
443 000002e0 DCD (0+(B1_BWSCON<<4)+(B2_BWSCON<<8)+(B3_BWSCON<<12)+(B4_BWSCON<<16)+(B5_BWSCON<<20)+(B6_BWSCON<<24)+(B7_BWSCON<<28))
Error : A1150E: Bad symbol
init.s line 444
444 000002e4 DCD ((B0_Tacs<<13)+(B0_Tcos<<11)+(B0_Tacc<<8)+(B0_Tcoh<<6)+(B0_Tah<<4)+(B0_Tacp<<2)+(B0_PMC)) ;GCS0
Error : A1150E: Bad symbol
init.s line 445
445 000002e8 DCD ((B1_Tacs<<13)+(B1_Tcos<<11)+(B1_Tacc<<8)+(B1_Tcoh<<6)+(B1_Tah<<4)+(B1_Tacp<<2)+(B1_PMC)) ;GCS1
Error : A1150E: Bad symbol
init.s line 446
446 000002ec DCD ((B2_Tacs<<13)+(B2_Tcos<<11)+(B2_Tacc<<8)+(B2_Tcoh<<6)+(B2_Tah<<4)+(B2_Tacp<<2)+(B2_PMC)) ;GCS2
Error : A1150E: Bad symbol
init.s line 447
447 000002f0 DCD ((B3_Tacs<<13)+(B3_Tcos<<11)+(B3_Tacc<<8)+(B3_Tcoh<<6)+(B3_Tah<<4)+(B3_Tacp<<2)+(B3_PMC)) ;GCS3
Error : A1150E: Bad symbol
init.s line 448
448 000002f4 DCD ((B4_Tacs<<13)+(B4_Tcos<<11)+(B4_Tacc<<8)+(B4_Tcoh<<6)+(B4_Tah<<4)+(B4_Tacp<<2)+(B4_PMC)) ;GCS4
Error : A1150E: Bad symbol
init.s line 449
449 000002f8 DCD ((B5_Tacs<<13)+(B5_Tcos<<11)+(B5_Tacc<<8)+(B5_Tcoh<<6)+(B5_Tah<<4)+(B5_Tacp<<2)+(B5_PMC)) ;GCS5
Error : A1150E: Bad symbol
init.s line 450
450 000002fc DCD ((B6_MT<<15)+(B6_Trcd<<2)+(B6_SCAN)) ;GCS6
Error : A1150E: Bad symbol
init.s line 451
451 00000300 DCD ((B7_MT<<15)+(B7_Trcd<<2)+(B7_SCAN)) ;GCS7
Error : A1150E: Bad symbol
init.s line 452
452 00000304 DCD ((REFEN<<23)+(TREFMD<<22)+(Trp<<20)+(Trc<<18)+(Tchr<<16)+REFCNT)
26 Errors, 2 Warnings
Warning : C2207W: inventing 'extern int OSStartHighRdy();'
os_core.c line 788
C:\Micrium\SOFTWARE\uCOS-II\ucosfors3c2410\src\uCOS-II\os_core.c: 1 warning, 0 errors, 0 serious errors
请高手指教