I have been trying to compile some c++ using GNU make. This involves linking with a third party library and it is this that seems to have caused the problem. The error message tells me that there are undefined references in my program to one of my own classes (RandNos) and its member functions. My suspicions are, that this problem arises during the linking stage, even though the error seems to suggest it does not. I have compiled similar code with make many times before without hitch, the only difference with the current code is the inclusion of the third party library. Please take a look at my make file and the subsequent error messages, which follow. I hope you can help
/tmp/ccFiW4Do.o: In function `main':
SynSurvey_v2.cpp:(.text+0x10ea): undefined reference to `RandNos::RandNos(int)'
SynSurvey_v2.cpp:(.text+0x10f8): undefined reference to `RandNos::generate()'
SynSurvey_v2.cpp:(.text+0x1109): undefined reference to `RandNos::get_err()'
collect2: ld returned 1 exit status
make: *** [SynSurvey_v2.o] Error 1