[Haskell-cafe] c2hs and gtk+hs problem

scott west swest3 at cogeco.ca
Tue May 18 15:41:04 EDT 2004


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.
> 
> 
That most definitely did it! Thanks for the tip!

Regards,
Scott


More information about the Haskell-Cafe mailing list