chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] chicken-install AD


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] chicken-install AD
Date: Thu, 04 Aug 2016 17:42:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Hi André,

On Thu, 4 Aug 2016 12:31:22 -0300 André Macedo <address@hidden> wrote:

> Sorry for the probably dumb question, but I'm a bit new to chicken.

Welcome!  The issue you report is not a dumb question at all.

> I was trying to install the egg AD for chicken Version 4.11.0 (rev
> ce980c4) in linux-unix-gnu-x86-64 but I got the following output:
>
> ""
> installing AD:1.5 ...
> changing current directory to /tmp/temp309d.6698/AD
> '/usr/local/bin/csi' -bnq -setup-mode -e "(require-library setup-api)"
> -e "(import setup-api)" -e "(setup-error-handling)" -e "
> (extension-name-and-version '(\"AD\" \"1.5\"))" 'AD.setup'
> '/usr/local/bin/csc' -feature compiling-extension -setup-mode AD.scm -
> shared -optimize-leaf-routines -inline -output-file AD.so -
> emit-import-library AD -emit-inline-file AD.inline -emit-type-file
> AD.types -O3 -keep-shadowed-macros -d2 -C -Wall -C -
> Wno-unused-but-set-variable -C -Wno-unused-variable
>
> Warning: excluded identifier doesn't exist in module scheme: finite?
> AD.c: In function ‘barf’:
> AD.c:54:44: error: macro "C_do_apply" passed 3 arguments, but takes
> just 2
> C_do_apply(c + 2, err, C_SCHEME_UNDEFINED); 
> ^
> AD.c:54:3: error: ‘C_do_apply’ undeclared (first use in this function)
> C_do_apply(c + 2, err, C_SCHEME_UNDEFINED); 
> ^
> AD.c:54:3: note: each undeclared identifier is reported only once for
> each function it appears in
>
> Error: shell command terminated with non-zero exit status 256: 'gcc'
> 'AD.c' -o 'AD.o' -c -fno-strict-aliasing -fwrapv -
> DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os -fomit-frame-pointer -
> fPIC -DPIC -DC_SHARED -Wall -Wno-unused-but-set-variable -
> Wno-unused-variable -I/usr/local/include/chicken
>
> Error: shell command failed with nonzero exit status 256:
>
> '/usr/local/bin/csc' -feature compiling-extension -setup-mode AD.scm -
> shared -optimize-leaf-routines -inline -output-file AD.so -
> emit-import-library AD -emit-inline-file AD.inline -emit-type-file
> AD.types -O3 -keep-shadowed-macros -d2 -C -Wall -C -
> Wno-unused-but-set-variable -C -Wno-unused-variable
>
> Error: shell command terminated with nonzero exit code
> 17920
> "'/usr/local/bin/csi' -bnq -setup-mode -e \"(require-library
> setup-api)\" -e \"(...
> ""
>
> I guess it was working on 4.9 and before, any ideas of how to solve
> this?

Yeah, this egg is broken (http://bugs.call-cc.org/ticket/1265) for the
latest CHICKEN release.  The problem is that the CHICKEN internals have
changed, and the egg has not been updated.

As far as I can see, the only solution would be fixing the egg.

All the best.
Mario
-- 
http://parenteses.org/mario



reply via email to

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