Expected type: Ptr Base.CFLock Actual type: Ptr CFLock ? In the third argument of ?Base.c_fcntl_lock?, namely ?p_flock? In the second argument of ?throwErrnoIfMinus1_?, namely ?(Base.c_fcntl_lock fd (14) p_flock)? In a stmt of a 'do' block: throwErrnoIfMinus1_ "getLock" (Base.c_fcntl_lock fd (14) p_flock) libraries/unix/System/Posix/IO/Common.hsc:364:61: error: ? Couldn't match type ?()? with ?Base.CFLock? Expected type: Ptr Base.CFLock Actual type: Ptr CFLock ? In the third argument of ?Base.c_fcntl_lock?, namely ?p_flock? In the second argument of ?throwErrnoIfMinus1_?, namely ?(Base.c_fcntl_lock fd (6) p_flock)? In the expression: throwErrnoIfMinus1_ "setLock" (Base.c_fcntl_lock fd (6) p_flock) libraries/unix/System/Posix/IO/Common.hsc:371:35: error: ? Couldn't match type ?()? with ?Base.CFLock? Expected type: Ptr Base.CFLock Actual type: Ptr CFLock ? In the third argument of ?Base.c_fcntl_lock?, namely ?p_flock? In the second argument of ?throwErrnoIfMinus1_?, namely ?(Base.c_fcntl_lock fd (7) p_flock)? In the expression: throwErrnoIfMinus1_ "waitToSetLock" (Base.c_fcntl_lock fd (7) p_flock) gmake[1]: *** [libraries/unix/dist-install/build/System/Posix/IO/Common.o] Error 1 gmake: *** [all] Error 2