[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Can't compile source file
From: |
Jeronimo Pellegrini |
Subject: |
Re: [Chicken-users] Can't compile source file |
Date: |
Sun, 23 May 2010 15:10:37 -0300 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
I think I remember having that problem before, and installing a newer
version of SRFI-42 fixed it. Try this:
chicken-status |grep 42
and see if you have version 1.6. If so, then do:
chicken-install srfi-42:1.7
And see if it works then.
J.
On Sat, May 22, 2010 at 11:11:12PM +0400, Bruno Carnazzi wrote:
> Hello,
>
> I'm new to Chicken Scheme and I can't compile the following file :
>
> -- ep001.scm
>
> (require-library srfi-42)
>
> (display (sum-ec (: i 1 1000)
> (or (zero? (remainder i 3)) (zero? (remainder i 5)))
> i))
> (newline)
>
> -- cut here --
>
> I compile it with "csc -R srfi-42 ep001.scm" and it seems ok. But when
> I run the generated executable ep001, it says :
>
> Error: unbound variable: srfi-42#:-dispatch
>
> Can someone help me ?
>
> Thank you,
>
> Bruno.
>
> PS : I use Chicken 4.2.0 :
> csc -version
> (c)2008-2009 The Chicken Team
> (c)2000-2007 Felix L. Winkelmann
> Version 4.2.0
> linux-unix-gnu-x86 [ manyargs dload ptables applyhook ]
> compiled 2009-11-30 on vernadsky (Linux)
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users