According to this site the error function erf(x) comes from math.h. But actually looking in math.h, it isn\'t there, and gcc cannot compile the following test program while
I had the same problem using gcc from cygwin on a x86 processor. The "-lm" library include parameter (after the file list!) worked perfectly.