"unbound variable"

From:

Tomas By

Subject:

"unbound variable"

Date:

Sun, 26 Jun 2011 10:00:13 +0200

User-agent:

SquirrelMail/1.4.18

Hi all,
I have an extended Guile interpreter with a C function "get-map",
defined by "scm_c_define_gsubr", that I then try to use in the
(pure Scheme) module "mapdisplay", with the following result:
| mapdisplay.scm:36:12: In expression (get-map wg name):
| mapdisplay.scm:36:12: Unbound variable: get-map
| ABORT: (unbound-variable)
| guile> get-map
| #<primitive-procedure get-map>
| guile>
Any ideas what is happening here? How can I debug it?
/Tomas