打印

MPLAB X

[复制链接]
1597|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
西风萧萧|  楼主 | 2013-8-22 21:32 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
初学MPLAB X 调试了一下,实在看不懂下面的错误,请各位大侠帮帮忙,谢谢了。




CLEAN SUCCESSFUL (total time: 408ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `F:/����/�½��ļ���/MY001.X'
make  -f nbproject/Makefile-default.mk dist/default/production/MY001.X.production.hex
make[2]: Entering directory `F:/����/�½��ļ���/MY001.X'
"D:\Program Files (x86)\Microchip\xc16\v1.11\bin\xc16-gcc.exe"   newmain1.c  -o build/default/production/newmain1.o  -c -mcpu=33FJ32MC202  -MMD -MF "build/default/production/newmain1.o.d"      -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off
"D:\Program Files (x86)\Microchip\xc16\v1.11\bin\xc16-gcc.exe"   newmainXC16.c  -o build/default/production/newmainXC16.o  -c -mcpu=33FJ32MC202  -MMD -MF "build/default/production/newmainXC16.o.d"      -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off
"D:\Program Files (x86)\Microchip\xc16\v1.11\bin\xc16-gcc.exe"   newmainXC161.c  -o build/default/production/newmainXC161.o  -c -mcpu=33FJ32MC202  -MMD -MF "build/default/production/newmainXC161.o.d"      -g -omf=elf -O0 -msmart-io=1 -Wall -msfr-warn=off
"D:\Program Files (x86)\Microchip\xc16\v1.11\bin\xc16-gcc.exe"   -o dist/default/production/MY001.X.production.elf  build/default/production/newmain1.o build/default/production/newmainXC16.o build/default/production/newmainXC161.o      -mcpu=33FJ32MC202        -omf=elf -Wl,--defsym=__MPLAB_BUILD=1,,--script=p33FJ32MC202.gld,--stack=16,--check-sections,--data-init,--pack-data,--handles,--isr,--no-gc-sections,--fill-upper=0,--stackguard=16,--no-force-link,--smart-io,-Map="dist/default/production/MY001.X.production.map",--report-mem
make[2]: Leaving directory `F:/����/�½��ļ���/MY001.X'
make[1]: Leaving directory `F:/����/�½��ļ���/MY001.X'
build/default/production/newmainXC16.o(.text+0x0): In function `_main':
: multiple definition of `_main'
build/default/production/newmain1.o(.text+0x0): first defined here
build/default/production/newmainXC161.o(.text+0x0): In function `_main':
: multiple definition of `_main'
build/default/production/newmain1.o(.text+0x0): first defined here
d:\program files (x86)\microchip\xc16\v1.11\bin\bin\..\bin/elf-ld.exe: Link terminated due to previous error(s).
make[2]: *** [dist/default/production/MY001.X.production.hex] Error 255
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 29s)

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

24

主题

95

帖子

1

粉丝