unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* 'Segmentation fault' in example program
@ 2006-05-09 18:37 Frithjof
  2006-05-09 22:10 ` Neil Jerram
  2006-05-09 22:42 ` Kevin Ryde
  0 siblings, 2 replies; 4+ messages in thread
From: Frithjof @ 2006-05-09 18:37 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-09 22:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-09 18:37 'Segmentation fault' in example program Frithjof
2006-05-09 22:10 ` Neil Jerram
2006-05-09 22:28   ` Marius Vollmer
2006-05-09 22:42 ` Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).