Files with a capital .C extension will not build in a managed C project. I get "undefined reference" errors when trying to build a project with .C files.
Solution
The .C is defined as C++ file type and that is not recognized in a managed C project.
To work around the issue, change the file extension to .c or use a Managed C++ Project.