Quantcast
Channel: Makefile-impl.mk Error
Viewing all 11 articles
Browse latest View live

Makefile-impl.mk Error (alvamat)

$
0
0
Hi everyone,
 
I've just installed the new MPLAB X 2.15 in my Windows 7, and after create a new project for a RFPIC12F675F, and programming with ICD 3 (because I don't find the drivers for the ICD 3), it has appear this error:
 
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: *** No rule to make target '.build-conf'. Stop.
make: *** [.build-impl] Error 2
make[1]: Entering directory 'C:/Users/USER/Documents/Proyectos Mplab I+D/RF I+D RFPIC12F675F.X'
make[1]: Leaving directory 'C:/Users/USER/Documents/Proyectos Mplab I+D/RF I+D RFPIC12F675F.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 109ms)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
Then I go to the makefile and this is what it has.
 
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a pre- and a post- target defined where you can add customization code.
#
# This makefile implements macros and targets common to all configurations.
#
# NOCDDL

# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
# and .clean-reqprojects-conf unless SUB has the value 'no'
SUB_no=NO
SUBPROJECTS=${SUB_${SUB}}
BUILD_SUBPROJECTS_=.build-subprojects
BUILD_SUBPROJECTS_NO=
BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
CLEAN_SUBPROJECTS_=.clean-subprojects
CLEAN_SUBPROJECTS_NO=
CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}

# Project Name
PROJECTNAME=RF I+D RFPIC12F675F.X
# Active Configuration
DEFAULTCONF=default
CONF=${DEFAULTCONF}
# All Configurations
ALLCONFS=default

# build
.build-impl: .build-pre
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf

# clean
.clean-impl: .clean-pre
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
# clobber
.clobber-impl: .clobber-pre .depcheck-impl
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean
 
# all
.all-impl: .all-pre .depcheck-impl
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build
 
# dependency checking support
.depcheck-impl:
# @echo "# This code depends on make tool being used" >.dep.inc
# @if [ -n "${MAKE_VERSION}" ]; then \
# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
# echo "include \$${DEPFILES}" >>.dep.inc; \
# echo "endif" >>.dep.inc; \
# else \
# echo ".KEEP_STATE:" >>.dep.inc; \
# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
# fi
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
 
Anyone has any idea of how to solve the problem. Thank you!!

Re: Makefile-impl.mk Error (ric)

$
0
0
Some tools don't like directory paths containing spaces.
Can you move the project to a simpler location?

Re: Makefile-impl.mk Error (Jose Diaz)

$
0
0
Please check
1) http://microchip.wikidot....no-rule-to-make-target
2) Do you have any tabs open in the output window with titles like "Configuration loading error", or "Project loading error"? They might explain why you have this issue (compiler missing, missing source files etc).
3) As mentioned by ric, having spaces in the directories and files used in an MPLAB X project might cause you trouble (although I am not sure this is your specific problem this time.) Having "+" in your directory of file names will cause problems.
 

Re: Makefile-impl.mk Error (gradyplayer)

$
0
0
I ran into this problem today on a re-install... I had forgotten to install the C compiler for the chip family, after I did that I had to go into the preferences for the project and reselect the new compiler as my selected compiler, then the problem was fixed...

Re: Makefile-impl.mk Error (LikeItLowLevel)

$
0
0
I saw this same error when opening a project that I had "packaged" from Harmony to zip file. Then when I extracted and opened to the project in another folder. Turns out MPLABX did not copy the referenced library file. The project configuration still had the library listed to the old location. It did not copy and place it in the packaged project file structure.
 
So after a very timely response to a support ticket, I was informed this is a bug in X and will be fixed in 2.30 in Dec 2014.
 
 

Makefile-impl.mk Error (alvamat)

$
0
0
Hi everyone,
 
I've just installed the new MPLAB X 2.15 in my Windows 7, and after create a new project for a RFPIC12F675F, and programming with ICD 3 (because I don't find the drivers for the ICD 3), it has appear this error:
 
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: *** No rule to make target '.build-conf'. Stop.
make: *** [.build-impl] Error 2
make[1]: Entering directory 'C:/Users/USER/Documents/Proyectos Mplab I+D/RF I+D RFPIC12F675F.X'
make[1]: Leaving directory 'C:/Users/USER/Documents/Proyectos Mplab I+D/RF I+D RFPIC12F675F.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
BUILD FAILED (exit value 2, total time: 109ms)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
Then I go to the makefile and this is what it has.
 
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a pre- and a post- target defined where you can add customization code.
#
# This makefile implements macros and targets common to all configurations.
#
# NOCDDL

# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
# and .clean-reqprojects-conf unless SUB has the value 'no'
SUB_no=NO
SUBPROJECTS=${SUB_${SUB}}
BUILD_SUBPROJECTS_=.build-subprojects
BUILD_SUBPROJECTS_NO=
BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
CLEAN_SUBPROJECTS_=.clean-subprojects
CLEAN_SUBPROJECTS_NO=
CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}

# Project Name
PROJECTNAME=RF I+D RFPIC12F675F.X
# Active Configuration
DEFAULTCONF=default
CONF=${DEFAULTCONF}
# All Configurations
ALLCONFS=default

# build
.build-impl: .build-pre
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf

# clean
.clean-impl: .clean-pre
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
# clobber
.clobber-impl: .clobber-pre .depcheck-impl
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default clean
 
# all
.all-impl: .all-pre .depcheck-impl
${MAKE} SUBPROJECTS=${SUBPROJECTS} CONF=default build
 
# dependency checking support
.depcheck-impl:
# @echo "# This code depends on make tool being used" >.dep.inc
# @if [ -n "${MAKE_VERSION}" ]; then \
# echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
# echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
# echo "include \$${DEPFILES}" >>.dep.inc; \
# echo "endif" >>.dep.inc; \
# else \
# echo ".KEEP_STATE:" >>.dep.inc; \
# echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
# fi
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
 
 
Anyone has any idea of how to solve the problem. Thank you!!

Re: Makefile-impl.mk Error (ric)

$
0
0
Some tools don't like directory paths containing spaces.
Can you move the project to a simpler location?

Re: Makefile-impl.mk Error (Jose Diaz)

$
0
0
Please check
1) http://microchip.wikidot....no-rule-to-make-target
2) Do you have any tabs open in the output window with titles like "Configuration loading error", or "Project loading error"? They might explain why you have this issue (compiler missing, missing source files etc).
3) As mentioned by ric, having spaces in the directories and files used in an MPLAB X project might cause you trouble (although I am not sure this is your specific problem this time.) Having "+" in your directory of file names will cause problems.
 

Re: Makefile-impl.mk Error (gradyplayer)

$
0
0
I ran into this problem today on a re-install... I had forgotten to install the C compiler for the chip family, after I did that I had to go into the preferences for the project and reselect the new compiler as my selected compiler, then the problem was fixed...

Re: Makefile-impl.mk Error (LikeItLowLevel)

$
0
0
I saw this same error when opening a project that I had "packaged" from Harmony to zip file. Then when I extracted and opened to the project in another folder. Turns out MPLABX did not copy the referenced library file. The project configuration still had the library listed to the old location. It did not copy and place it in the packaged project file structure.
 
So after a very timely response to a support ticket, I was informed this is a bug in X and will be fixed in 2.30 in Dec 2014.
 
 

Re: Makefile-impl.mk Error (HXA)

$
0
0
Hi, i iam new in embedded
I am facing the error related to the makefile please help me to fix the problem
 

CLEAN SUCCESSFUL (total time: 59ms)
make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Hamza/Desktop/gfd.X'
make -f nbproject/Makefile-default.mk dist/default/production/gfd.X.production.hex
make[2]: Entering directory 'C:/Users/Hamza/Desktop/gfd.X'
"C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8-cc.exe" -c -mcpu=16C433 -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx032 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o build/default/production/newAsmTemplate.o newAsmTemplate.s
"C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8-cc.exe" -c -mcpu=16C433 -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx032 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o build/default/production/newAsmTemplate1.o newAsmTemplate1.asm
"C:\Program Files (x86)\Microchip\xc8\v2.00\bin\xc8-cc.exe" -c -mcpu=16C433 -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_default=default -msummary=-psect,-class,+mem,-hex,-file -ginhx032 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o build/default/production/hjk.o hjk.asm
::: advisory: (2049) C99 compliant libraries are currently not available for baseline or mid-range devices, or for enhanced mid-range devices using a reentrant stack; using C90 libraries
::: advisory: (2049) C99 compliant libraries are currently not available for baseline or mid-range devices, or for enhanced mid-range devices using a reentrant stack; using C90 libraries
::: advisory: (2049) C99 compliant libraries are currently not available for baseline or mid-range devices, or for enhanced mid-range devices using a reentrant stack; using C90 libraries
hjk.asm:16:15: error: expected "FILENAME" or <FILENAME>
#include <xc.h
^
1 error generated.
(908) exit status = 1
nbproject/Makefile-default.mk:145: recipe for target 'build/default/production/hjk.o' failed
make[2]: *** [build/default/production/hjk.o] Error 1
make[2]: *** Waiting for unfinished jobs....
build/default/production\newAsmTemplate1.i:16:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:20:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:25:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:29:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:32:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:36:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:42:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:46:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:52:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:57:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:63:: error: (876) syntax error
3:20:: error: (845) symbol "extern" defined more than once
build/default/production\newAsmTemplate1.i:73:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:81:: error: (876) syntax error
build/default/production\newAsmTemplate1.i:82:: error: (845) symbol "extern" defined more than once
build/default/production\newAsmTemplate1.i:82:: error: (876) syntax error
3:9:: error: (845) symbol "extern" defined more than once
3:9:: error: (845) symbol "char" defined more than once
build/default/production\newAsmTemplate1.i:104:: error: (876) syntax error
3:52:: error: (845) symbol "extern" defined more than once
3:52:: advisory: (1) too many errors (21)
(908) exit status = 1
nbproject/Makefile-default.mk:137: recipe for target 'build/default/production/newAsmTemplate1.o' failed
make[2]: *** [build/default/production/newAsmTemplate1.o] Error 1
make[2]: Leaving directory 'C:/Users/Hamza/Desktop/gfd.X'
nbproject/Makefile-default.mk:91: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Hamza/Desktop/gfd.X'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 20s)
Viewing all 11 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>