Hdirect with ghc 5.04.3, building problems

Petter Egesund petter.egesund@kunnskapsforlaget.no
Wed, 23 Apr 2003 09:13:29 +0200


Hi, I am trying to build Hdirect with ghc 5.04.3.

The sources are from 

http://galois.com/~sof/hdirect-0.19-src.tar.gz 


I follow the instructions in INSTALL.

make boot works fine, but make lib gives this errs;

make -C lib boot && make -C lib all
make[1]: Entering directory `/cygdrive/h/download/hdirect-0.19/lib'
ghc -M -optdep-f -optdep.depend  -optdep-o -optdepo -cpp
-DBEGIN_GHC_ONLY='-}' -DEND_GHC_ONLY='{-' -DBEGIN_NOT_FOR_GHC='{-'
-DEND_NOT_FOR_GHC='-}' -DELSE_FOR_GHC='-}-}'        -package-name hdirect
-fglasgow-exts -fvia-C -Wall -fno-warn-deprecations  -package lang -static
Pointer.lhs HDirect.lhs  PointerPrim.hs  WideString.hs
make[1]: Leaving directory `/cygdrive/h/download/hdirect-0.19/lib'
make[1]: Entering directory `/cygdrive/h/download/hdirect-0.19/lib'
ghc   -cpp -DBEGIN_GHC_ONLY='-}' -DEND_GHC_ONLY='{-'
-DBEGIN_NOT_FOR_GHC='{-' -DEND_NOT_FOR_GHC='-}' -DELSE_FOR_GHC='-}-}'
-package-name hdirect -fglasgow-exts -fvia-C -Wall -fno-warn-deprecations
-package lang -static -c HDirect.lhs -o HDirect.o -osuf o
 HDirect.lhs:1218: Variable not in scope: `getTag#' make[1]: *** [HDirect.o]
Error 1
make[1]: Leaving directory `/cygdrive/h/download/hdirect-0.19/lib'
make: *** [lib] Error 2

I have this setting in config.mk:

HC=ghc
TARGETPLATFORM=cygwin32

Any clue?


Cheers,

Petter Egesund
Norway

###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/