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_':
: undefined reference to `__stginit_CForeign_'
/usr/local/lib/c2hs-0.12.0/ghc6/libc2hs.a(C2HSBase.o)(.text+0x28): In function `__stginit_C2HSBase_':
: undefined reference to `__stginit_MarshalUtils_'
/usr/local/lib/c2hs-0.12.0/ghc6/libc2hs.a(C2HSMarsh.o)(.text+0x32): In function `__stginit_C2HSMarsh_':
: undefined reference to `__stginit_CString_'
/usr/local/lib/c2hs-0.12.0/ghc6/libc2hs.a(C2HSMarsh.o)(.text+0x3c): In function `__stginit_C2HSMarsh_':
: undefined reference to `__stginit_MarshalUtils_'
/usr/local/lib/c2hs-0.12.0/ghc6/libc2hs.a(C2HSMarsh.o)(.text+0x50): In function `__stginit_C2HSMarsh_':
: undefined reference to `__stginit_MarshalAlloc_'
/usr/local/lib/c2hs-0.12.0/ghc6/libc2hs.a(C2HSMarsh.o)(.text+0x5a): In function `__stginit_C2HSMarsh_':
: undefined reference to `__stginit_Ptr_'
/usr/local/lib/c2hs-0.12.0/ghc6/libc2hs.a(NewStorable.o)(.text+0x28): In function `__stginit_NewStorable_':
: undefined reference to `__stginit_Storable_'
collect2: ld returned 1 exit status
Does anyone have any possible ways to resolve this? Thanks for any help!!
Regards, Scott _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe