プログラムのコンパイルエラーについて。
ubuntu上でコンパイルをするとこのようなエラーが出ました。
gcc main.c -o main -L"." -lespfw -fPIC -lncursesw
/usr/bin/ld: ./libespfw.a(espfw.o): relocation R_X86_64_32 against `.rodata' 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
調べてみると共通ライブラリが関係しているとか、、、詳しい対処法が不明ですので教えていただければ幸いです。