[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Segmentation fault
From: |
Mario Domenech Goulart |
Subject: |
Re: [Chicken-users] Segmentation fault |
Date: |
Tue, 09 Jul 2013 17:01:54 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Hi Frank,
Have you removed the declarations from both files?
I mean (declare (uses shuffle)) from exercise.scm and
(declare (unit shuffle)) from shuffle.scm.
You can just remove them and add (include "shuffle") to exercise.scm.
Best wishes.
Mario
--
http://parenteses.org/mario
On Tue, 9 Jul 2013 10:17:22 -0400 Frank <address@hidden> wrote:
> So, I tried this approach with csi and it worked fine. With csc,
> however, I received a "Undefined symbols: '_main', referenced from
> start in crt.10.5.o; ld: symbol(s) not found" message. I am not sure
> what to make of this diagnostic. As a guess does it mean a Chicken
> library is missing?
>
> On Monday, July 8, 2013, Mario Domenech Goulart wrote:
>
> Hi Frank,
>
> On Mon, 8 Jul 2013 18:51:59 -0400 Frank <address@hidden>
> wrote:
>
> > Of course. ;-) Here are the links:
> >
> http://paste.call-cc.org/paste?id=2559393a36aeda589fa22510a8d28839a8450e26
> > and
> >
> http://paste.call-cc.org/paste?id=98b0d22cdfb9f773e056be1d6575b9896a1d0808
>
> Can't you just include shuffle into exercise?
>
> Like
>
> (include "shuffle")
>
> in exercise.scm (and remove (declare (unit shuffle)) from
> shuffle.scm).
>
> Best wishes.
> Mario
> --
> http://parenteses.org/mario
>