<div dir="ltr"><div><div>Can anyone help me solve this link failure?<br><br><font size="1"><span style="font-family:courier new,monospace">ghc -o libami.so -shared -package parsec -lHSrts -lm -lffi -lrt AMIParse.o AMIModel.o ami_model.o ExmplUsrModel.o Filter.o<br>
/usr/bin/ld: /usr/lib/ghc-7.4.2/libHSrts.a(RtsAPI.o): relocation R_X86_64_32S against `ghczmprim_GHCziTypes_Czh_con_info&#39; can not be used when making a shared object; recompile with -fPIC<br>/usr/lib/ghc-7.4.2/libHSrts.a: could not read symbols: Bad value<br>
collect2: error: ld returned 1 exit status<br></span></font><br></div>Thanks!<br></div>-db<br><br></div>