Resolving dependencies... 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: ‘CULong’ cannot be marshalled in a foreign call because its data construtor is not in scope Possible fix: import the data constructor to bring it into scope 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