Captain Freako | 25 Apr 02:19 2013

Request for help with shared object link failure, involving relocation and -fPIC.

Can anyone help me solve this link failure?

ghc -o -shared -package parsec -lHSrts -lm -lffi -lrt AMIParse.o AMIModel.o ami_model.o ExmplUsrModel.o Filter.o
/usr/bin/ld: /usr/lib/ghc-7.4.2/libHSrts.a(RtsAPI.o): relocation R_X86_64_32S against `ghczmprim_GHCziTypes_Czh_con_info' can not be used when making a shared object; recompile with -fPIC
/usr/lib/ghc-7.4.2/libHSrts.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status


Haskell-Cafe mailing list
Haskell-Cafe <at>