[Haskell-cafe] gtk2hs linking problems
Nabil Alsharif
blit32 at gmail.com
Fri May 23 16:25:36 EDT 2008
I downloaded the gtk2hs 0.9.12.1 tarball and did the standard configure,
make, make install but when I go to compile a test program I get a bunch
of errors that look like:
compilation IS NOT required
[..snip..]
(.data+0x38): undefined reference to
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_zdf548_closure'
gui.o: In function `r2JC_srt':
(.data+0x60): undefined reference to
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziButtonsziButton_onClicked_closure'
gui.o: In function `r2JC_srt':
(.data+0x68): undefined reference to
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_zdf662_closure'
gui.o: In function `r2JE_srt':
(.data+0x90): undefined reference to
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziButtonsziButton_buttonLabel_closure'
gui.o: In function `r2JE_srt':
(.data+0x98): undefined reference to
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_zdf662_closure'
gui.o: In function `r2JG_srt':
(.data+0xc0): undefined reference to
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziAbstractziContainer_containerChild_closure'
gui.o: In function `r2JG_srt':
(.data+0xc8): undefined reference to
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_zdf662_closure'
gui.o: In function `r2JG_srt':
(.data+0xd0): undefined reference to
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziTypes_zdf548_closure'
gui.o: In function `r2JG_closure':
(.data+0x108): undefined reference to
`glibzm0zi9zi12zi1_SystemziGlibziAttributes_set_closure'
gui.o: In function `r2JG_closure':
(.data+0x110): undefined reference to
`gtkzm0zi9zi12zi1_GraphicsziUIziGtkziGeneralziGenera
This was done on a Ubuntu system. It looks like it can't find a
reference to a library but it doesn't say which one. If any one has ran
into this problem before or knows what wrong help would be appreciated.
More information about the Haskell-Cafe
mailing list