Linker errors with Fortran to C library - /usr/lib/libf2c.so: undefined reference to 'MAIN__'
So I'm having a little trouble with the fortran to C library. Now, before I get into the problem, I can tell you that I cannot use g2c as some forum sites have suggested. Now, to the problem. When I try to compile a very large project, I get the following: [from the makefile...] g++ -L [~200 dirs] -l [~200 libs] -lf2c /usr/lib/libf2c.so: undefined reference to 'MAIN__' collect2: ld returned 1 exit status make: *** [all] Error 1 Now, I have checked my /usr/lib directory and have come up with the following: $ locate libf2c /usr/lib/libf2c.so /usr/lib/libf2c.so.0 /usr/lib/libf2c.so.0.22 So at the