I am trying to install FEAP8.6 with ARPACK on Linux Mint 19 (Ubuntu/Debian) with compilers gfortran-7 gcc-7. I have made necessary modifications in the makefile.in and makefile.
After which I did the following steps:
1. made the feap archive
ver86$: make archive
2. cd into the arpack directory and made the libarchive.a and libarpack.a
ver86/packages/arpack/archive$: make install
ver86/packages/arpack$: make install
3. cd into main directory and made feap
ver86/main: make feap
In this step, I am getting the following error message:
feap86.f:(.text.startup+0xed): undefined reference to `pstart_'
feap86.f:(.text.startup+0xf4): undefined reference to `pcontr_'
collect2: error: ld returned 1 exit status
makefile:6: recipe for target 'feap' failed
make: *** [feap] Error 1
I tried multiple times to do a clean installation by removing all the *.a,*.o, feap files, etc. However, I am getting back to the same point where I get the error message as shown in step 3. Please find attached a zip file with the makefile and makefile.in as well as the subsequent makefiles which I have modified (in the same folder structure as they were in the distribution). Could you please give me some tips that might help me fix this issue?