2012-12-13 36 views
1

我试图建立wxhaskell,似乎有很多的麻烦,我可以找出在某些情况下这样做,但现在我卡住了。Wxhaskell - wxcore失败,因为建设阶段(G ++错误)

我使用的wxWidgets-2.8/wxhaskell-0.11.1.2,以及出现的错误是:

g++: error: unrecognized command line option ‘-Wl’ 
g++: error: unrecognized command line option ‘--soname=/home/ming/.cabal/lib/libwxc-gtk2.8.12-0.11.1.2.so’ 
make: *** [dist/wxc/libwxc-gtk2.8.12-0.11.1.2.so] Fehler 1 
cabal: Error: some packages failed to install: 
wxcore-0.11.1.2 failed during the building phase. The exception was: 
ExitFailure 2 

有谁知道如何解决这个问题? 在此先感谢。

编辑: 完整的G ++命令是在这里:

http://pastebin.com/TbrQhWEY

+0

您至少应该显示完整的g ++命令行。否则,根本没有足够的信息。 –

+0

谢谢你的评论,我加了! – user1902392

回答

1

你的G ++ invokation有-Wl --soname=<something>。它应该是-Wl,--soname=<something>

看到here

相关问题