I am making this post about a problem that I encounter when I made a clean and build on a C language program. There was a post about the same problem for a C++ program pointing towards a problem with the main function. This post and the message from the clean and build lead me toward a solution.
When you create a new project:
Projects: C/C++ Application
After you click on Next you should uncheck the Create Main File box before proceeding. You should not have any problems afterward.