[Haskell-cafe] relocation R_X86_64_PC32 against undefined symbol?
magnus at therning.org
Sun Jan 5 12:44:56 UTC 2014
On Sun, Jan 05, 2014 at 01:21:30PM +0100, Daniel Trstenjak wrote:
> Hi Magnus,
> On Sun, Jan 05, 2014 at 01:00:45PM +0100, Magnus Therning wrote:
> > 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?
> Could you please test it with hsimport 0.2.6.4.
Still same problem.
Magnus Therning OpenPGP: 0xAB4DFBA4
email: magnus at therning.org jabber: magnus at therning.org
twitter: magthe http://therning.org/magnus
As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the Haskell-Cafe