Hi!

I can?t install H/Direct 0.14, using ghc-4.01. Thanx for any help.
Here is what happens:


# make lib

ghc-4.01     -fglasgow-exts -fno-prune-tydecls -recomp
-optc-D_stdcall=__stdcall -c AutoPrim.hs -o AutoPrim.o -osuf o
 
AutoPrim.hs:8: Could not find valid interface file `Com'
 
AutoPrim.hs:8: Module `Com' does not export `checkHR'
 
AutoPrim.hs:8: Module `Com' does not export `marshalliptr'
 
AutoPrim.hs:8: Module `Com' does not export `IUnknown'
 
AutoPrim.hs:8: Module `Com' does not export `mkIID'
 
AutoPrim.hs:8: Module `Com' does not export `IID'



# cd lib; make Com.hi

ghc-4.01     -fglasgow-exts -fno-prune-tydecls -recomp
-optc-D_stdcall=__stdcall -c Com.lhs -o Com.o -osuf o
 
Com.lhs:410: Warning:
    No explicit method nor default method for `enumFromThen'
    in an instance declaration for `Enum'
 
Com.lhs:410: Warning:
    No explicit method nor default method for `enumFrom'
    in an instance declaration for `Enum'

Com.lhs:389: 
    Pattern match(es) are overlapped
        in a group of case alternatives beginning: 1
            4 -> ...

ghc-4.01: module version changed to 1; reason: no old .hi file
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 `OLECHAR'
comPrim.h:28: warning: data definition has no type or storage class
comPrim.h:29: parse error before `*'
comPrim.h:29: warning: data definition has no type or storage class
comPrim.h:30: parse error before `*'
comPrim.h:30: warning: data definition has no type or storage class
comPrim.h:32: parse error before `*'
comPrim.h:32: warning: data definition has no type or storage class
comPrim.h:34: parse error before `IID_NULL'
comPrim.h:34: warning: data definition has no type or storage class
comPrim.h:35: parse error before `IID_IUnknown'
comPrim.h:35: warning: data definition has no type or storage class
comPrim.h:36: parse error before `IID_IClassFactory'
comPrim.h:36: warning: data definition has no type or storage class
comPrim.h:41: parse error before `HRESULT'
...


bye.

Reply via email to