be80be
Well-Known Member
Can't figure why it's not building just a simple blink code to test out my install xc8
Code:
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory '/home/burt/MPLABXProjects/test.X'
make -f nbproject/Makefile-default.mk dist/default/production/test.X.production.hex
make[2]: Entering directory '/home/burt/MPLABXProjects/test.X'
"/opt/microchip/xc8/v1.35/bin/xc8" --pass1 --chip=18F1220 -Q -G --double=24 --float=24 --emi=wordwrite --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,-download,+config,+clib,+plib --output=-mcof,+elf:multilocs --stack=compiled:auto: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
:: warning: (1459) peripheral library support is missing for the 18F1220
main.c:23: warning: (1385) variable "RB0" is deprecated (declared at main.c:23)
main.c:25: warning: (1385) variable "RB0" is deprecated (declared at main.c:25)
"/opt/microchip/xc8/v1.35/bin/xc8" --chip=18F1220 -G -mdist/default/production/test.X.production.map --double=24 --float=24 --emi=wordwrite --opt=default,+asm,+asmfile,-speed,+space,-debug --addrqual=ignore --mode=free -P -N255 --warn=0 --asmlist --summary=default,-psect,-class,+mem,-hex,-file --output=default,-inhx032 --runtime=default,+clear,+init,-keep,-no_startup,-download,+config,+clib,+plib --output=-mcof,+elf:multilocs --stack=compiled:auto: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/test.X.production.elf build/default/production/main.p1
:: warning: (1459) peripheral library support is missing for the 18F1220
:: advisory: (1233) Employing 18F1220 errata work-arounds:
:: advisory: (1234) * GOTO instruction at reset vector must be preceded by NOP
:: advisory: (1234) * DAW instruction may improperly clear CARRY bit
:: warning: (1273) Omniscient Code Generation not available in Free mode
main.c:23: warning: (1385) variable "_RB0" is deprecated (declared at /opt/microchip/xc8/v1.35/include/pic18f1220.h:4869)
main.c:25: warning: (1385) variable "_RB0" is deprecated (declared at /opt/microchip/xc8/v1.35/include/pic18f1220.h:4869)
main.c:24: error: (1355) in-line delay argument too large
main.c:26: error: (1355) in-line delay argument too large
Microchip MPLAB XC8 C Compiler (Free Mode) V1.35
Build date: Jul 7 2015
Part Support Version: 1.35
Copyright (C) 2015 Microchip Technology Inc.
License type: Node Configuration
(908) exit status = 1
nbproject/Makefile-default.mk:119: recipe for target 'dist/default/production/test.X.production.hex' failed
make[2]: Leaving directory '/home/burt/MPLABXProjects/test.X'
nbproject/Makefile-default.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory '/home/burt/MPLABXProjects/test.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[2]: *** [dist/default/production/test.X.production.hex] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 2s)