Consider the following two C++ programs. In the first file, we make use of the “print ()” function which is defined in the second file. When we compile these files separately, the first file gives “undefined reference” for the print function, while the second file gives “undefined reference” for the main function.

'Undefined reference to' error in S-function builder Jan 11, 2013 Getting undefined reference to main error?? Jul 29, 2011 Eclipse Community Forums: C / C++ IDE (CDT) » Undefined Jul 25, 2013 [Solved] undefined reference to `cos' - CodeProject

The math.h function 'log' doesn't seem to work in Energia, is this a known problem or is it just not supported by Energia? I created an log calculation but when i compiled i received an error: undefined reference to `log' collect2: ld re

You cannot separate the compilation of the function template from its declaration. Function templates are only compiled when they are used with a specific template argument, we call that instantiation.

undefined reference to function - CodeProject

Jul 29, 2011 Eclipse Community Forums: C / C++ IDE (CDT) » Undefined Jul 25, 2013 [Solved] undefined reference to `cos' - CodeProject