Opened 6 years ago

Closed 5 years ago

#1084 closed defect (fixed)

r7rs library include path trouble

Reported by: sethalves Owned by: evhan
Priority: major Milestone: someday
Component: extensions Version: 4.8.x
Keywords: r7rs Cc:
Estimated difficulty:

Description

Attached is a tarball with 3 small source files in it. They are a top-level file and two r7rs library files. csi is able to run this without issue. csc complains about one of the library files, and the resulting executable doesn't work.

ponk% find . -type f
./aaa.scm
./seth/bbb.sld
./seth/ccc.sld
./Makefile

ponk% make
csc aaa.scm -o aaa

Warning: extension `seth.ccc' is currently not installed

ponk% ./aaa

Error: (require) cannot load extension: seth.ccc

Call history:

aaa.scm:6: ##sys#require
seth/ccc.sld:1: register-feature!
seth/ccc.sld:1: ##sys#require
seth/bbb.sld:1: register-feature!
seth/bbb.sld:1: ##sys#require
seth/bbb.sld:1: ##sys#require <--

ponk% ./aaa.scm
a-func
b-func
c-func

ponk%

Attachments (1)

chicken-r7rs-compile-test.tar.gz (574 bytes) - added by sethalves 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by sethalves

comment:1 Changed 5 years ago by evhan

  • Resolution set to fixed
  • Status changed from new to closed

Support for this pattern (i.e. importing libraries defined by included files) has been added in the r7rs trunk.

Note: See TracTickets for help on using tickets.