I am not using -R or require-extension:

  csc hello.scm -debug 2 -v -I lib -DC_ENABLE_PTABLES -DHAVE_GRP_H
  -explicit-use -t -uses library -static

  /usr/bin/chicken hello.scm -output-file hello.c -feature
  chicken-compile-static -quiet -debug 2 -include-path lib -feature
  C_ENABLE_PTABLES -feature HAVE_GRP_H -explicit-use -uses library

  [canonicalized]
  (##core#callunit "library")
  (##core#undefined)
  (##core#undefined)
  (##core#undefined)
  (display '"Hello, world!")
  ((##sys#implicit-exit-handler))
  (##core#undefined)

  cc hello.c lib/library.c lib/runtime.c -o hello -lm
  -DC_ENABLE_PTABLES -DHAVE_GRP_H

  $ ./hello 

  `##sys#error-hook' is not defined - the `library' unit was probably
  not linked with this executable - execution terminated

  provide       <--


"felix winkelmann" <[EMAIL PROTECTED]> writes:

>
> "provide" is provided by the eval unit, which is not linked in. I wonder
> where it comes from, you don't use "require-extension" or "-R"?
>
> Can you compile the file with "-debug 2" ?
>
>
> cheers,
> felix
>


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to