Having recently installed linux for the millionth time(trying out different distros) and deciding to use debian for my current work, I upgrades GNU gcc up to version 3.2.3. I load up one of my old 3d mathematics projects, which includes math.h, and tried to compile it and I get compiling errors regarding sqrt(), specifically the "undefined reference to..." error.

I was wondering if anyone else has had this problem and how I can fix it.

thanks