Welcome to the CHICKEN Scheme pasting service

static-serve static compilation pasted by Kooda on Fri Jan 13 12:53:58 2017

building static-serve
running script /home/kooda/code/static-serve/static-serve.build.sh
executing: "sh /home/kooda/code/static-serve/static-serve.build.sh"
   /home/kooda/coop/chicken-5-new-egg-install//bin/csc -emit-link-file /home/kooda/code/static-serve/static-serve.link -static -setup-mode -I /home/kooda/code/static-serve -C -I/home/kooda/code/static-serve /home/kooda/code/static-serve/static-serve.scm -o /home/kooda/code/static-serve/static-serve
/home/kooda/coop/current/lib/chicken/8/spiffy.o: In function `f_1400':
spiffy.c:(.text+0x31e2): undefined reference to `C_posix_2dgroups_toplevel'
/home/kooda/coop/current/lib/chicken/8/spiffy.o: In function `f_1412':
spiffy.c:(.text+0x3546): undefined reference to `C_srfi_2d1_toplevel'
/home/kooda/coop/current/lib/chicken/8/spiffy.o: In function `f_1415':
spiffy.c:(.text+0x361f): undefined reference to `C_srfi_2d13_toplevel'
/home/kooda/coop/current/lib/chicken/8/spiffy.o: In function `f_1418':
spiffy.c:(.text+0x36f8): undefined reference to `C_srfi_2d14_toplevel'
/home/kooda/coop/current/lib/chicken/8/spiffy.o: In function `f_1421':
spiffy.c:(.text+0x37d1): undefined reference to `C_srfi_2d18_toplevel'
/home/kooda/coop/current/lib/chicken/8/spiffy.o: In function `f_1433':
spiffy.c:(.text+0x3b35): undefined reference to `C_uri_2dcommon_toplevel'
/home/kooda/coop/current/lib/chicken/8/spiffy.o: In function `f_1436':
spiffy.c:(.text+0x3c0e): undefined reference to `C_sendfile_toplevel'
/home/kooda/coop/current/lib/chicken/8/spiffy.o: In function `f_1439':
spiffy.c:(.text+0x3ce7): undefined reference to `C_intarweb_toplevel'
/home/kooda/coop/current/lib/chicken/8/simple-directory-handler.o: In function `f_472':
simple-directory-handler.c:(.text+0xbb2): undefined reference to `C_intarweb_toplevel'
/home/kooda/coop/current/lib/chicken/8/simple-directory-handler.o: In function `f_481':
simple-directory-handler.c:(.text+0xe3d): undefined reference to `C_srfi_2d1_toplevel'
collect2: error: ld returned 1 exit status

Error: shell command terminated with non-zero exit status 256: 'gcc' '/home/kooda/code/static-serve/static-serve.o' '/home/kooda/coop/current/lib/chicken/8/spiffy.o' '/home/kooda/coop/current/lib/chicken/8/simple-directory-handler.o' -o '/home/kooda/code/static-serve/static-serve' -L/home/kooda/coop/chicken-5-new-egg-install//lib  -Wl,-R'/home/kooda/coop/chicken-5-new-egg-install/lib' /home/kooda/coop/chicken-5-new-egg-install//lib/libchicken.a -lm -ldl

Error: shell command terminated with nonzero exit code
256
"sh /home/kooda/code/static-serve/static-serve.build.sh"

collect-linked-objects added by Bunny351 on Fri Jan 13 13:15:21 2017


(define (collect-linked-objects object-files)
  (let loop ((os object-files) (os2 object-files))
    (if (null? os)
        (delete-duplicates (reverse os2) string=?)
        (let* ((o (car os))
               (lfile (pathname-replace-extension o "link"))
               (newos (if (file-exists? lfile)
                          (with-input-from-file lfile read) 
                          '())))
          (loop (append newos (cdr os)) (append newos os2))))))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
What's the one-argument procedure to check if a list is empty?
Visually impaired? Let me spell it for you (wav file) download WAV