Summary

sendfile build failure on Windows/cygwin

Metadata

Description

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)

Changes and comments

[2010-09-23 08:35:21 UTC] certainty wrote:

Thanks for reporting it. I'll have a look at this.

[2010-10-05 13:04:22 UTC] mario changed status from new to closed

[2010-10-05 13:04:22 UTC] mario set resolution to fixed

[2010-10-05 13:04:22 UTC] mario wrote:

The trunk code works fine on Windows and on Linux. Thanks for fixing it. I'm closing this ticket.

[2011-06-01 09:00:41 UTC] felix changed milestone from 4.7.0 to 4.8.0

[2011-06-01 09:00:41 UTC] felix wrote:

Milestone 4.7.0 deleted

[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0

[2012-09-24 21:47:48 UTC] felix wrote:

Milestone 4.8.0 deleted