Hello,<br><br>I just built gtk2hs 0.9.12 using MinGW, GTK_2.0 and ghc-6.8.0.20071016. I just changed some EXTERNALDEPS in the Makefile based on info found in the following page <a href="http://haskell.org/haskellwiki/Grapefruit">
http://haskell.org/haskellwiki/Grapefruit</a><br><br><code>25a126,128<br>> if HAVE_SPLIT_BASE<br>> tools_c2hs_c2hsLocal_EXTERNALDEPS += pretty containers array<br>> endif<br>358a362,364<br>> if HAVE_SPLIT_BASE
<br>> libHSgtk_a_EXTERNALDEPS += containers array<br>> endif<br>1578a1585,1587<br>> if HAVE_SPLIT_BASE<br>> libHSsoegtk_a_EXTERNALDEPS += old-time<br></code><code>> endif<br></code><br>I had no problem building and installing the library but when trying to compile the HelloWorld example to check the installation I get this error:
<br><br>C:\Temp>ghc --make HelloGtk.hs<br>Linking HelloGtk.exe ...<br>C:/Progra~1/Haskell/lib/gtk2hs/libHSgtk.a(Gtk__1.o)(.text+0x419):fake: undefined<br> reference to `__stginit_gtkzm0zi9zi12_GraphicsziUIziGtkziLayoutziHPaned_'
<br>collect2: ld returned 1 exit status<br><br>I found an irc log talking of using nm to track the problem. Tried nm and got this (different from the problem specified in the irc log).<br><br>nm libHSgtk.a | grep __stginit_gtkzm0zi9zi12_GraphicsziUIziGtkziLayoutziHPaned_
<br> U ___stginit_gtkzm0zi9zi12_GraphicsziUIziGtkziLayoutziHPaned_<br>c:\MinGW\bin\nm.exe: HPaned__4.o: File format not recognized<br>c:\MinGW\bin\nm.exe: MenuBar__48.o: File format not recognized<br><br>The "missing symbol" is found but I have a problem with the HPaned__4.o and MenuBar__48.o of the
libHSgtk.a file.<br><br>Any idea of what could have gone wrong?<br><br>Thanks,<br><br>Olivier.<br>