chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Sendfile error on Red Hat 5.5 64 Bit


From: Vok Vojwo
Subject: [Chicken-users] Sendfile error on Red Hat 5.5 64 Bit
Date: Wed, 30 Nov 2011 17:31:20 +0100

I was able to compile sendfile on Red Hat 5.5 32 Bit but it fails on
64 Bit with the following error:

# chicken-install -t local -l . sendfile
retrieving ...
 deleting stale file `sendfile.import.so' from local build directory
 deleting stale file `sendfile.so' from local build directory
 sendfile located at /tmp/./sendfile
checking platform for `sendfile' ...
checking dependencies for `sendfile' ...
install order:
("sendfile")
installing sendfile: ...
changing current directory to /tmp/./sendfile
  /usr/local/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/sendfile/sendfile.setup
  /usr/local/bin/csc -feature compiling-extension -setup-mode    -s
-O2 -d0 -D sendfile -D mmap -D posix-fadvise -D madvise sendfile.scm
-j sendfile
sendfile.c: In function `stub205':
sendfile.c:77: error: `POSIX_FADV_SEQUENTIAL' undeclared (first use in
this function)
sendfile.c:77: error: (Each undeclared identifier is reported only once
sendfile.c:77: error: for each function it appears in.)
sendfile.c:77: error: `POSIX_FADV_NOREUSE' undeclared (first use in
this function)

Error: shell command terminated with non-zero exit status 256: gcc
sendfile.c -o sendfile.o -c  -fno-strict-aliasing -fwrapv
-DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer
-fPIC -DPIC -DC_SHARED -I"/usr/local/include/chicken"

Error: shell command failed with nonzero exit status 256:

  /usr/local/bin/csc -feature compiling-extension -setup-mode    -s
-O2 -d0 -D sendfile -D mmap -D posix-fadvise -D madvise sendfile.scm
-j sendfile


Error: shell command terminated with nonzero exit code
17920
"/usr/local/bin/csi -bnq -setup-mode -e \"(require-library
setup-api)\" -e \"(im...

Any idea what is going wrong there?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]