
Hello, When I recompile xmonad.hs by running xmonad --recompile, it gets this error: Error detected while loading xmonad configuration file: /home/qi/.xmonad/xmonad.hs /usr/bin/ld: --hash-size=31: unknown option /usr/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status Does anyone have an idea about it? xmonad's version is 0.10 and ghc version is 7.4.1. The xmonad and its library were installed through aptitude. Thanks. Qi Qi

On 03/17/2012 02:19 AM, Qi Qi wrote:
When I recompile xmonad.hs by running xmonad --recompile, it gets this error:
Error detected while loading xmonad configuration file: /home/qi/.xmonad/xmonad.hs /usr/bin/ld: --hash-size=31: unknown option /usr/bin/ld: use the --help option for usage information collect2: ld returned 1 exit status
Does anyone have an idea about it? xmonad's version is 0.10 and ghc version is 7.4.1. The xmonad and its library were installed through aptitude.
Might be this issue: http://haskell.1045720.n5.nabble.com/GHC-7-4-and-binutils-gold-td5103972.htm... (in which case you wouldn't be able to build /any/ haskell program) Looks like ghc only works with GNU binutils. -- Steffen

Steffen, thank you! It's resolved after I removed binutils-gold. Your suggestion saved me a lot time. :) Qi
participants (2)
-
Qi Qi
-
Steffen Schuldenzucker