---- Chusslove Illich <[EMAIL PROTECTED]> wrote: 
> > [: Ido Yehieli :]
> > return scm_str2string (getenv ("HOSTNAME"));
> > [...]
> > /tmp/ccerLXy4.o: In function `my_hostname':simple-guile.c:(.text+0x16):
> > undefined reference to `scm_str2string'
> 
> scm_str2string doesn't seem to exist. If you use -Wall when compiling, 
> it'll warn about implicit declaration.
> 
> Use scm_makfrom0str for deep copy, or scm_take0str for shallow copy (this 
> all Guile 1.6, don't know about 1.8).

Guile 1.8 uses scm_from_locale_string.

-Dale



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to