From: Daan L. <daa...@xs...> - 2003-12-23 15:34:29
|
Hi Andreas, You are building with GHC 6.2, and it has some different package names. You can fix it for now by adding the "parsec" package when building wxdirect. I think that a quick and dirty way to make it work would be to add the line: HCFLAGS += -package parsec to the start of the makefile. Unfortunately, I won't be able to check this as I don't have 6.2 yet. I am currently working on a new release (0.5) and that release will work with ghc 6.2 out of the box. Hope this helps, Daan. On Tue, 23 Dec 2003 15:32:48 +0100, Andreas Bauer <ba...@in...> wrote: > Hi all, > > a make of 0.4 under Linux, using wxGTK 2.4.2 reveals the following > errors: > > -------------8<--------------------------------------------------------- > > 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/CompileClasses.o out/wxdirect/CompileDefs.o out/wxdirect/Main.o > out/wxdirect/Classes.o(.text+0x3d): In function `__stginit_Classes_': > : undefined reference to `__stginit_TextziParserCombinatorsziParsec_' > out/wxdirect/Classes.o(.text+0xa0): In function `rbR_srt': > : undefined reference to `TextziParserCombinatorsziParsecziPrim_many_closure' > out/wxdirect/Classes.o(.text+0xa4): In function `rbR_srt': > : undefined reference to `TextziParserCombinatorsziParsecziChar_oneOf_closure' > out/wxdirect/Classes.o(.text+0x122): In function `s2hr_entry': > : undefined reference to `TextziParserCombinatorsziParsecziChar_oneOf_closure' > out/wxdirect/Classes.o(.text+0x18d): In function `rbR_entry': > : undefined reference to `TextziParserCombinatorsziParsecziPrim_many_closure' > out/wxdirect/Classes.o(.text+0x1a0): In function `rc7_srt': > : undefined reference to `TextziParserCombinatorsziParsecziPrim_zdfMonadGenParser_closure' > out/wxdirect/Classes.o(.text+0x1dc): In function `s2hO_entry': > : undefined reference to `TextziParserCombinatorsziParsecziPrim_zdfMonadGenParser_closure' > out/wxdirect/Classes.o(.text+0x24c): In function `s2hR_entry': > : undefined reference to `TextziParserCombinatorsziParsecziPrim_zdfMonadGenParser_closure' > out/wxdirect/Classes.o(.text+0x2b9): In function `rc7_entry': > : undefined reference to `TextziParserCombinatorsziParsecziPrim_zdfMonadGenParser_closure' > out/wxdirect/Classes.o(.text+0x2d0): In function `rc5_srt': > : undefined reference to `TextziParserCombinatorsziParsecziCombinator_many1_closure' > out/wxdirect/Classes.o(.text+0x2d4): In function `rc5_srt': > : undefined reference to `TextziParserCombinatorsziParsecziChar_alphaNum_closure' > out/wxdirect/Classes.o(.text+0x2fc): In function `s2hV_entry': > : undefined reference to `TextziParserCombinatorsziParsecziChar_alphaNum_closure' > out/wxdirect/Classes.o(.text+0x301): In function `s2hV_entry': > : undefined reference to `TextziParserCombinatorsziParsecziCombinator_many1_closure' > > -------------8<--------------------------------------------------------- > > Any ideas what I am missing? This is, obviously, a library dependency > problem, but I can't figure it out myself. > > $ ghc --version > The Glorious Glasgow Haskell Compilation System, version 6.2 > > Please CC me in case you reply, as I am not member of this list (yet). > > Thanks in advance, > Andi. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > wxhaskell-users mailing list > wxh...@li... > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > |