<div>
            <div>
                <span>Hi Benjohn,<div><br></div><div>Black hole doesn't compile modules using the command line, like Gambit does. There is info about this (which is hopefully up to date) in the README at <a href="https://github.com/pereckerdal/blackhole">https://github.com/pereckerdal/blackhole</a>.</div><div><br></div><div>Best,</div></span>
                <span><br>-- <br>Per Eckerdal<br></span>
                
                <p style="color: #a0a0a0;">On Tuesday, 7 June 2011 at 16:36, Benjohn Barnes wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><br>I've slightly developed the simple Black Hole test in the previous email. Here are the files I'm using:<br><br>- module1.scm<br>(define (hello) (print "Hello") (newline))<br>(hello)<br><br>- module2.scm<br>(define (world) (print "World") (newline))<br>(world)<br><br>- test.scm<br>(import module1)<br>(import module2)<br>(hello)<br>(world)<br>(print "All Done!")<br>(newline)<br><br><br>Here's what happens when I build and then try to run the executable:<br><br><blockquote type="cite"><div>simple-test # ls -l<br>total 24<br>-rw-r--r--@ 1 benjohn  benjohn  51  7 Jun 16:27 module1.scm<br>-rw-r--r--@ 1 benjohn  benjohn  51  7 Jun 16:28 module2.scm<br>-rw-r--r--@ 1 benjohn  benjohn  80  7 Jun 16:29 test.scm<br>simple-test # bsc -exe test.scm <br>Loaded Black Hole.<br>Hello<br>World<br>*** WARNING -- "module1#hello" is not defined,<br>***            referenced in: ("/Users/benjohn/Code/gambit/simple-test/test.c")<br>*** WARNING -- "module2#world" is not defined,<br>***            referenced in: ("/Users/benjohn/Code/gambit/simple-test/test.c")<br>simple-test # ./test<br>*** ERROR IN | test| -- Operator is not a PROCEDURE<br>(#!unbound)<br>simple-test # <br></div></blockquote><br>So, I suppose I have two questions – should I expect to get these "not defined" error on symbols that are in other projects, and why doesn't the executable work? (it's the same error that I get with the executable from the openGL test project in the earlier email after the second invocation of bsc) :-)<br><br>Thanks,<br>        Benjohn<br><br><br>-- <br><a href="mailto:benjohn@fysh.org">benjohn@fysh.org</a> - Twitter @benjohnbarnes - Skype benjohnbarnes - Mobile +44 (0) 7968 851 636<br><br>_______________________________________________<br>Gambit-list mailing list<br><a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br><a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br></div></div></span>
                
                
                
                
                </blockquote>
                
                <div>
                    <br>
                </div>
            </div>
        </div>