[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "unbound variable"

From: nalaginrut
Subject: Re: "unbound variable"
Date: Mon, 27 Jun 2011 11:40:04 +0800

> 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

I think you need to import this symbol in your module, in this case, I
think it's mapdisplay.scm. If get-map's not within a module, you'd need
to get this symbol with "dynamic-link" and it's friends.

GNU Powered it
GPL Protected it
GOD Blessed it

HFG - NalaGinrut

--hacker key--
---end key---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]