[Haskell-cafe] relocation R_X86_64_PC32 against undefined symbol?

Magnus Therning magnus at therning.org
Mon Jan 6 22:17:39 UTC 2014


On Sun, Jan 05, 2014 at 02:36:07PM +0100, Daniel Trstenjak wrote:
> It seems to be a problem with the building of 'HsImport/Args.hs',
> which is the only module using the cabal module 'Paths_hsimport'.
> 
> The in this regard relevant parts of 'HsImport/Args.hs' seem to be:
> 
>    {-# LANGUAGE ... CPP #-}
>    
>    ...
>    
>    #ifdef CABAL
>    import Data.Version (showVersion)
>    import Paths_hsimport (version)
>    #endif
> 
> 
> And in 'hsimport.cabal' there's:
> 
>    ...
>    Executable hsimport
>      ...
>      cpp-options:   -DCABAL
> 
> 
> Could you try modifying the hsimport executable section:
> 
>    ...
>    Executable hsimport
>      ...
>      cpp-options:   -DCABAL
>      extensions:    CPP

Still no luck :(

/M

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

You do not examine legislation in the light of the benefits it will
convey if properly administered, but in the light of the wrongs it
would do and the harms it would cause if improperly administered.
     -- Lyndon Johnson
-------------- 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/20140106/e8305309/attachment.sig>


More information about the Haskell-Cafe mailing list