Re: Guile-user Digest, Vol 41, Issue 5

2006-04-05 Thread Ido Yehieli
Thanks, that helped. Maybe the code in gnu.org need to be changed? Ido Yehieli [EMAIL PROTECTED] wrote: Send Guile-user mailing list submissions to guile-user@gnu.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.gnu.org/mailman/listinfo/guile-use

Re: compiling and linking a trivial guile example

2006-04-05 Thread dsmich
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 yo

Re: compiling and linking a trivial guile example

2006-04-05 Thread Chusslove Illich
> [: 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 declarati

compiling and linking a trivial guile example

2006-04-05 Thread Ido Yehieli
Hi, I've contemplating embedding guile as a scripting language in one of my c++ applications. I've been reading the reference manual, and tried compiling the first example (from http://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/Linking-Guile-into-Programs.html#Linking-Guile-i