![Error de gfortran: "- recompilar con -fPIC"](https://rvso.com/image/1000376/Error%20de%20gfortran%3A%20%22-%20recompilar%20con%20-fPIC%22.png)
Me encuentro con un error al compilar un programa fortran: como tengo un archivo MAKE proporcionado, abro el directorio de trabajo en la terminal y escribo make
. Lamentablemente me sale este error:
relocation R_X86_64_32S against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
makefile:43: recipe for target '<name>' failed
En realidad, no entiendo cómo "recompilar con -fPIC".
Intenté escribir make -fPIC
y agregar algo como:
CFLAGS = -fPIC
CXXFLAGS = -fPIC
al archivo MAKE, pero ambos no han funcionado.
Se agradece cualquier ayuda, gracias.