From: Daan L. <da...@cs...> - 2004-12-06 10:47:26
|
Luis F. Araujo wrote: > Hello all, > > 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. It seems that the parsec package is not included. Maybe the package structure is not well installed with ghc 6.2.1 (although it worked for me on most platforms). You can probably fix it by editing the makefile. Add at after the include statements (line 56?) the line: HCFLAGS += $(HCFLAGS) -package parsec and it will probably all work well. -- Daan. > > out/wxdirect/Classes.o(.text+0x5a0a): In function `s2zg_entry': > : undefined reference to > `TextziParserCombinatorsziParsecziChar_string_closure' > out/wxdirect/Classes.o(.text+0x5a56): In function `s2zi_entry': > : undefined reference to > `TextziParserCombinatorsziParsecziPrim_try_closure' > out/wxdirect/Classes.o(.text+0x5b40): In function `s2AD_entry': > : undefined reference to > `TextziParserCombinatorsziParsecziPrim_zdfMonadGenParser_closure' > out/wxdirect/Classes.o(.text+0x5b50): In function `r2lX_srt': > : undefined reference to > `TextziParserCombinatorsziParsecziPrim_zlzbzg_closure' > out/wxdirect/Classes.o(.text+0x5bba): In function `r2lX_entry': > : undefined reference to > `TextziParserCombinatorsziParsecziPrim_zlzbzg_closure' > out/wxdirect/Classes.o(.text+0x5bc8): In function `r2lZ_srt': > : undefined reference to > `TextziParserCombinatorsziParsecziPrim_parse_closure' > out/wxdirect/Classes.o(.text+0x5c51): In function `r2lZ_entry': > : undefined reference to > `TextziParserCombinatorsziParsecziPrim_parse_closure' > 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 got ghc and wxWidgets well installed. > > Thanks. > |