Hi, I made patch for this problem. Attached is a patch for that. Please test.
Best Regards, On Mon, 03 Nov 2008 23:46:25 +0900, shelarcy <[EMAIL PROTECTED]> wrote: >> While wxHaskell compiles and installs, I get the following error when >> trying to compile one of the example programs: >> >>> make all >> ghc -package wx -o BouncingBalls BouncingBalls.hs >> /home/ghctest/lib/libwxcore2.a(WxcClassesMZ.o): In function `s1iiL_info': >> ghc31980_0.hc:(.text+0x12d84d): undefined reference to >> `wxXmlResource_GetStyledTextCtrl' >> collect2: ld returned 1 exit status >> make: *** [BouncingBalls] Error 1 > > (snip) > > So, we can fix this problem by following change. > > #ifdef wxUSE_STC > BUILD_XRCGETCTRL_FN(StyledTextCtrl) > #else > EWXWEXPORT(void*, wxXmlResource_StyledTextCtrl)(wxWindow* _win, wxString* > _str_id) > { > return NULL; > } > #endif > > http://www.mail-archive.com/wxhaskell-devel@lists.sourceforge.net/msg00273.html -- shelarcy <shelarcy hotmail.co.jp> http://page.freett.com/shelarcy/
fix_xrc.dpatch
Description: Binary data
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ wxhaskell-devel mailing list wxhaskell-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-devel