chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Can't compile source file


From: Bruno Carnazzi
Subject: [Chicken-users] Can't compile source file
Date: Sat, 22 May 2010 23:11:12 +0400

   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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]