If you are compiling code where you use FORTRAN sub-routines, but don't have a "main" FORTRAN routine, use the -nofor-main when compiling the FORTRAN code. Otherwise you'll get a error like "Undefined reference to MAIN_" Dave