Recently, I have been attempting to compile arw2arl function on Ubuntu 14.04 using gfortran.
However, when I try to compile the makefile using 'make' I get the following error message:
Code: Select all
gfortran -o ../../exec/arw2arl -O2 -fconvert=big-endian -frecord-marker=4 -ffree-form -Dgfortran -I/usr/include arw2arl.f libarw.a -I/usr/lib -lnetcdff -I../../library -lhysplit
/usr/bin/ld: cannot find -lhysplit
collect2: error: ld returned 1 exit status
make: *** [arw2arl] Error 1
-> I specified the file path for the locations of netcdf.so & netcdff.(NETLIB) and the locations of netcdf.h netcdf.inc (NETINC).
-> I changed
Code: Select all
LINKS = -L$(NETLIB) -lnetcdff -L../../library -lhysplit
Code: Select all
LINKS = -I$(NETLIB) -lnetcdff -I../../library -lhysplit
Any help would be greatly appreciated.
M.