recipe for target 'clean' failed

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

recipe for target 'clean' failed

12,132 次查看
ivanpfarher
Contributor II

Hi All,

 

I am getting the following error when I tried to clean my HEXIWEAR project:

164797_164797.jpgScreenShot093.jpg

 

Looks like it is complained about .elf file. Have someone experienced the same problem? Any idea how to solve it?

 

Thanks

标签 (1)
标记 (1)
9 回复数

5,402 次查看
winedty
Contributor I

amazing thread! my issue about the cleaning solved!

https://mcdvoiceonline.xyz

0 项奖励
回复

7,543 次查看
Anto_jslin_jijo
Contributor I

Does it solved, i am having same errors any suggestions.

0 项奖励
回复

7,560 次查看
ivanpfarher
Contributor II

Hi,

I am using KDS Version: 3.2.0 + GitHUB + Gitkraken. I could clean and built the project before without issues, but after I checked out previews revision code, I start to get this problem.

My real problem is that I do modification in the code but then when I try to debug I don't see the changes, Its like is using and old built's file (or the built's files are not updated). And I suspect that its happend because of this issue with the cleaning.

I have deleted the following files and compile again. I will let you know later what happens.

HEXIWEAR_MK64.elf -[arm/le]

HEXIWEAR_MK64.lst

HEXIWEAR_MK64.bin

HEXIWEAR_MK64.map

Thanks you!

0 项奖励
回复

7,560 次查看
BlackNight
NXP Employee
NXP Employee

Hi Ivan,

if you delete the .elf, then it only will do a relink, not a complete build of all files.

You would have to delete all the object files too.

Erich

0 项奖励
回复

7,560 次查看
ivanpfarher
Contributor II

Hi Erich,

When you say "object files" do you mean all .o files?

Thanks

0 项奖励
回复

7,560 次查看
BlackNight
NXP Employee
NXP Employee

yes. The simplest thing would be that you delete the whole 'debug' output folder.

0 项奖励
回复

7,560 次查看
BlackNight
NXP Employee
NXP Employee

Hi Ivan,

Are you using KDS V3.2.0? From what I know is that the problem comes from the very long command line passed to the rm command: the make file is able to deal with command line length >8192 on Windows, but not the rm command. So it fails.

I have submitted a report in GNU  ARM Eclipse, but to my understanding this is not fixed/improved yet.

The easiest workaround is to delete the files in the output (debug) folder directly in the IDE or on the disk if you need to have them cleaned. Otherwise you could ignore that message.

I hope this helps,

Erich

7,561 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Ivan,

Could you please send the project to me , or tell me where can download it .

And which version  of KDS do you used , i will test it on my side .

BR

Alice

0 项奖励
回复

7,561 次查看
ivanpfarher
Contributor II

Hi Alice,

You can find the project here GitHub - ipfarher/HEXIWEAR: HEXIWEAR firmware

Let me know if you get same issue than me.

BR

0 项奖励
回复