chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] unbound variable: export


From: felix winkelmann
Subject: Re: [Chicken-users] unbound variable: export
Date: Sat, 21 Oct 2006 21:34:11 +0200

On 10/21/06, Andreas Zwinkau <address@hidden> wrote:
I'm trying to build an egg, but can't get a working shared library:

> csi cackle-base.so
Version 2, Build 3 - linux-unix-gnu-x86 - [ dload ptables ]
(c)2000-2005 Felix L. Winkelmann
; loading cackle-base.so ...
; loading /usr/lib/chicken/http-server.so ...
; loading library regex ...
; loading /usr/lib/chicken/http-utils.so ...
Error: unbound variable: export
> csi
Version 2, Build 3 - linux-unix-gnu-x86 - [ dload ptables ]
(c)2000-2005 Felix L. Winkelmann
#;1> (load-library 'cackle-base)
; loading library cackle-base ...
Error: (load-library) unable to load library
cackle-base
#f

The library cackle-base is a base file, which includes three other
files. All these files have their own "use" and "declare export"
statements. Is that a problem? The unbound variable error seems to
occur, when it comes to the second included file.

How exactly are you using "export"? If you compiled cackle-base.scm
with the "-shared" option, load-library will not work, BTW.


cheers,
felix


--
http://galinha.ucpel.tche.br:8081/blog/blog.ssp




reply via email to

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