2009/12/11 Duncan Coutts <duncan.cou...@googlemail.com>:
> Patch to make gtk2hs (darcs HEAD version) build with ghc-6.12.
>
> It should build and install with 6.10 and 6.12, though it's worth other
> people checking that before pushing to the main repo.

Built just fine for me on fedora with 6.12.1 :)
but something must be wrong since when I try to make
any of the demos I got a host of linking errors:

$ make
ghc --make Calc.hs -o calc
Linking calc ...
Calc.o: In function `r3Tk_info':
(.text+0x67): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfLabelClassLabel_closure'
Calc.o: In function `r3To_info':
(.text+0x177): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfButtonClassButton_closure'
Calc.o: In function `r3Tu_info':
(.text+0x30e): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziAbstractziWidget_widgetShowAll_closure'
Calc.o: In function `r3Tu_info':
(.text+0x314): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfWidgetClassWindow_closure'
Calc.o: In function `r3Tw_info':
(.text+0x396): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziAbstractziWidget_onDestroy_closure'
Calc.o: In function `r3Tw_info':
(.text+0x39c): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfWidgetClassWindow_closure'
Calc.o: In function `r3TA_info':
(.text+0x4a6): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziButtonsziButton_onClicked_closure'
Calc.o: In function `r3TA_info':
(.text+0x4ac): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfButtonClassButton_closure'
Calc.o: In function `r3TC_info':
(.text+0x52e): undefined reference to
`gladezm0zi10zi1_GraphicsziUIziGtkziGlade_xmlGetWidget_closure'
Calc.o: In function `r3TE_info':
(.text+0x5b6): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_castToButton_closure'
Calc.o: In function `r3TE_info':
(.text+0x5bc): undefined reference to
`glibzm0zi10zi1_SystemziGlibziTypes_zdfGObjectClassGObject_closure'
Calc.o: In function `r3TG_info':
(.text+0x63e): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziDisplayziLabel_labelSetLabel_closure'
Calc.o: In function `r3TG_info':
(.text+0x644): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfLabelClassLabel_closure'
Calc.o: In function `r3TI_info':
(.text+0x6c6): undefined reference to
`gladezm0zi10zi1_GraphicsziUIziGtkziGlade_xmlGetWidget_closure'
Calc.o: In function `r3TK_info':
(.text+0x74e): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_castToLabel_closure'
Calc.o: In function `r3TK_info':
(.text+0x754): undefined reference to
`glibzm0zi10zi1_SystemziGlibziTypes_zdfGObjectClassGObject_closure'
Calc.o: In function `r3TM_info':
(.text+0x7d6): undefined reference to
`gladezm0zi10zi1_GraphicsziUIziGtkziGlade_xmlGetWidget_closure'
Calc.o: In function `r3TM_info':
(.text+0x7dc): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfWidgetClassWindow_closure'
Calc.o: In function `r3TO_info':
(.text+0x85e): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_castToWindow_closure'
Calc.o: In function `r3TO_info':
(.text+0x864): undefined reference to
`glibzm0zi10zi1_SystemziGlibziTypes_zdfGObjectClassGObject_closure'
Calc.o: In function `s42A_info':
(.text+0x140f): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziGeneralziGeneral_mainGUI_closure'
Calc.o: In function `s42C_info':
(.text+0x147f): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziGeneralziGeneral_mainQuit_closure'
Calc.o: In function `s42Y_info':
(.text+0x20ec): undefined reference to
`gladezm0zi10zi1_GraphicsziUIziGtkziGlade_xmlNew_closure'
Calc.o: In function `s430_info':
(.text+0x2231): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziGeneralziGeneral_initGUI_closure'
Calc.o: In function `s430_info':
(.text+0x2307): undefined reference to
`__stginit_gladezm0zi10zi1_GraphicsziUIziGtkziGlade_'
Calc.o: In function `s430_info':
(.text+0x2313): undefined reference to
`__stginit_gtkzm0zi10zi1_GraphicsziUIziGtk_'
Calc.o: In function `r3Tk_info':
(.text+0x70): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdp1LabelClass_info'
Calc.o: In function `r3Tm_info':
(.text+0xf8): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdp1MiscClass_info'
Calc.o: In function `r3To_info':
(.text+0x180): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdp1ButtonClass_info'
Calc.o: In function `r3Tq_info':
(.text+0x208): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdp1BinClass_info'
Calc.o: In function `r3Ts_info':
(.text+0x290): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdp1ContainerClass_info'
Calc.o: In function `r3Tk_srt':
(.data+0x0): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfLabelClassLabel_closure'
Calc.o: In function `r3To_srt':
(.data+0x50): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfButtonClassButton_closure'
Calc.o: In function `r3Tu_srt':
(.data+0xc8): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziAbstractziWidget_widgetShowAll_closure'
Calc.o: In function `r3Tu_srt':
(.data+0xd0): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfWidgetClassWindow_closure'
Calc.o: In function `r3Tw_srt':
(.data+0xf8): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziAbstractziWidget_onDestroy_closure'
Calc.o: In function `r3Tw_srt':
(.data+0x100): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfWidgetClassWindow_closure'
Calc.o: In function `r3TA_srt':
(.data+0x158): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziButtonsziButton_onClicked_closure'
Calc.o: In function `r3TA_srt':
(.data+0x160): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfButtonClassButton_closure'
Calc.o: In function `r3TC_srt':
(.data+0x188): undefined reference to
`gladezm0zi10zi1_GraphicsziUIziGtkziGlade_xmlGetWidget_closure'
Calc.o: In function `r3TE_srt':
(.data+0x1b8): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_castToButton_closure'
Calc.o: In function `r3TE_srt':
(.data+0x1c0): undefined reference to
`glibzm0zi10zi1_SystemziGlibziTypes_zdfGObjectClassGObject_closure'
Calc.o: In function `r3TG_srt':
(.data+0x1e8): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziDisplayziLabel_labelSetLabel_closure'
Calc.o: In function `r3TG_srt':
(.data+0x1f0): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfLabelClassLabel_closure'
Calc.o: In function `r3TI_srt':
(.data+0x218): undefined reference to
`gladezm0zi10zi1_GraphicsziUIziGtkziGlade_xmlGetWidget_closure'
Calc.o: In function `r3TK_srt':
(.data+0x248): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_castToLabel_closure'
Calc.o: In function `r3TK_srt':
(.data+0x250): undefined reference to
`glibzm0zi10zi1_SystemziGlibziTypes_zdfGObjectClassGObject_closure'
Calc.o: In function `r3TM_srt':
(.data+0x278): undefined reference to
`gladezm0zi10zi1_GraphicsziUIziGtkziGlade_xmlGetWidget_closure'
Calc.o: In function `r3TM_srt':
(.data+0x280): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_zdfWidgetClassWindow_closure'
Calc.o: In function `r3TO_srt':
(.data+0x2a8): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziTypes_castToWindow_closure'
Calc.o: In function `r3TO_srt':
(.data+0x2b0): undefined reference to
`glibzm0zi10zi1_SystemziGlibziTypes_zdfGObjectClassGObject_closure'
Calc.o: In function `s430_srt':
(.data+0x358): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziGeneralziGeneral_mainGUI_closure'
Calc.o: In function `s430_srt':
(.data+0x360): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziGeneralziGeneral_mainQuit_closure'
Calc.o: In function `s430_srt':
(.data+0x368): undefined reference to
`gladezm0zi10zi1_GraphicsziUIziGtkziGlade_xmlNew_closure'
Calc.o: In function `c437_srtd':
(.data+0x438): undefined reference to
`gtkzm0zi10zi1_GraphicsziUIziGtkziGeneralziGeneral_initGUI_closure'
collect2: ld returned 1 exit status
make: *** [calc] Error 1

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to