Looks like there's a dependency on a Microsoft thingy in there: [josh@dynarion hdirect-081298]$ ihc --version H/Direct (ihc), snapshot 081298 Report bugs to <[EMAIL PROTECTED]> [josh@dynarion hdirect-081298]$ ghc --version The Glorious Glasgow Haskell Compilation System, version 4.01, patchlevel 0 [josh@dynarion hdirect-081298]$ gcc --version 2.7.2.3 [josh@dynarion hdirect-081298]$ ls ANNOUNCE Makefile README config.mk~ examples/ mk/ INSTALL NEWS config.mk doc/ lib/ src/ [josh@dynarion hdirect-081298]$ make lib make -C lib boot && make -C lib all make[1]: Entering directory `/hoss/lang/haskell/hdirect-081298/lib' ghc -M -optdep-f -optdep.depend -optdep-o -optdepo -fglasgow-exts -fno-prune-tydecls -recomp -optc-D_stdcall=__stdcall Pointer.lhs HDirect.lhs PointerPrim.hs make[1]: Leaving directory `/hoss/lang/haskell/hdirect-081298/lib' make[1]: Entering directory `/hoss/lang/haskell/hdirect-081298/lib' ghc -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' Compilation had errors make[1]: *** [AutoPrim.o] Error 1 make[1]: Leaving directory `/hoss/lang/haskell/hdirect-081298/lib' make: *** [lib] Error 2 [josh@dynarion hdirect-081298]$ cd lib [josh@dynarion lib]$ make Com ghc -fglasgow-exts -fno-prune-tydecls -recomp -optc-D_stdcall=__stdcall -c Com.lhs -o Com.o -osuf o Com.lhs:162: Could not find valid interface file `ComPrim' Com.lhs:162: Module `ComPrim' does not export `checkHR' Com.lhs:166: Could not find valid interface file `WideString' Compilation had errors make: *** [Com.o] Error 1 [josh@dynarion lib]$ make ComPrim ghc -fglasgow-exts -fno-prune-tydecls -recomp -optc-D_stdcall=__stdcall -c ComPrim.hs -o ComPrim.o -osuf o ghc: 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' comPrim.h:41: warning: no semicolon at end of struct or union comPrim.h:46: parse error before `*' comPrim.h:46: `ULONG' declared as function returning a function comPrim.h:46: warning: data definition has no type or storage class comPrim.h:47: parse error before `*' comPrim.h:47: `ULONG' declared as function returning a function comPrim.h:47: warning: data definition has no type or storage class comPrim.h:48: parse error before `}' comPrim.h:48: warning: data definition has no type or storage class comPrim.h:76: parse error before `STDCALL' comPrim.h:77: warning: data definition has no type or storage class comPrim.h:82: parse error before `OleUninitialize' comPrim.h:82: warning: data definition has no type or storage class comPrim.h:86: parse error before `STDCALL' comPrim.h:88: parse error before `*' comPrim.h:92: warning: data definition has no type or storage class comPrim.h:96: parse error before `STDCALL' comPrim.h:98: parse error before `*' comPrim.h:102: warning: data definition has no type or storage class comPrim.h:105: parse error before `STDCALL' comPrim.h:107: parse error before `*' comPrim.h:108: warning: data definition has no type or storage class comPrim.h:113: parse error before `StringFromGUID2' comPrim.h:114: parse error before `*' comPrim.h:117: warning: data definition has no type or storage class comPrim.h:121: parse error before `STDCALL' comPrim.h:123: parse error before `*' comPrim.h:124: warning: data definition has no type or storage class comPrim.h:128: parse error before `STDCALL' comPrim.h:130: parse error before `*' comPrim.h:131: warning: data definition has no type or storage class comPrim.h:134: parse error before `primGUIDFromString' comPrim.h:134: parse error before `*' comPrim.h:134: warning: data definition has no type or storage class comPrim.h:135: parse error before `hr' comPrim.h:136: parse error before `primStringFromGUID' comPrim.h:136: parse error before `*' comPrim.h:136: warning: data definition has no type or storage class comPrim.h:137: parse error before `lOCALE_USER_DEFAULT' comPrim.h:137: warning: data definition has no type or storage class comPrim.h:138: parse error before `*' comPrim.h:138: warning: data definition has no type or storage class comPrim.h:149: parse error before `HRESULT' comPrim.h:149: warning: no semicolon at end of struct or union comPrim.h:155: parse error before `*' comPrim.h:155: `ULONG' declared as function returning a function comPrim.h:155: warning: data definition has no type or storage class comPrim.h:157: parse error before `*' comPrim.h:157: `ULONG' declared as function returning a function comPrim.h:157: warning: data definition has no type or storage class comPrim.h:159: parse error before `*' comPrim.h:162: `HRESULT' declared as function returning a function comPrim.h:162: warning: data definition has no type or storage class comPrim.h:164: parse error before `*' comPrim.h:167: `HRESULT' declared as function returning a function comPrim.h:167: warning: data definition has no type or storage class comPrim.h:169: parse error before `*' comPrim.h:170: `HRESULT' declared as function returning a function comPrim.h:170: warning: data definition has no type or storage class comPrim.h:172: parse error before `*' comPrim.h:175: `HRESULT' declared as function returning a function comPrim.h:175: warning: data definition has no type or storage class comPrim.h:177: parse error before `*' comPrim.h:180: `HRESULT' declared as function returning a function comPrim.h:180: warning: data definition has no type or storage class comPrim.h:182: parse error before `*' comPrim.h:185: `HRESULT' declared as function returning a function comPrim.h:185: warning: data definition has no type or storage class comPrim.h:187: parse error before `*' comPrim.h:189: parse error before `LPOLESTR' comPrim.h:191: `HRESULT' declared as function returning a function comPrim.h:191: warning: data definition has no type or storage class comPrim.h:193: parse error before `*' comPrim.h:195: parse error before `LPOLESTR' comPrim.h:197: `HRESULT' declared as function returning a function comPrim.h:197: warning: data definition has no type or storage class comPrim.h:199: parse error before `*' comPrim.h:202: `HRESULT' declared as function returning a function comPrim.h:202: warning: data definition has no type or storage class comPrim.h:204: parse error before `*' comPrim.h:206: parse error before `LPOLESTR' comPrim.h:207: `HRESULT' declared as function returning a function comPrim.h:207: warning: data definition has no type or storage class comPrim.h:208: warning: data definition has no type or storage class comPrim.h:218: parse error before `HRESULT' comPrim.h:218: warning: no semicolon at end of struct or union comPrim.h:224: parse error before `*' comPrim.h:224: `ULONG' declared as function returning a function comPrim.h:224: warning: data definition has no type or storage class comPrim.h:226: parse error before `*' comPrim.h:226: `ULONG' declared as function returning a function comPrim.h:226: warning: data definition has no type or storage class comPrim.h:228: parse error before `*' comPrim.h:230: parse error before `CLSID' comPrim.h:231: `HRESULT' declared as function returning a function comPrim.h:231: warning: data definition has no type or storage class comPrim.h:233: parse error before `*' comPrim.h:233: `HRESULT' declared as function returning a function comPrim.h:233: warning: data definition has no type or storage class comPrim.h:235: parse error before `*' comPrim.h:238: `HRESULT' declared as function returning a function comPrim.h:238: warning: data definition has no type or storage class comPrim.h:240: parse error before `*' comPrim.h:243: parse error before `BOOL' comPrim.h:244: `HRESULT' declared as function returning a function comPrim.h:244: warning: data definition has no type or storage class comPrim.h:246: parse error before `*' comPrim.h:248: parse error before `ULARGE_INTEGER' comPrim.h:249: `HRESULT' declared as function returning a function comPrim.h:249: warning: data definition has no type or storage class comPrim.h:251: parse error before `*' comPrim.h:255: parse error before `*' comPrim.h:257: `HRESULT' declared as function returning a function comPrim.h:257: warning: data definition has no type or storage class comPrim.h:259: parse error before `*' comPrim.h:263: parse error before `*' comPrim.h:265: `HRESULT' declared as function returning a function comPrim.h:265: warning: data definition has no type or storage class comPrim.h:267: parse error before `*' comPrim.h:270: parse error before `DWORD' comPrim.h:273: `HRESULT' declared as function returning a function comPrim.h:273: warning: data definition has no type or storage class comPrim.h:275: parse error before `*' comPrim.h:278: parse error before `BOOL' comPrim.h:280: `HRESULT' declared as function returning a function comPrim.h:280: warning: data definition has no type or storage class comPrim.h:282: parse error before `*' comPrim.h:284: parse error before `BOOL' comPrim.h:286: `HRESULT' declared as function returning a function comPrim.h:286: warning: data definition has no type or storage class comPrim.h:288: parse error before `*' comPrim.h:291: `HRESULT' declared as function returning a function comPrim.h:291: warning: data definition has no type or storage class comPrim.h:293: parse error before `*' comPrim.h:295: parse error before `DWORD' comPrim.h:296: `HRESULT' declared as function returning a function comPrim.h:296: warning: data definition has no type or storage class comPrim.h:298: parse error before `*' comPrim.h:303: `HRESULT' declared as function returning a function comPrim.h:303: warning: data definition has no type or storage class comPrim.h:305: parse error before `*' comPrim.h:309: parse error before `FILETIME' comPrim.h:310: `HRESULT' declared as function returning a function comPrim.h:310: warning: data definition has no type or storage class comPrim.h:312: parse error before `*' comPrim.h:315: `HRESULT' declared as function returning a function comPrim.h:315: warning: data definition has no type or storage class comPrim.h:317: parse error before `*' comPrim.h:321: `HRESULT' declared as function returning a function comPrim.h:321: warning: data definition has no type or storage class comPrim.h:323: parse error before `*' comPrim.h:327: `HRESULT' declared as function returning a function comPrim.h:327: warning: data definition has no type or storage class comPrim.h:329: parse error before `*' comPrim.h:333: parse error before `LPOLESTR' comPrim.h:334: `HRESULT' declared as function returning a function comPrim.h:334: warning: data definition has no type or storage class comPrim.h:336: parse error before `*' comPrim.h:340: parse error before `LPOLESTR' comPrim.h:343: `HRESULT' declared as function returning a function comPrim.h:343: warning: data definition has no type or storage class comPrim.h:345: parse error before `*' comPrim.h:347: parse error before `DWORD' comPrim.h:348: `HRESULT' declared as function returning a function comPrim.h:348: warning: data definition has no type or storage class comPrim.h:349: warning: data definition has no type or storage class comPrim.h:360: parse error before `HRESULT' comPrim.h:360: warning: no semicolon at end of struct or union comPrim.h:366: parse error before `*' comPrim.h:366: `ULONG' declared as function returning a function comPrim.h:366: warning: data definition has no type or storage class comPrim.h:368: parse error before `*' comPrim.h:368: `ULONG' declared as function returning a function comPrim.h:368: warning: data definition has no type or storage class comPrim.h:370: parse error before `*' comPrim.h:372: parse error before `ULONG' comPrim.h:375: `HRESULT' declared as function returning a function comPrim.h:375: warning: data definition has no type or storage class comPrim.h:377: parse error before `*' comPrim.h:379: parse error before `ULONG' comPrim.h:380: `HRESULT' declared as function returning a function comPrim.h:380: warning: data definition has no type or storage class comPrim.h:382: parse error before `*' comPrim.h:382: `HRESULT' declared as function returning a function comPrim.h:382: warning: data definition has no type or storage class comPrim.h:384: parse error before `*' comPrim.h:384: `HRESULT' declared as function returning a function comPrim.h:384: warning: data definition has no type or storage class comPrim.h:386: parse error before `}' comPrim.h:386: warning: data definition has no type or storage class comPrim.h:388: parse error before `IEnumUnknownVtbl' comPrim.h:388: warning: no semicolon at end of struct or union comPrim.h:393: parse error before `CoTaskMemAlloc' comPrim.h:393: warning: data definition has no type or storage class comPrim.h:397: parse error before `CoTaskMemFree' comPrim.h:397: parse error before `pv' comPrim.h:397: warning: data definition has no type or storage class comPrim.h:401: parse error before `STDCALL' comPrim.h:402: parse error before `*' comPrim.h:402: warning: data definition has no type or storage class comPrim.h:404: parse error before `STDCALL' comPrim.h:404: parse error before `*' comPrim.h:404: warning: data definition has no type or storage class comPrim.h:405: parse error before `STDCALL' comPrim.h:405: warning: data definition has no type or storage class comPrim.h:406: parse error before `SysFreeString' comPrim.h:406: parse error before `bstr' comPrim.h:406: warning: data definition has no type or storage class comPrim.h:407: parse error before `STDCALL' comPrim.h:407: parse error before `bstr' comPrim.h:407: warning: data definition has no type or storage class comPrim.h:411: parse error before `STDCALL' comPrim.h:413: parse error before `LPCOLESTR' comPrim.h:415: warning: data definition has no type or storage class comPrim.h:419: parse error before `STDCALL' comPrim.h:420: parse error before `reserved' comPrim.h:420: warning: data definition has no type or storage class comPrim.h:424: parse error before `STDCALL' comPrim.h:424: parse error before `LPCOLESTR' comPrim.h:424: warning: data definition has no type or storage class comPrim.h:432: parse error before `STDCALL' comPrim.h:433: parse error before `*' comPrim.h:433: warning: data definition has no type or storage class comPrim.h:437: parse error before `STDCALL' comPrim.h:439: parse error before `lpsz' comPrim.h:441: warning: data definition has no type or storage class comPrim.h:446: parse error before `STDCALL' comPrim.h:448: parse error before `*' comPrim.h:453: warning: data definition has no type or storage class comPrim.h:457: parse error before `primQueryPathOfRegTypeLib' comPrim.h:458: parse error before `*' comPrim.h:461: warning: data definition has no type or storage class /tmp/ghc6009.hc:38: warning: implicit declaration of function `comInitialize' /tmp/ghc6009.hc:67: warning: implicit declaration of function `comUnInitialize' /tmp/ghc6009.hc:85: warning: implicit declaration of function `messageBox' /tmp/ghc6009.hc:130: warning: implicit declaration of function `primCLSIDFromProgID' /tmp/ghc6009.hc:186: warning: implicit declaration of function `primProgIDFromCLSID' /tmp/ghc6009.hc:243: warning: implicit declaration of function `bindObject' /tmp/ghc6009.hc:310: warning: implicit declaration of function `primComEqual' /tmp/ghc6009.hc:401: warning: implicit declaration of function `primCreateTypeLib' /tmp/ghc6009.hc:466: warning: implicit declaration of function `stringFromBSTR' /tmp/ghc6009.hc:529: warning: implicit declaration of function `lenStringFromBSTR' /tmp/ghc6009.hc:577: warning: implicit declaration of function `bstrFromString' make: *** [ComPrim.o] Error 1
