https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91287

--- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
(In reply to Xiong Hu XS Luo from comment #4)

> /tmp/cctrpu2h.ltrans0.ltrans.o: In function `MAIN__':
> <artificial>:(.text+0x114): undefined reference to `_gfortran_st_write'
> <artificial>:(.text+0x12c): undefined reference to
> `_gfortran_transfer_character_write'

You're not linkging against libgfortran.

Either use gfortran as command for compiling or linking, or
add the appropriate libraries (-lgfortran -lquadmath) to
the linking step.

Reply via email to