Undefined Symbols error with g77

handeule

Registered
Hello,

I have some problems using g77 on MacOS 10.4. The code I want to compile was written on a Windows computer. When using g77 I get the following error message:

Code:
/usr/bin/ld: Undefined symbols:
r_
collect2: ld returned 1 exit status

I have searched the forums and I guess that the problem might be related to wrong FFLAGS in the makefile (now "FFLAGS = -C -O3"). However, I am not very familiar with such things and cannot figure out how to solve this problem.

Thanks for any suggestions!

handeule
 
/usr/bin/ld refers to the linker. What it means is that your Fortran compiler cannot find the definition to something called 'r'.
 
Back
Top