https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52846
--- Comment #9 from Salvatore Filippone <sfilippone at uniroma2 dot it> --- (In reply to Salvatore Filippone from comment #8) > (In reply to Paul Thomas from comment #7) > Salvatore Spoke too quickly: I get this linker error ppde3d.f90:(.text+0x9d0): undefined reference to `__psb_error_mod_MOD_psb_perror' ../../lib/libpsb_prec.a(psb_dilu_fct.o): In function `psb_dilu_fct_': psb_dilu_fct.f90:(.text+0x6a0): undefined reference to `__psb_error_mod_MOD_psb_serror' psb_dilu_fct.f90:(.text+0x21db): undefined reference to `__psb_error_mod_MOD_psb_serror' whereas the relevant implementation submodule shows: 0000000000000000 T __psb_error_impl_mod_MOD_psb_perror 0000000000000220 T __psb_error_impl_mod_MOD_psb_serror i.e. the name mangling is going wrong. Salvatore