Why is build error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why is build error

1,399 Views
guohuoping
Contributor II

I is using Kinetis Design Studio, and build my project!

But It always push error message "recipe for target 'myproject.elf' failed "!

I am craze!

Labels (1)
8 Replies

1,082 Views
BlackNight
NXP Employee
NXP Employee

Hello,

could you post the exact error message from the console view?

Otherwise, have you tried to do a clean (see https://mcuoneclipse.com/2012/03/12/no-rule-to-make-target/) with Project > Clean already?

I suspect your make files are pointing to the wrong files.

I hope this helps,

Erich

1,082 Views
guohuoping
Contributor II

Hello!

Thank you for your answer!

The error message image is as bellow:

message.bmp

As your said, the makefile is really source of error push! But I did not still know how to shoot the problem!

0 Kudos

1,082 Views
BlackNight
NXP Employee
NXP Employee

Have you followed the advise above?

And that screenshot does not really help. What would help is the content or report in the Console view.

Erich

1,082 Views
guohuoping
Contributor II

The console view is as follow.

console view.bmp

I have checked and found that the IDE link step pushes error .

But every one file build step is ok.

The OS of my computer is Windows 10 and KDS version is v3.2.0.

0 Kudos

1,082 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello guo,

Does your project ported from old version KDS to KDS v3.2 ?

Please replace -nanolibc with --specs=nano.specs --specs=nosys.specs     to have a try .

Please have a look  these thread :

unrecognized command line option '-nanolibc' 

Error1 unrecognized command line option '-nanolibc' 

https://community.nxp.com/message/617086 

Hope it helps

Alice

1,082 Views
guohuoping
Contributor II

Thank You!

I use "KDS Upgrade Assistant..." help me to shoot problem! Now, My project is OK!

0 Kudos

1,082 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

OK, Welcome !


Have a great day,
Alice

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,082 Views
guohuoping
Contributor II

Yes!

My project is just ported from old version KDS to KDS3.2.

I will try to do as you said!

Thank You very much!

0 Kudos