找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 7078|回复: 0
收起左侧

求助大神们.out文件不能生成,这是什么问题

[复制链接]
ID:111309 发表于 2016-3-29 16:22 | 显示全部楼层 |阅读模式

"D:\\ccs5\\ccsv5\\utils\\bin\\gmake" -k all
'Building target: myccs1.out'
'Invoking: MSP430 Linker'
"D:/ccs5/ccsv5/tools/compiler/msp430_4.1.5/bin/cl430" -vmsp --abi=eabi -g --advice:power=all --define=__MSP430G2210__ --diag_warning=225 --display_error_number --diag_wrap=off --printf_support=minimal -z --stack_size=50 -m"myccs1.map" --heap_size=0 -i"D:/ccs5/ccsv5/ccs_base/msp430/include" -i"D:/ccs5/ccsv5/tools/compiler/msp430_4.1.5/lib" -i"D:/ccs5/ccsv5/tools/compiler/msp430_4.1.5/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="myccs1_linkInfo.xml" --rom_model -o "myccs1.out"  "./main.obj" -l"libc.a" "../lnk_msp430g2210.cmd"
<Linking>
remark #10372-D: (ULP 4.1) Detected uninitialized Port 1 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
"../lnk_msp430g2210.cmd", line 111: warning #10374-D: Interrupt vector "PORT1" does not have an interrupt handler routine.
"../lnk_msp430g2210.cmd", line 112: warning #10374-D: Interrupt vector "PORT2" does not have an interrupt handler routine.
"../lnk_msp430g2210.cmd", line 117: warning #10374-D: Interrupt vector "TIMERA1" does not have an interrupt handler routine.
"../lnk_msp430g2210.cmd", line 118: warning #10374-D: Interrupt vector "TIMERA0" does not have an interrupt handler routine.
"../lnk_msp430g2210.cmd", line 119: warning #10374-D: Interrupt vector "WDT" does not have an interrupt handler routine.
"../lnk_msp430g2210.cmd", line 120: warning #10374-D: Interrupt vector "COMPARATORA" does not have an interrupt handler routine.
"../lnk_msp430g2210.cmd", line 123: warning #10374-D: Interrupt vector "NMI" does not have an interrupt handler routine.

undefined first referenced
  symbol       in file     
--------- ----------------
P3DIR     ./main.obj      
P3OUT     ./main.obj      

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "myccs1.out" not built
gmake: *** [myccs1.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表