You're right, I've got gambcext.scm, renamed from syntax-case.scm, placed in the top of the Gambit-C tree.
I've got the another error message:
$ ../../gsi/gsi Xlib -e '(load "bounce") (namespace ("" main)) (main)' *** ERROR IN (string)@1.17 -- Namespace prefix must be a string
However, if I removed (renamed) gambcext.scm, it works.
Now I'm little confused about the use of the syntax-case.scm. Is there any detail documentation about the use of syntax-case.scm?
By the way, this demo is very nice!
Regards, Kazuhiro
On 2006/06/18, at 10:58, Marc Feeley wrote:
On 17-Jun-06, at 12:34 PM, Sakai, Kazuhiro wrote:
Hi again.
This time I am getting the following error when I try the X example of the documentation:
$ make examples rm -f bounce.o* ../../gsc/gsc -:="../.." -dynamic -cc-options " -I/usr/X11R6/ include" -ld-options " -lSM -lICE -L/usr/X11R6/lib -lX11" bounce.scm rm -f Xlib.o* ../../gsc/gsc -:="../.." -dynamic -cc-options " -I/usr/X11R6/ include" -ld-options " -lSM -lICE -L/usr/X11R6/lib -lX11" Xlib.scm ../../gsi/gsi Xlib -e '(load "bounce") (main)' *** ERROR IN (string)@1.18 -- Unbound variable: sc#main
This last line is suspicious. It seems that you are in the "sc#" namespace. This is probably because you did an (include "~~/syntax- case.scm") somewhere, probably in the file gambcini.scm or gambcext.scm . Just avoid doing that, or alternatively, type
../../gsi/gsi Xlib -e '(load "bounce") (namespace ("" main)) (main)'
Marc