Hey, 
when trying to compile the example from chapter "2.3.3 Linking
Guile into Programms" in the Reference Manual with gcc 3.3.5 I get the
following:

 gcc -o simple-guile simple-guile.c -lguile -pthread \
 -Wl,-rpath,/usr/local/lib

(gdb) run
Starting program: /home/frithjof/krams/guile/simple-guile 
[Thread debugging using libthread_db enabled]
[New Thread 1076640096 (LWP 3660)]
[New Thread 1087372208 (LWP 3663)]
guile> (* 3 3)
9
guile> (version)
"1.8.0"
guile> (my-hostname)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076640096 (LWP 3660)]
0x40180363 in strlen () from /lib/tls/libc.so.6
(gdb) 

Is my system just not set up correctly or is this a bug in Guile or one in
the example?

Yours,
Frithjof 


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to