TI中文支持网
TI专业的中文技术问题搜集分享网站

编译的时候出现这个问题,怎么解决

**** Build of configuration Debug for project huxi_LED ****

"C:\\ti\\ccs720\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O'Building target: huxi_LED.out'
'Invoking: MSP430 Linker'
"C:/ti/ccs720/ccsv7/tools/compiler/ti-cgt-msp430_16.9.3.LTS/bin/cl430" -vmsp –use_hw_mpy=16 –advice:power=all –define=__MSP430F149__ -g –printf_support=minimal –diag_warning=225 –diag_wrap=off –display_error_number -z -m"huxi_LED.map" –heap_size=80 –stack_size=80 -i"C:/ti/ccs720/ccsv7/ccs_base/msp430/include" -i"C:/ti/ccs720/ccsv7/tools/compiler/ti-cgt-msp430_16.9.3.LTS/lib" -i"C:/ti/ccs720/ccsv7/tools/compiler/ti-cgt-msp430_16.9.3.LTS/include" –reread_libs –diag_wrap=off –display_error_number –warn_sections –xml_link_info="huxi_LED_linkInfo.xml" –use_hw_mpy=16 –rom_model -o "huxi_LED.out" "./main.obj" "./src/TA_PWM.obj" "./src/breath_lamp_event.obj" "./src/breath_lamp_globalt.obj" "../lnk_msp430f149.cmd" -llibc.a<Linking>

undefined first referenced symbol in file ——— —————- TA0_PWM_SetPeriod ./main.obj bright ./src/breath_lamp_event.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "huxi_LED.out" not built
remark #10372-D: (ULP 4.1) Detected uninitialized Port 2 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 3 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 4 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 5 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
remark #10372-D: (ULP 4.1) Detected uninitialized Port 6 in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.

>> Compilation failure
makefile:146: recipe for target 'huxi_LED.out' failed
gmake[1]: *** [huxi_LED.out] Error 1
gmake[1]: Target 'secondary-outputs' not remade because of errors.
makefile:142: recipe for target 'all' failed
gmake: *** [all] Error 2

**** Build Finished ****

user5054209:

回复 灰小子:

调用的函数名字错了,已经解决了。感谢

赞(0)
未经允许不得转载:TI中文支持网 » 编译的时候出现这个问题,怎么解决
分享到: 更多 (0)