undefine __boot

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

undefine __boot

1,290 Views
Swapnil_Enable
Contributor III

During compling i suddenly got this error. and i don't know how to remove it?

please help understand and solve it.

0 Kudos
Reply
9 Replies

1,004 Views
Teckna
Contributor V

Which compiler are you using?

In CW the path is C/C++ bulid/settings/ARM Linker/Input/Entry Point

Are you using MQX?

Label __boot is used in PSP!!

0 Kudos
Reply

1,004 Views
Swapnil_Enable
Contributor III

i am using CW 10.3 with MQX 3.8.1

i checked the same location u referred " C/C++ bulid/settings/ARM Linker/Input/Entry Point ".

if i create any new project it also have the same problem.

0 Kudos
Reply

1,004 Views
Swapnil_Enable
Contributor III

i recompiled the psp and i could get the error from newly created project removed after compilation. but the error stays in with my project.

0 Kudos
Reply

1,004 Views
Teckna
Contributor V

In my project with CW10.3, MQX 3.8.1 and Entry Point as "__boot" it works!

I create also a new project and it works!

I attach screenshot of my linker options

linker.png

1,004 Views
Swapnil_Enable
Contributor III

Thanks all of you. i added Additional libraries in properties as seen in screen shot and the error  are gone... now what exactly was the problem still unknown...

thanks again Martin and teckna

0 Kudos
Reply

1,004 Views
randybulloch
Contributor III

Hi All,

I also have this problem which occurs in a previously working project.  Everything in the thread matches my symptom and I understand until the posted screen shot showing the "Additional Libraries".  I just cannot find where this libraries exist and do not know how to add to my project to try the fix.  I am using CW10.4, MQX 4.0.2.  I also saw the problem with CW 10.5.

How do I add these libraries to my link?

0 Kudos
Reply

1,004 Views
Martin_
NXP Employee
NXP Employee

Try clean build of your project. The error message might remain in the "Problems" window from previous builds.

0 Kudos
Reply

1,004 Views
Teckna
Contributor V

Hi,

in project properties you must define entry point as __boot

Regards

0 Kudos
Reply

1,004 Views
Swapnil_Enable
Contributor III

i checked it the project setting - > c/c++ build -- > setting --> entry id __boot.

anywhere else do i have to look?

0 Kudos
Reply