[plt-scheme] cross-module compile problems

From: LordGeoffrey (lordgeoffrey at optushome.com.au)
Date: Mon Jul 13 06:21:48 EDT 2009

I am trying to isolate a small block of code that replicates my (or the 
compiler's) issue. So far not successfully. I am using version 4.2

I have -- module a requires module b
module b does (provide (all-defined-out))
It runs fine in the interpreter. But fails to compile. It gives the 
following error, listed below. "file-name" is the first exported proc 
that is encountered.

projects/scheme/itemizer/a.scm:28:7: compile: unbound identifier in 
module in: file-name

 === context ===
/home/geoffrey/plt/collects/compiler/embed-unit.ss:366:4: get-code
/home/geoffrey/plt/collects/scheme/private/map.ss:44:11: for-each
/home/geoffrey/plt/collects/mred/private/mrmenu.ss:244:17: command 
method in basic-selectable-menu-item%

Posted on the users mailing list.