No rule to make target

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

No rule to make target

跳至解决方案
3,389 次查看
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

 

标签 (1)
标记 (1)
0 项奖励
1 解答
2,643 次查看
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.

在原帖中查看解决方案

6 回复数
2,703 次查看
Robin200
Contributor I

Hello,

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

0 项奖励
2,644 次查看
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,365 次查看
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 项奖励
3,355 次查看
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 项奖励
3,380 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

is your project imported in workspace? 

0 项奖励
3,377 次查看
oceansea
Contributor III

hi,

yes,i import  the  prj  to workspace

0 项奖励