Resolving dependencies... Downloading highWaterMark-0.1.1... Configuring highWaterMark-0.1.1... Building highWaterMark-0.1.1... Preprocessing executable 'highWaterMark' for highWaterMark-0.1.1... HighWaterMark.hs:1:12: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 2] Compiling HighWaterMark ( HighWaterMark.hs, dist/build/highWaterMark/highWaterMark-tmp/HighWaterMark.o ) HighWaterMark.hs:21:1: Unacceptable result type in foreign declaration: IO CULong When checking declaration: foreign import ccall safe "static get_mblocks_allocated" getMBlocksAllocated :: IO CULong Failed to install highWaterMark-0.1.1 cabal: Error: some packages failed to install: highWaterMark-0.1.1 failed during the building phase. The exception was: ExitFailure 1