0
votes
1answer
23 views

collect2 error while compiling fortran code

I have installed necdf-4 successfully. I am getting collect2: error: ld returned 1 exit status error when I compile a fortran code that writes netcdf files. I use gfortran compiler. I am sure the ...
0
votes
2answers
717 views

Undefined reference when using gfortran to compile fortran 77 code

I have an old fortran 77 code, which compiles well on Sun workstation. However, there are errors when I try to compile it using gfortran on Ubuntu (64 bits): $ gfortran -Wall -g -Jobj/Debug/ ...
1
vote
1answer
805 views

Cannot find -lgfortran

I'm trying to install a package in R (package "ks"). It fails with error message: /usr/bin/ld: cannot find -lgfortran I've already installed the Ubuntu package build-essential: sudo apt-get ...
0
votes
0answers
395 views

compile problem in ubuntu12.04

when I compile g77 programs it comes out like this: g77 -g -C -o remodl remodl.o emiasp91.o libtau.a libsun.a /usr/bin/ld: cannot find crt1.o: No such file or directory /usr/bin/ld: cannot find ...