chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Diagnosing Compile Issues


From: David N Murray
Subject: [Chicken-users] Diagnosing Compile Issues
Date: Tue, 12 Apr 2011 23:01:05 -0400 (EDT)

Hi all,

I have a source file that appears to load fine in csi but won't compile
with csc.  Any advice on how to diagnose what the compiler is
complaining about?

$ csi

CHICKEN
(c)2008-2011 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 4.6.7
macosx-unix-gnu-x86-64 [ 64bit manyargs dload ptables ]
compiled 2011-04-12 on sauron.local (Darwin)

#;1> ,l bars.scm
; loading bars.scm ...
[snip loadings...]
; loading /usr/local/lib/chicken/6/type-checks.so ...
; loading /usr/local/lib/chicken/6/type-errors.so ...
; loading ./tick.so ...
#;1> ,q
$ csc -s bars.scm -j bars

Error: accumulator518: procedure `accumulator518' called with wrong number
of arguments

Error: shell command terminated with non-zero exit status 256:
/usr/local/bin/chicken bars.scm -output-file bars.c -dynamic -feature
chicken-compile-shared -emit-import-library bars
$

I don't have any idea what accumulator518 is, so I can't figure out what
the compiler is complaining about.  I've tried 'csc -kt bars.scm,' but
that's not leaving bars.c behind.  I also tried 'chicken bars.scm
-output-file bars.c' also. Is chicken not emitting bars.c because of the
error?

TIA,
Dave




reply via email to

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