Why is build error

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

Why is build error

1,426件の閲覧回数
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!

ラベル(1)
8 返答(返信)

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

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

1,109件の閲覧回数
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,109件の閲覧回数
guohuoping
Contributor II

Thank You!

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

0 件の賞賛

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

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