Ieri ho aggiornato ubuntu dalla versione 16.04 LTS alla versione 18.04 e ho riscontrato qualche problema con il compilatore GCC per i programmi C quando do il comando "make". Vi riporto il messaggio del compilatore:
Codice: Seleziona tutto
/usr/bin/ld: correttore_esercizio2.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: link finale non riuscito: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:13: recipe for target 'all' failed
make: *** [all] Error 1
Grazie in anticipo