Hi Gustavo, Try to do a "make distclean" and configure again.
Also it could be something inside your source code just before the main() function. But I think the issue was the M+++ name. BR, Alan On 9/7/23, Gustavo Soares <gustavo.felipesoa...@hotmail.com> wrote: > Hi Alan! > > I changed the app name from 'M+++' to 'mthreeplus' but the error still > appears: > > [cid:35aa8eda-31a2-4d80-825e-e653c25698da] > > [cid:3cb94f25-e1fc-48b8-9f8d-753d5fc09ceb] > ________________________________ > De: Alan C. Assis <acas...@gmail.com> > Enviado: quinta-feira, 7 de setembro de 2023 13:10 > Para: dev@nuttx.apache.org <dev@nuttx.apache.org> > Assunto: Re: make command error > > Hi Miguel, > > It was many years ago, normally the used hello_main() etc, to avoid > main() symbol collision. Now the apps can use main() and the building > system will concatenate it automatically. > > Probably the issue that Gustavo is facing is some messing with the source > code. > > I think he is using special symbols as App name (i.e. m++) > > If that is the case, it will become m++_main(int ...) that will > confuse the compiler. > > Just my 2 cents! > > BR, > > Alan > > On 9/7/23, MIGUEL ALEXANDRE WISINTAINER <tcpipc...@hotmail.com> wrote: >> If I remember, your program can not have a main() function, but other >> name, >> because is called by other program >> >> Enviado do meu iPhone >> >> Em 7 de set. de 2023, à(s) 11:13, Gustavo Soares >> <gustavo.felipesoa...@hotmail.com> escreveu: >> >> >> Hello! >> >> I have an application and it was compiling normally to NuttX, but out of >> the >> blue an error showed up and I can not figure out what is wrong. This is >> the >> error message: >> >> [image.png] >> >> and this is the line 73 of the server file: >> >> [image.png] >> >> I tryied everything: rewriting the file, rewriting the line, declaring >> the >> main function in the start of the file (in this case the error occoured >> for >> this line too) and also creating another simple file with the main >> function >> empty. In every attempt the same error showed up. It's hard to believe >> that >> the error is in the make command, but I can run the application on my VM >> with no problem. >> >> Does anyone know what could be the problem? >> Thank you! >> >