when I am running make all in command window I am getting this error as:

I tried to change the code from extern void app_main(void) as extern "C" void app_main(void); in cpu_start.c file. Still id didn't work.
please help out with this.
Thank you.
Please show output of: ll main
@chegewara when I am typing in command window: II main, it giving as command not found.
then ls -al main

Im guessing you just copied SampleClient.cpp from example folder to main folder. Esp-idf application requires entry point to start, by default it is void app_main(). You have few options now.
extern void SampleClient();
extern "C" {
void app_main();
}
void app_main(){
SampleClient();
}
extern "C" {
void app_main();
}
void app_main(){
SampleClient();
}
There is few other options but those 2 are simplest.
Wow @chegewara your awesome it is working now. I am able to run the program.
Thank you for your support.
Most helpful comment
Im guessing you just copied SampleClient.cpp from example folder to main folder. Esp-idf application requires entry point to start, by default it is void app_main(). You have few options now.
There is few other options but those 2 are simplest.