﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
528	sendfile on Windows mingw-msys	Mario Domenech Goulart	certainty	"Installing sendfile on Windows mingw-msys fails:

{{{
C:\Documents and Settings\a\Desktop\chicken-4.6.3>\chicken\bin\chicken-install.exe sendfile
retrieving ...
resolving alias `kitten-technologies' to: http://chicken.kitten-technologies.co.uk/henrietta.cgi
connecting to host ""chicken.kitten-technologies.co.uk"", port 80 ...
requesting ""/henrietta.cgi?name=sendfile&mode=default"" ...
reading response ...
HTTP/1.1 200 OK
Date: Mon, 14 Mar 2011 14:00:48 GMT
Server: Apache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain
reading chunks ...
reading files ...
  ./sendfile.setup
  ./sendfile.scm
  ./sendfile.html
  ./os-dep.h
  ./sendfile-implementation.c
  ./sendfile.doc.scm
  ./sendfile.meta
 sendfile located at C:\DOCUME~1\a\CONFIG~1\Temp/tempf6e4/sendfile
checking platform for `sendfile' ...
checking dependencies for `sendfile' ...
install order:
(""sendfile"")
installing sendfile: ...
changing current directory to C:\DOCUME~1\a\CONFIG~1\Temp/tempf6e4/sendfile
  ""c:\chicken\bin\csi"" -bnq -setup-mode -e ""(require-library setup-api)"" -e ""(import setup-api)"" -e ""(setup-error-handling)"" -e ""(extension-name-and-version '(\""sendfile\"" \""\""))"" ""C:\DOCUME~1\a\CONFIG~1\Temp\tempf6e4\sendfile\sendfile.setup""  """"c:\chicken\bin\csc"""" -feature compiling-extension -setup-mode    -s -d0 -O2 -j sendfile sendfile.scm sendfile-implementation.c sendfile.c: In function 'f_598':
sendfile.c:2196:4: error: 'MADV_WILLNEED' undeclared (first use in this function)
sendfile.c:2196:4: note: each undeclared identifier is reported only once for each function it appears in

Error: shell command terminated with non-zero exit status 1: """"gcc"" ""sendfile.c"" -o ""sendfile.o"" -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -DPIC -DC_SHARED -I""c:/chicken/include""""

Error: shell command failed with nonzero exit status 1:

  """"c:\chicken\bin\csc"""" -feature compiling-extension -setup-mode    -s -d0 -O2 -j sendfile sendfile.scm sendfile-implementation.c


Error: shell command terminated with nonzero exit code
70
""\""c:\\chicken\\bin\\csi\"" -bnq -setup-mode -e \""(require-library setup-api)\"" -
...
}}}"	defect	closed	major		extensions	4.6.x	fixed	sendfile		
