HDirect

Martin Huschenbett huschi.spez at gmx.de
Tue Nov 12 11:51:40 EST 2002


I tried to build HDirect 0.17. After running `make boot' and `make' successfully,
I tried to run `make lib', but I got the follwing message:

> make lib
make -C lib boot && make -C lib all
make[1]: Entering directory `/home/martin/download/haskell/packages/hdirect-0.17/lib'
ghc -package lang -M -optdep-f -optdep.depend  -optdep-o -optdepo        -static -fglasgow-exts -fno-prune-tydecls -recomp -fvia-C Pointer.lhs HDirect.lhs PointerPrim.hs Com.lhs Automation.lhs AutoPrim.hs ComPrim.hs StdTypes.hs SafeArray.hs ComException.lhs TypeLib.hs Connection.hs ComDll.lhs ComServ.lhs ClassFactory.lhs StdDispatch.lhs ConnectionPoint.lhs EnumInterface.lhs ExeServer.lhs
make[1]: Leaving directory `/home/martin/download/haskell/packages/hdirect-0.17/lib'
make[1]: Entering directory `/home/martin/download/haskell/packages/hdirect-0.17/lib'
ghc -package lang   -fvia-C  -static -fglasgow-exts -fno-prune-tydecls -recomp -fvia-C -c SafeArray.hs -o SafeArray.o -osuf o
/tmp/ghc6009.hc: In function `r3lT_fast2':
/tmp/ghc6009.hc:163: warning: implicit declaration of function `SafeArrayUnlock'
/tmp/ghc6009.hc: In function `r3lV_fast2':
/tmp/ghc6009.hc:272: warning: implicit declaration of function `SafeArrayUnaccessData'
/tmp/ghc6009.hc: In function `r3lX_fast3':
/tmp/ghc6009.hc:385: warning: implicit declaration of function `SafeArrayRedim'
/tmp/ghc6009.hc: In function `r3lZ_fast4':
/tmp/ghc6009.hc:516: warning: implicit declaration of function `SafeArrayPutElement'
/tmp/ghc6009.hc: In function `r3m1_fast4':
/tmp/ghc6009.hc:662: warning: implicit declaration of function `SafeArrayPtrOfIndex'
/tmp/ghc6009.hc: In function `r3m3_fast2':
/tmp/ghc6009.hc:801: warning: implicit declaration of function `SafeArrayLock'
/tmp/ghc6009.hc: In function `r3m5_fast4':
/tmp/ghc6009.hc:917: warning: implicit declaration of function `SafeArrayGetUBound'
/tmp/ghc6009.hc: In function `r3m7_fast4':
/tmp/ghc6009.hc:1063: warning: implicit declaration of function `SafeArrayGetLBound'
/tmp/ghc6009.hc: In function `r3m9_fast2':
/tmp/ghc6009.hc:1202: warning: implicit declaration of function `SafeArrayGetElemsize'
/tmp/ghc6009.hc: In function `r3mb_fast4':
/tmp/ghc6009.hc:1318: warning: implicit declaration of function `SafeArrayGetElement'
/tmp/ghc6009.hc: In function `r3md_fast2':
/tmp/ghc6009.hc:1457: warning: implicit declaration of function `SafeArrayGetDim'
/tmp/ghc6009.hc: In function `r3mf_fast2':
/tmp/ghc6009.hc:1566: warning: implicit declaration of function `SafeArrayDestroyDescriptor'
/tmp/ghc6009.hc: In function `r3mh_fast2':
/tmp/ghc6009.hc:1675: warning: implicit declaration of function `SafeArrayDestroyData'
/tmp/ghc6009.hc: In function `r3mj_fast2':
/tmp/ghc6009.hc:1784: warning: implicit declaration of function `SafeArrayDestroy'
/tmp/ghc6009.hc: In function `r3ml_fast4':
/tmp/ghc6009.hc:1900: warning: implicit declaration of function `SafeArrayCreate'
/tmp/ghc6009.hc:1900: warning: assignment makes pointer from integer without a cast
/tmp/ghc6009.hc: In function `r3mn_fast3':
/tmp/ghc6009.hc:2041: warning: implicit declaration of function `SafeArrayCopy'
/tmp/ghc6009.hc: In function `r3mp_fast3':
/tmp/ghc6009.hc:2169: warning: implicit declaration of function `SafeArrayAllocDescriptor'
/tmp/ghc6009.hc: In function `r3mr_fast2':
/tmp/ghc6009.hc:2291: warning: implicit declaration of function `SafeArrayAllocData'
/tmp/ghc6009.hc: In function `r3mt_fast3':
/tmp/ghc6009.hc:2404: warning: implicit declaration of function `SafeArrayAccessData'
/tmp/ghc6009.hc: In function `s3uA_entry':
/tmp/ghc6009.hc:2994: `primSafeArrayDestroy' undeclared (first use in this function)
/tmp/ghc6009.hc:2994: (Each undeclared identifier is reported only once
/tmp/ghc6009.hc:2994: for each function it appears in.)
/tmp/ghc6009.hc: In function `s3Cq_2_alt':
/tmp/ghc6009.hc:3125: `primSafeArrayDestroy' undeclared (first use in this function)
/tmp/ghc6009.hc: In function `s3CD_2_alt':
/tmp/ghc6009.hc:3543: `primSafeArrayDestroy' undeclared (first use in this function)
/tmp/ghc6009.hc: In function `s3w6_entry':
/tmp/ghc6009.hc:3705: `primSafeArrayDestroy' undeclared (first use in this function)
/tmp/ghc6009.hc: In function `s3CP_ret':
/tmp/ghc6009.hc:3820: warning: assignment makes pointer from integer without a cast
make[1]: *** [SafeArray.o] Fehler 1
make[1]: Leaving directory `/home/martin/download/haskell/packages/hdirect-0.17/lib'
make: *** [lib] Fehler 2




Is there anybody, who can help me? Or is there maybe any newer version of HDirect, that
is easier to compile?

THX, Huschi!



More information about the FFI mailing list