when compiled with ../chicken/chicken -explicit-use test.scm $ ./hello [panic] `##sys#error-hook' is not defined - the `library' unit was probably not linked with this executable - execution terminated test.scm:6: fac test.scm:4: fac test.scm:4: fac test.scm:4: fac test.scm:4: fac test.scm:4: fac test.scm:4: fac test.scm:4: fac test.scm:4: fac test.scm:4: fac test.scm:4: fac test.scm:6: write <-- ----------------------------------------------- $ ../chicken/chicken test.scm alendvai@lelap-debian:~/workspace/castles$ gcc -static -fomit-frame-pointer runtime.c library.c eval.c extras.c expand.c test.c -o hello -lm /tmp/ccveKTmO.o: In function `C_extras_toplevel': extras.c:(.text+0x2b5c): undefined reference to `C_data_2dstructures_toplevel' /tmp/ccveKTmO.o: In function `f_762': extras.c:(.text+0x2c4f): undefined reference to `C_ports_toplevel' collect2: ld returned 1 exit status