https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61928
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at gcc dot gnu.org --- Comment #3 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- With you attachment, I am getting this: /tmp/ccBACux5.o: In function `dgefa.2334': pr61928.f90:(.text+0x1282): undefined reference to `idamax_' /tmp/ccBACux5.o: In function `dgedi.2345': pr61928.f90:(.text+0x19fa): undefined reference to `dscal_' pr61928.f90:(.text+0x1aba): undefined reference to `daxpy_' pr61928.f90:(.text+0x1c2d): undefined reference to `daxpy_' pr61928.f90:(.text+0x1cbd): undefined reference to `dswap_' collect2: error: ld returned 1 exit status I did not link this with anything. The four last listed procedures listed are not defined in the attachment, although used. In subroutine dgefa, idamax is defined as an integer. If I delete that line, the undefined reference to idamax_ goes away. The last four references I suspect are in the BLAS library that I am not linked to at the moment.