I'm trying to call a FORTRAN subroutine from my C code. I get link errors because the FORTRAN sub has calls to intrinsic functions in it (LOG, SQRT, etc.). When I comment these lines out of the sub everything works fine. Suggestions?