BasicLibRandom.h should #include <math.h> at the top
of the file. It references functions from this header
file such as pow().
VC8 doesn't mind these unidentified function names
because the functions are called from within
templated classes, and apparently it doesn't notice.
However, GCC does notice, and complains.