[Haskell-cafe] relocation R_X86_64_PC32 against undefined symbol?
Daniel Trstenjak
daniel.trstenjak at gmail.com
Sun Jan 5 13:36:07 UTC 2014
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
Greetings,
Daniel
More information about the Haskell-Cafe
mailing list