As far as I can tell right now, sendfile is not supported on Mac OS X.
There's no manual page, and it doesn't seem to be in any sytem library.
There is a prototype in sys/socket.h, but it's wrapped in an #ifdef
that's never #defined.
When I last build the HEAD here, I didn't have any problems -
On Mon, Mar 17, 2003 at 11:40:58AM +0100, Wolfgang Thaller wrote:
As far as I can tell right now, sendfile is not supported on Mac OS X.
There's no manual page, and it doesn't seem to be in any sytem library.
There is a prototype in sys/socket.h, but it's wrapped in an #ifdef
that's never
* Kirsten Chevalier [EMAIL PROTECTED] [2003-03-17T01:09-0800]:
configure says:
checking for sendfile in sys/sendfile.h... no
checking for sendfile in sys/socket.h... no
I tried building again just now, just to be sure, and still got the same error
message (Sendfile.hsc:19: Variable not in
Am 17. Mar 2003 um 02:04 CET schrieb Kirsten Chevalier:
On Sun, Mar 16, 2003 at 04:09:31PM +0100, Volker Stolz wrote:
In local.glasgow-haskell-users, you wrote:
Sendfile.hsc:94:
Couldn't match `IO ()' against `Fd - Fd - Int - Int - IO ()'
Should be fixed in CVS now, thanks!
On Mon, Mar 17, 2003 at 11:18:21AM +0100, Volker Stolz wrote:
Am 17. Mar 2003 um 02:04 CET schrieb Kirsten Chevalier:
On Sun, Mar 16, 2003 at 04:09:31PM +0100, Volker Stolz wrote:
In local.glasgow-haskell-users, you wrote:
Sendfile.hsc:94:
Couldn't match `IO ()' against `Fd - Fd
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
In local.glasgow-haskell-users, you wrote:
Sendfile.hsc:94:
Couldn't match `IO ()' against `Fd - Fd - Int - Int - IO ()'
Should be fixed in CVS now, thanks!
--
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
rage against the finite state machine
On Sun, Mar 16, 2003 at 04:09:31PM +0100, Volker Stolz wrote:
In local.glasgow-haskell-users, you wrote:
Sendfile.hsc:94:
Couldn't match `IO ()' against `Fd - Fd - Int - Int - IO ()'
Should be fixed in CVS now, thanks!
Now I'm getting the following error instead: