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,299 Views
oceansea
Contributor III

hi,

MCU:S32K146

i migrate a prj from S32DS for ARM version2018.R1 to S32 platform 3.4,SDK S32K1XX SDK 3.0.0 to S32K1XX SDK 4.0.2

when i build the prj ,it show 2 error:

 1、 No rule to make target 'F:/GM_TCU_APP/Project_Settings/Linker_Files/S32K146_128_flash.ld', needed by 'GM_TCU_APP.elf'. Stop. GM_TCU_APP C/C++ Problem

2、Waiting for unfinished jobs.... GM_TCU_APP C/C++ Problem

could you help me

thanks

 

Labels (1)
Tags (1)
0 Kudos
1 Solution
2,553 Views
Robin200
Contributor I

Problem Solved.

I got following error:

"make: *** No rule to make target 'C:/Users/Prüfstand/workspaceS32DS.ARM.2.2/S32K144_Project_Hello/Project_Settings/Linker_Files/S32K1xx_flash.ld', needed by 'S32K144_Project_Hello.elf'. Stop."

The File "S32K1xx_flash.ld" was in the folder.

Than I just changed the workspace path to something different, now it works.

View solution in original post

6 Replies
2,613 Views
Robin200
Contributor I

Hello,

i have a similar problem. Is there already a solution ?

0 Kudos
2,554 Views
Robin200
Contributor I

Problem Solved.

I got following error:

"make: *** No rule to make target 'C:/Users/Prüfstand/workspaceS32DS.ARM.2.2/S32K144_Project_Hello/Project_Settings/Linker_Files/S32K1xx_flash.ld', needed by 'S32K144_Project_Hello.elf'. Stop."

The File "S32K1xx_flash.ld" was in the folder.

Than I just changed the workspace path to something different, now it works.

3,275 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

Is the linker script file - .ld file - added in project properties correctly?

jiri_kral_0-1680611457847.png

 

 

Can you share full build console output with verbose mode?

jiri_kral_1-1680611532579.png

 

 

0 Kudos
3,265 Views
oceansea
Contributor III

hi,

thanks your reply.

1、i check my script files(-T).is ok

oceansea_0-1680743515911.png

 

2、now ,i think ,maybe my IDE lose some file?

 

thanks  

 

0 Kudos
3,290 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

is your project imported in workspace? 

0 Kudos
3,287 Views
oceansea
Contributor III

hi,

yes,i import  the  prj  to workspace

0 Kudos