Error message: undefined reference to `EnableOSStackProtector()'

Topics for the Eclipse Environment
Post Reply
jpelletier
Posts: 7
Joined: Wed Dec 23, 2020 3:32 am

Error message: undefined reference to `EnableOSStackProtector()'

Post by jpelletier » Thu Jan 14, 2021 5:32 am

What is this error message? It gives that after generating a new project, without any modification. Same attempt before worked.

jpelletier
Posts: 7
Joined: Wed Dec 23, 2020 3:32 am

Re: Error message: undefined reference to `EnableOSStackProtector()'

Post by jpelletier » Thu Jan 14, 2021 5:37 am

Did another try with the project wizard, this time with Stack protection removed. It worked.

User avatar
TomNB
Posts: 356
Joined: Tue May 10, 2016 8:22 am

Re: Error message: undefined reference to `EnableOSStackProtector()'

Post by TomNB » Thu Jan 14, 2021 9:37 am

I would leave stack protection off until you get more familiar with the platform. Also, with regard to the last comment I posted, the examples are extremely useful to learn the platform, rather than the minimal wizard in which case you then have to add all your own code.

Post Reply