Resolving dependencies... Downloading simple-sendfile-0.0.1... Configuring simple-sendfile-0.0.1... Building simple-sendfile-0.0.1... Preprocessing library simple-sendfile-0.0.1... Linux.hsc: In function ‘main’: Linux.hsc:51:5: error: ‘off_t’ undeclared (first use in this function) Linux.hsc:51:5: note: each undeclared identifier is reported only once for each function it appears in Linux.hsc:51:5: error: expected expression before ‘int’ Linux.hsc:51:5: error: expected ‘)’ before numeric constant Linux.hsc:51:5: error: expected ‘)’ before numeric constant Linux.hsc:64:5: error: expected expression before ‘int’ Linux.hsc:64:5: error: expected ‘)’ before numeric constant Linux.hsc:64:5: error: expected ‘)’ before numeric constant Linux.hsc:64:5: error: ‘ssize_t’ undeclared (first use in this function) Linux.hsc:64:5: error: expected expression before ‘int’ Linux.hsc:64:5: error: expected ‘)’ before numeric constant Linux.hsc:64:5: error: expected ‘)’ before numeric constant compiling dist/build/Network/Sendfile/Linux_hsc_make.c failed (exit code 1) command was: /usr/bin/gcc -c dist/build/Network/Sendfile/Linux_hsc_make.c -o dist/build/Network/Sendfile/Linux_hsc_make.o -fno-stack-protector -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -D__GLASGOW_HASKELL__=706 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -DOS_Linux -I/usr/local/lib/x86_64-linux-ghc-7.6.3/network-2.4.1.2/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/unix-2.6.0.1/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/time-1.4.0.1/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/bytestring-0.10.0.2/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/base-4.6.0.1/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/include -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/local/lib/ghc-7.6.3/include/ Failed to install simple-sendfile-0.0.1 cabal: Error: some packages failed to install: simple-sendfile-0.0.1 failed during the building phase. The exception was: ExitFailure 1