From: Rickard N. <ric...@te...> - 2004-12-05 18:51:18
|
> I got some problems building wxHaskell 0.8 (both cvs and tarball) > on GNU/Linux , ghc 6.2.1, wxWidget 2.4.2, here i show some of the error > messages of make. > > out/wxdirect/Classes.o(.text+0x5a0a): In function `s2zg_entry': > : undefined reference to > collect2: ld returned 1 exit status > make: *** [out/wxdirect/wxdirect] Error 1 > > > This is the last command run before the errors: > > ghc -o out/wxdirect/wxdirect out/wxdirect/Map.o out/wxdirect/Set.o > out/wxdirect/MultiSet.o out/wxdirect/HaskellNames.o out/wxdirect/Types.o > out/wxdirect/ParseEiffel.o out/wxdirect/ParseC.o out/wxdirect/Classes.o > out/wxdirect/DeriveTypes.o out/wxdirect/CompileHeader.o > out/wxdirect/CompileClassTypes.o out/wxdirect/CompileClassInfo.o > out/wxdirect/CompileClasses.o out/wxdirect/CompileDefs.o > out/wxdirect/Main.o I had similar problems when compiling wxHaskell in ghc 6.2.1. After upgrading to ghc 6.2.2 it worked well, though. I guess it _should_ be possible to compile it in 6.2.1, but I never got it right. And I had no reason not to install 6.2.2. / rickard |