用sdt2.5 调试一个ucosii for 44b0,armlink出错。
出错提示如下:
------ Build Debug variant ------ Information: "D:\sun\ucosii_for 44b0\SW44B0.apj"; Executing 'Link' because 'EuCos.axf' is older than '44binit.o' armlink -o D:\sun\ucosii_for 44b0\Debug\EuCos.axf D:\sun\ucosii_for 44b0\Debug\44binit.o D:\sun\ucosii_for 44b0\Debug\44blib.o D:\sun\ucosii_for 44b0\Debug\OS_CPU_C.o D:\sun\ucosii_for 44b0\Debug\OS_CPU_A.o D:\sun\ucosii_for 44b0\Debug\ucos_ii.o D:\sun\ucosii_for 44b0\Debug\MAIN.o Warning: armlink... File C:\Program Files\ARM\ADSv1_2\LIB\armlib_cn.32l not found. Error: armlink... Undefined symbol '__rt_sdiv', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol '_dflt', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol '_ddiv', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol '_drdiv', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol '_dadd', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol '_dfix', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol 'strlen', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol 'atoi', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol '__ctype', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol 'vsprintf', referred to from D:\sun\ucosii_for 44b0\Debug\44blib.o. Error: armlink... Undefined symbol 'strcpy', referred to from D:\sun\ucosii_for 44b0\Debug\ucos_ii.o. Error: armlink... Undefined symbol 'memset', referred to from D:\sun\ucosii_for 44b0\Debug\ucos_ii.o. Error: armlink... Undefined symbol '__rt_udiv', referred to from D:\sun\ucosii_for 44b0\Debug\ucos_ii.o. Error: armlink... Undefined symbol '_memcpy', referred to from D:\sun\ucosii_for 44b0\Debug\ucos_ii.o. Information: armlink... Errors in link, no output generated. armlink... ARM Linker: finished, 1 informational, 1 warning and 14 error messages. Error: "D:\sun\ucosii_for 44b0\SW44B0.apj"; Bad return code (0x1) from 'armlink' Error: "D:\sun\ucosii_for 44b0\SW44B0.apj"; Could not bring EuCos.axf up to date 1 Warnings, 16 Errors
急问,是什么问题呀?怎么解决呢?