recipe for target 'clean' failed

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

recipe for target 'clean' failed

11,115件の閲覧回数
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 返答(返信)

4,385件の閲覧回数
winedty
Contributor I

amazing thread! my issue about the cleaning solved!

https://mcdvoiceonline.xyz

0 件の賞賛

6,526件の閲覧回数
Anto_jslin_jijo
Contributor I

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

0 件の賞賛

6,543件の閲覧回数
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 件の賞賛

6,543件の閲覧回数
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 件の賞賛

6,543件の閲覧回数
ivanpfarher
Contributor II

Hi Erich,

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

Thanks

0 件の賞賛

6,543件の閲覧回数
BlackNight
NXP Employee
NXP Employee

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

0 件の賞賛

6,543件の閲覧回数
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

6,544件の閲覧回数
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 件の賞賛

6,544件の閲覧回数
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 件の賞賛