This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Undefined reference to `_exit' when building blinky

There is a similar case where the user mentions that he fixed his issue by "changing the compiler" with no further explanations.

https://devzone.nordicsemi.com/f/nordic-q-a/30208/exit-c-text-exit-0x16-undefined-reference-to-_exit


I have the same issue.  How do I change the compiler?  To what?

Parents Reply
  • Hi Mario,


    I don't have a direct solution for it as it is rarely the only cause for the problems that one have with NCS, it is often not a problem at all as you will get the error when everting is working fine also.
    So I don't have solution for the undefined reference to _exit.


    There is most likely other underlying problems causing errors that are the main culprit in it not working.
    Do you still have the same problem, and if it is the same problem if you try to build different projects even for different boards does it persist? 


    Regards,
    Jonathan

Children
No Data
Related