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>&gt; if HAVE_SPLIT_BASE<br>&gt; tools_c2hs_c2hsLocal_EXTERNALDEPS += pretty containers array<br>&gt; endif<br>358a362,364<br>&gt; if HAVE_SPLIT_BASE
<br>&gt; libHSgtk_a_EXTERNALDEPS += containers array<br>&gt; endif<br>1578a1585,1587<br>&gt; if HAVE_SPLIT_BASE<br>&gt; libHSsoegtk_a_EXTERNALDEPS += old-time<br></code><code>&gt; 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&gt;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>&nbsp;reference to `__stginit_gtkzm0zi9zi12_GraphicsziUIziGtkziLayoutziHPaned_&#39;
<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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 &quot;missing symbol&quot; 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>