Re: error when making the hdirect
"Sigbjorn Finne" <[email protected]> Sun, 7 Dec 2003 16:46:55 -0800
| Newsgroups | gmane.comp.lang.haskell.cvs.hdirect |
|---|---|
| Message-ID | <003101c3bd24$c726ffc0$6501a8c0@snapdragon> |
Thanks for pointing this out. I've checked in a workaround to TypeLib.idl --sigbjorn Mauro La Salete Costa Lima de Araujo <[email protected]> wrote: > Hi people, > > I have just downloaded the fptools with the purpose of use the > hdirect. But when I execute a "make boot; make" in the hdirect > directory in the middle of the compile process I get the following > error: > > ------------------------------------------------------------------------ > ==fptools== make all - --unix -r; > in /cygdrive/c/haskell/fptools/hdirect/comlib > ------------------------------------------------------------------------ > /cygdrive/c/ghc/ghc-6.0.1/bin/ghc -H16m -O -fvia-C -package-name com > -package > lang -I../lib -DCOM -fglasgow-exts -fvia-C -static -c TypeLib.hs -o > TypeLib.o - > ohi TypeLib.hi > > TypeLib.hs:2291: > Couldn't match `IUnknown i0' against `()' > Expected type: Ptr (IID (IUnknown i0)) > Inferred type: Ptr (IID ()) > In the fourth argument of `prim_TypeLib_createInstance', namely > `riid' > In a lambda abstraction: > \ riid > -> prim_TypeLib_createInstance methPtr iptr pUnkOuter riid > ppvObj > make[1]: *** [TypeLib.o] Error 1 > make: *** [all] Error 1 > > > The steps that I used were: > > > -> "autoreconf" in the fptools directory > -> "./configure" in the fptools directory > -> "make boot; make" in the alex directory > -> "make boot; make" in the happy directory > -> "make boot; make" in the hdirect directoty > > Can anyone help me? I'm just following a tutorial in: > > http://www.cin.ufpe.br/~haskell/vhs/howto-tarball.html >