No rule to make target

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

No rule to make target

Jump to solution
3,105 Views
sufree
Contributor II

Hi

I just Run CW MCU v10.6 and  imported a project from another place.After Buid,the following error occurrs:

 

mingw32-make: *** No rule to make target `/src/S12ZVM_system/startup_CW/S12zvm.prm. needed by explicit-dependencies . stop.

who know how to deal it?160204_160204.JPG23.JPG

Labels (1)
Tags (1)
0 Kudos
1 Solution
2,448 Views
TICS_Fiona
NXP Employee
NXP Employee

Hi,

Thanks a lot for contacting us.

Please click on <Project> menu -> Clean to rebuild the project.  Does the error disappear? If the project contains Processor Expert, please right click on the file "ProcessorExpert.pe" and select "Generate Processor Expert Code", then clean and rebuild the project.
 
Hope it helps! If not, please attach your project folder, thanks!


Best Regards
Fiona Kuang
TIC - Technical Information Center
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

4 Replies
2,448 Views
BlackNight
NXP Employee
NXP Employee

Hello,

that message is caused because the make file cannot find a file and/or fullfil a rule (see https://mcuoneclipse.com/2012/03/12/no-rule-to-make-target/ ). As Fiona indicated, usually a 'clean' solves that because it recreates the make files.

Can you check if that linker parameter file (/src/S12ZVM_system/startup_CW/S12zvm.prm) exists in your project?

I hope this helps,

Erich

0 Kudos
2,448 Views
sufree
Contributor II

Hi,

Thank you for your advice!

0 Kudos
2,449 Views
TICS_Fiona
NXP Employee
NXP Employee

Hi,

Thanks a lot for contacting us.

Please click on <Project> menu -> Clean to rebuild the project.  Does the error disappear? If the project contains Processor Expert, please right click on the file "ProcessorExpert.pe" and select "Generate Processor Expert Code", then clean and rebuild the project.
 
Hope it helps! If not, please attach your project folder, thanks!


Best Regards
Fiona Kuang
TIC - Technical Information Center
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

2,448 Views
sufree
Contributor II

Hi,

Your suggestion solved my problem perfectly.

Thank you !

0 Kudos