More problems compiling GHC on Mac OS X

Kirsten Chevalier krc@uclink.berkeley.edu
Sun, 16 Mar 2003 01:53:13 -0800


I'm getting the following error message trying to compile the latest version
of GHC on Mac OS 10.2.1, using GHC 5.04.2 installed from binaries:

../../ghc/compiler/ghc-inplace -H16m -O -Iinclude -package-name unix -O -Rghc-timing  -p\
ackage base -split-objs    -c System/Sendfile.hs -o System/Sendfile.o  -ohi System/Sendf\
ile.hi

Sendfile.hsc:94:
    Couldn't match `IO ()' against `Fd -> Fd -> Int -> Int -> IO ()'
        Expected type: IO ()
        Inferred type: Fd -> Fd -> Int -> Int -> IO ()
    In a right-hand side of function `sendfile': squirt
    In the definition of `sendfile':
        sendfile inFd outFd startpos count = squirt
make[2]: *** [System/Sendfile.o] Error 1
make[1]: *** [all] Error 1
make: *** [build] Error 1

-- 
Kirsten Chevalier * krc@uclink.berkeley.edu * Often in error, never in doubt