chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Distributing compiled C files


From: Mario Domenech Goulart
Subject: Re: [Chicken-users] Distributing compiled C files
Date: 28 Dec 2007 09:50:17 -0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Hi Ivan,

On Fri, 28 Dec 2007 20:38:17 +0900 Ivan Raikov <address@hidden> wrote:

> I am not using -R or require-extension:
> 
>   csc hello.scm -debug 2 -v -I lib -DC_ENABLE_PTABLES -DHAVE_GRP_H
>   -explicit-use -t -uses library -static
> 
>   /usr/bin/chicken hello.scm -output-file hello.c -feature
>   chicken-compile-static -quiet -debug 2 -include-path lib -feature
>   C_ENABLE_PTABLES -feature HAVE_GRP_H -explicit-use -uses library
> 
>   [canonicalized]
>   (##core#callunit "library")
>   (##core#undefined)
>   (##core#undefined)
>   (##core#undefined)
>   (display '"Hello, world!")
>   ((##sys#implicit-exit-handler))
>   (##core#undefined)
> 
>   cc hello.c lib/library.c lib/runtime.c -o hello -lm
>   -DC_ENABLE_PTABLES -DHAVE_GRP_H
> 
>   $ ./hello 
> 
>   `##sys#error-hook' is not defined - the `library' unit was probably
>   not linked with this executable - execution terminated
> 
>   provide     <--

Aren't you unintentionaly using an old libchicken.so?  I remember
seeing this kind of error some months ago (see the end of
http://chicken.wiki.br/automated-builds/2007/08/20/chicken-automated-build.log).

Best wishes,
Mario




reply via email to

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