timtimwhat
Registered
I'm trying to generate an executable for a computational physics program. I had to edit a few .h files to customize the process (install directory, compilers, etc.), and then I do make to run the makefile. It compiles all the files (some .c, some .f) and generates objects (.o), which I'm guessing it then tries to link all together in the generation of the executable. At the very end of the make process, I get:
/usr/bin/ld: Undefined symbols:
_cfree
collect2: ld returned 1 exit status
I've gotten this to work on a linux PC (suse 10.1) using the same compiler, gfortran. Any ideas? Needless to say, I don't really understand the whole linking process. Thanks a lot in advance.
/usr/bin/ld: Undefined symbols:
_cfree
collect2: ld returned 1 exit status
I've gotten this to work on a linux PC (suse 10.1) using the same compiler, gfortran. Any ideas? Needless to say, I don't really understand the whole linking process. Thanks a lot in advance.