Opened 14 years ago
Closed 13 years ago
#528 closed defect (fixed)
sendfile on Windows mingw-msys
Reported by: | Mario Domenech Goulart | Owned by: | certainty |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | extensions | Version: | 4.6.x |
Keywords: | sendfile | Cc: | |
Estimated difficulty: |
Description
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)\" - ...
Change History (6)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Milestone: | 4.7.0 |
---|
comment:3 follow-up: 4 Changed 14 years ago by
I committed a change to trunk (the parameter-name was incorrect). Please try again, if possible.
comment:4 follow-up: 5 Changed 14 years ago by
Replying to felix:
I committed a change to trunk (the parameter-name was incorrect). Please try again, if possible.
Hi Felix.
I can't find the changes on svn. Are you sure the changes have actually been checked in? It is quite possible I'm missing something, though.
comment:5 Changed 14 years ago by
Replying to mario:
Replying to felix:
I committed a change to trunk (the parameter-name was incorrect). Please try again, if possible.
Hi Felix.
I can't find the changes on svn. Are you sure the changes have actually been checked in? It is quite possible I'm missing something, though.
Hi Mario,
i have updated tip on bitbucket (https://bitbucket.org/certainty/sendfile) please clone it and try again.
comment:6 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This should be fixed by now.
The error showed in the previous comment was from the version available via chicken-install. I've tried the trunk code and got the following error: