﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
380	sendfile build failure on Windows/cygwin	Mario Domenech Goulart	certainty	"Here's the log/error message:

{{{
$ /home/mario/local/master/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: Sat, 11 Sep 2010 18:30:53 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 /tmp/temp7ffd/sendfile
checking platform for `sendfile' ...
checking dependencies for `sendfile' ...
install order:
(""sendfile"")
installing sendfile: ...
changing current directory to /tmp/temp7ffd/sendfile
  /home/mario/local/master/bin/csi -bnq -setup-mode -e ""(require-library setup-api)"" -e ""(import setup-api)"" -e ""(setup-error-handling)"" -e ""(extension-name-and-version '(\""sendfile\"" \""\""))"" /tmp/temp7ffd/sendfile/sendfile.setup
  /home/mario/local/master/bin/csc -feature compiling-extension -setup-mode    -s -d0 -O2 -j sendfile sendfile.scm sendfile-implementation.c
sendfile.c: In function ‘stub17’:
sendfile.c:84: warning: implicit declaration of function ‘madvise’
sendfile.o: In function `stub17':
/tmp/temp7ffd/sendfile/sendfile.c:84: undefined reference to `_madvise'
collect2: ld returned 1 exit status

Error: shell command terminated with non-zero exit status 256: gcc sendfile.o sendfile-implementation.o -o sendfile.so -shared -L""/home/mario/local/master/lib"" -lchicken -lm 

Error: shell command failed with nonzero exit status 256:

  /home/mario/local/master/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
17920
""/home/mario/local/master/bin/csi -bnq -setup-mode -e \""(require-library setup-a...
}}}

Here's the chicken I'm using:

{{{
$ /home/mario/local/master/bin/chicken -version
(c)2008-2010 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.6.0rc1 
windows-cygwin-x86 [ manyargs dload ptables ]
compiled 2010-08-22 on virtualbox (CYGWIN_NT-5.1)
}}}"	defect	closed	major	4.9.0	extensions	4.6.x	fixed	sendfile		
