本帖最后由 小卡 于 2019-8-2 16:05 编辑
2年前的程序, 现在编译, 怎么都不通过, 求助!
清除已成功 (总时间: 38ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'E:/TouchKey_pic/C_TrouchKey_pic'
make -f nbproject/Makefile-default.mk dist/default/production/C_TrouchKey_pic.production.hex
make[2]: Entering directory 'E:/TouchKey_pic/C_TrouchKey_pic'
"D:\Microchip\xc8\v1.45\bin\xc8.exe" --pass1 --chip=12F1822 -Q -G --double=24 --float=24 --opt=+asm,+asmfile,-speed,+space,-debug,-local --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist -DXPRJ_default=default --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/user.p1 user.c
"D:\Microchip\xc8\v1.45\bin\xc8.exe" --pass1 --chip=12F1822 -Q -G --double=24 --float=24 --opt=+asm,+asmfile,-speed,+space,-debug,-local --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist -DXPRJ_default=default --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" -obuild/default/production/main.p1 main.c
"D:\Microchip\xc8\v1.45\bin\xc8.exe" --chip=12F1822 -G -mdist/default/production/C_TrouchKey_pic.production.map --double=24 --float=24 --opt=+asm,+asmfile,-speed,+space,-debug,-local --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist -DXPRJ_default=default --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,+osccal,-resetbits,-download,-stackcall,+clib --output=-mcof,+elf:multilocs --stack=compiled:auto:auto "--errformat=%f:%l: error: (%n) %s" "--warnformat=%f:%l: warning: (%n) %s" "--msgformat=%f:%l: advisory: (%n) %s" --memorysummary dist/default/production/memoryfile.xml -odist/default/production/C_TrouchKey_pic.production.elf build/default/production/main.p1 build/default/production/user.p1
Microchip MPLAB XC8 C Compiler (Free Mode) V1.41
Build date: Jan 24 2017
Part Support Version: 1.45
Copyright (C) 2017 Microchip Technology Inc.
:0: error: (499) undefined symbol:
_SYSTEM_Initialize(dist/default/production\C_TrouchKey_pic.production.obj)
(908) exit status = 1
nbproject/Makefile-default.mk:147: recipe for target 'dist/default/production/C_TrouchKey_pic.production.hex' failed
make[2]: Leaving directory 'E:/TouchKey_pic/C_TrouchKey_pic'
nbproject/Makefile-default.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'E:/TouchKey_pic/C_TrouchKey_pic'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [dist/default/production/C_TrouchKey_pic.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
编译已失败 (退出值2, 总时间: 1s)
|
|