[Haskell-beginners] "cabal install wxcore --enable-shared" Error
Paulo Pocinho
pocinho at gmail.com
Sun Mar 20 19:17:29 CET 2011
I'm trying to build an application using "ghc -dynamic mywxapp.hs".
Everything not involving wx compiles with dll linking.
However, I can't build the required dynamic libraries for wxcore.
Using "cabal install wxcore --enable-shared" gives the following:
collect2: ld returned 1 exit status
Creating library file: dist\build\libHSwxcore-0.12.1.6-ghc7.0.2.dll.a
cabal: Error: some packages failed to install:
wxcore-0.12.1.6 failed during the building phase. The exception was:
ExitFailure 1
Using "cabal install wxcore --enable-shared --enable-split-objs"
gives the following:
E:\Tools\Haskell Platform\2011.2.0.0\mingw\bin\ld.exe: BFD (GNU
Binutils) 2.20.51.20100613 internal
error, aborting at ../../binutils-2.20.51/bfd/coffcode.h line 954 in
handle_COMDAT
E:\Tools\Haskell Platform\2011.2.0.0\mingw\bin\ld.exe: Please report this bug.
cabal: Error: some packages failed to install:
wxcore-0.12.1.6 failed during the building phase. The exception was:
ExitFailure 1
Is it possible to fix?
More information about the Beginners
mailing list