Suggested correction to sisc/libs/srfi/srfi-8.scm
Ben Goetter <[email protected]> Thu, 11 Mar 2010 11:50:00 -0800
| Newsgroups | gmane.comp.java.sisc.devel |
|---|---|
| Message-ID | <[email protected]> |
From a clean cvs enlistment in sisc, the results of "ant" at the
topmost level. Everything proceeds swimmingly until it reaches the
srfi-scc target:
srfi-scc:
[mkdir] Created dir: C:\Documents and Settings\Ben Goetter\My
Documents\cvs\sisc\sisc\tmp\sisc\libs\srfi
[java] Error in load: evaluation error at file:C:/Documents and
Settings/Ben Goetter/My
Documents/cvs/sisc/sisc/src/sisc/libs/srfi/srfi-scc.scm:8:50
[java] ---------------------------
[java] To enable more detailed stack tracing, set the dynamic
parameter max-stack-trace-depth to a non-zero value,e.g. 16.
[java] ---------------------------
[java] Some stack trace entries may have been suppressed. To see
all entries set the dynamic parameter
suppressed-stack-trace-source-kinds to '().
[java] ===========================
[java] Caused by Error: import from unknown module srfi-8
[java] Java Result: 1
[copy] Copying 1 file to C:\Documents and Settings\Ben Goetter\My
Documents\cvs\sisc\sisc\tmp\sisc\libs
[jar] Building jar: C:\Documents and Settings\Ben Goetter\My
Documents\cvs\sisc\sisc\sisc-lib.jar
The error arises during the compile-file of sisc/libs/srfi/srfi-1.scm.
That file calls require-library on 'sisc/libs/srfi/srfi-8, then later
calls (import srfi-8). The latter import is raising the "unknown
module" error, because sisc/libs/srfi/srfi-8.scm, unlike every other
file in this directory, never calls add-feature. Hence the srfi-8
module identifier is never created.
To correct this, replace sisc/libs/srfi/srfi-8.scm with the following:
(module srfi-8 (receive)
(include "../../modules/srfi/srfi-8.scm")
(add-feature 'srfi-8))
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev