[Haskell-cafe] c2hs and gtk+hs problem

Donald Bruce Stewart dons at cse.unsw.edu.au
Wed May 19 10:13:04 EDT 2004


swest3:
> Sven Panne wrote:
> >scott west wrote:
> >
> >>Hello all,
> >>   I've recently attempted to get the gtk+hs bindings operational, 
> >>with evidently no success. They both compile fine, but when trying to 
> >>"make all" the examples in the gtk+hs tree, it gives up with:
> >>
> >>/usr/local/lib/c2hs-0.12.0/ghc6/libc2hs.a(C2HS.o)(.text+0x32): In 
> >>function `__stginit_C2HS_':  [...]
> >
> >
> >This suspiciously looks like a missing "-package haskell98", try adding 
> >this
> >to the linking step.
> >
> >Cheers,
> >   S.

By the way, there is a new version of gtk+hs out a couple of days ago
which should fix this problem, as well as a few other 6.2isms.

-- Don


More information about the Haskell-Cafe mailing list