[gambit-list] Hello World segfaults on me
Stephane Le Cornec
coleste at videotron.ca
Sun Feb 3 13:48:30 EST 2008
At 11:33 AM -0300 2/3/08, Francisco Listas wrote:
>I am running Ubuntu 7.10, and I've just installed (using synaptic) Gambit-C.
>To try my installation, I just wrote (in file hello.scm) this hello
>world program:
>
>(display "Hello World!\n")
>
>Running:
> gsi hello.scm
>
>Produces the expected output.
>
>Running:
> gsc hello.scm
>
>Produces hello.o1 executable file, but when I run it, a segfault occurs:
> ./hello.o1
>Segmentation fault (core dumped)
Try: gsi hello.o1
If it works, you prolly haven't linked against Gambit. You only
created a library, not an executable.
--
Stephane!
coleste at videotron.ca (Stephane Le Cornec)
+------------------- Made with recycled electrons. --------------------+
| #include <disclaimer.h> Kebekkujin desu. |
+----------------------------------------------------------------------+
More information about the Gambit-list
mailing list