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
2,666 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
1,920 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
1,980 Views
Robin200
Contributor I

Hello,

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

0 Kudos
1,921 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.

2,642 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
2,632 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
2,657 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

is your project imported in workspace? 

0 Kudos
2,654 Views
oceansea
Contributor III

hi,

yes,i import  the  prj  to workspace

0 Kudos