Hi! This is a bug report and remarks concerning the hdirect-current.tar.gz (hdirect 0.16) distribution that I downloaded last week. When i tried to install HDirect under Linux (Suse 6.x distribution) i had the following problems when trying to make the libs * I needed libs for both ghc4.06 and hugs "version November 1999". For this, i had to create two lib-directories and use the --for_hugs or -g flags resp. * When trying to make the lib for hugs, i got some errors from make, they are listed below. I finally could make AddrBits.dll and PointerPrim.dll, but not the other dll's. * The .dll files needed be renamed to .so in a linux environment. * The HDirect.hs had an error (listed below). I want to offer to test future makefiles/distributions for linux if there is a problem to test the distribution in that environment. Errors when trying to make libs for hugs: ========================================= 1. make FOR_HUGS=YES all PointerSrc.c:38: windows.h: Datei oder Verzeichnis nicht gefunden make: *** [PointerSrcCom.dll_o] Error 1 2. make FOR_HUGS=YES dlls PointerSrc.c:38: windows.h: Datei oder Verzeichnis nicht gefunden make: *** [PointerSrcCom.dll_o] Error 1 3. make FOR_HUGS=YES AddrBits.dll (did it) 4. make FOR_HUGS=YES AutoPrim.dll make: *** No rule to make target `AutoPrim.dll_o', needed by `AutoPrim.dll'. Stop 5. make FOR_HUGS=YES ComPrim.dll make: *** No rule to make target `ComPrim.dll_o', needed by `ComPrim.dll'. Stop. 6.make FOR_HUGS=YES PointerPrim.dll gcc -DCOM -c PointerSrc.c -o PointerSrcCom.dll_o PointerSrc.c:38: windows.h: Datei oder Verzeichnis nicht gefunden make: *** [PointerSrcCom.dll_o] Error 1 7. FIXED: removed -DCOM from CC-call in rule for PointerSrcCom.dll_o, then (did it) 8. make FOR_HUGS=YES SafeArray.dll make: *** No rule to make target `SafeArray.dll_o', needed by `SafeArray.dll'. Stop 7. make FOR_HUGS=YES StdTypes.dll make: *** No rule to make target `StdTypes.dll_o', needed by `StdTypes.dll'. Stop. make FOR_HUGS=YES WideString.dll gcc -c WideString.c -o WideString.dll_o gcc -c WideStringSrc.c -o WideStringSrc.dll_o In file included from WideStringSrc.c:29: comPrim.h:13: parse error before `IID' comPrim.h:13: warning: data definition has no type or storage class comPrim.h:28: parse error before `IID_NULL' comPrim.h:28: warning: data definition has no type or storage class comPrim.h:29: parse error before `IID_IUnknown' comPrim.h:29: warning: data definition has no type or storage class comPrim.h:30: parse error before `IID_IClassFactory' comPrim.h:30: warning: data definition has no type or storage class comPrim.h:35: parse error before `HRESULT' comPrim.h:35: warning: no semicolon at end of struct or union comPrim.h:40: parse error before `*' comPrim.h:40: `ULONG' declared as function returning a function comPrim.h:40: warning: data definition has no type or storage class ... (etc.) WideStringSrc.c: In function `wideToString': WideStringSrc.c:92: parse error before `0x80004005L' WideStringSrc.c:124: parse error before `0x00000000L' make: *** [WideStringSrc.dll_o] Error 1 Errors when trying to use .hs-files with hugs: ============================================== ERROR "/usr/local/share/hdirect-0.16/lib/hugs/HDirect.lhs": Entity "addrToInt" imported from module "Addr" already defined in m odule "AddrBits" FIX: adding "hiding (addrToInt)" to import AddrBits Best, Elke. --- Elke Kasimir Skalitzer Str. 79 10997 Berlin (Germany) fon: +49 (030) 612 852 16 mail: [EMAIL PROTECTED]> see: <http://www.catmint.de/elke> for pgp public key see: <http://www.catmint.de/elke/pgp_signature.html> _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs