linking problem (undefined reference to `_gfortran_stop_numeric_f08')
Posted: 17 Sep 2018, 14:04
After running
everything is compiled (I do see a lot of warnings about real*8 arguments passed to integer*4 though) but at the linking step i get the error
I tried gfortran 4.7 and 5.4 on ubuntu 16.04, same result. So apparently some library is missing. Any suggestion on how to solve this?
Code: Select all
./setup
cd build
make
Code: Select all
[100%] Built target dalton
[100%] Linking Fortran executable dalton.x
lib/libdalton.a(gptrygve.F.o): In function `quit_':
gptrygve.F:(.text+0x264): undefined reference to `_gfortran_stop_numeric_f08'
collect2: error: ld returned 1 exit status
CMakeFiles/dalton.x.dir/build.make:103: recipe for target 'dalton.x' failed
make[2]: *** [dalton.x] Error 1
CMakeFiles/Makefile2:1303: recipe for target 'CMakeFiles/dalton.x.dir/all' failed
make[1]: *** [CMakeFiles/dalton.x.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2