[Haskell-cafe] relocation R_X86_64_PC32 against undefined symbol?

Magnus Therning magnus at therning.org
Sun Jan 5 12:00:45 UTC 2014


I get the following error when trying to build hsimports:

  [7 of 7] Compiling HsImport         ( src/HsImport.hs, dist/build/HsImport.dyn_o )
  /usr/bin/ld: dist/build/HsImport/Args.dyn_o: relocation R_X86_64_PC32 against undefined symbol `hsimportzm0zi2zi6zi3_Pathszuhsimport_version1_closure' can not be used when making a shared object; recompile with -fPIC
  /usr/bin/ld: final link failed: Bad value
  collect2: error: ld returned 1 exit status

What could be causing this?

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

Do not meddle in the affairs of Wizards, for they are subtle and quick
to anger.
     -- J.R.R Tolkien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140105/29e0b044/attachment.sig>


More information about the Haskell-Cafe mailing list