This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Adding files to kawa.lib
- From: Charles Turner <chturne at gmail dot com>
- To: Andrea Bernardini <andrebask at gmail dot com>
- Cc: Kawa mailing list <kawa at sourceware dot org>
- Date: Sat, 10 May 2014 15:02:28 +0100
- Subject: Re: Adding files to kawa.lib
- Authentication-results: sourceware.org; auth=none
- References: <20140510154425 dot 307d3911 at vaio>
Are you declaring the symbols used in your case_syntax file from the
Scheme.java file? That file contains all the global symbol exports.
Kind regards,
Charles.
On 10 May 2014 14:44, Andrea Bernardini <andrebask@gmail.com> wrote:
> I'm trying to build kawa using my case implementation. I noticed that
> definitions in kawa.lib, like those prim_syntax and std_syntax, are
> visible in other packages without an explicit module import. I'd like
> to obtain the same result with my case_syntax file. I added
> case_syntax.scm file in kawa/lib and modified Makefiles (includig *.in,
> *.am) accordingly. I also added the file in build.xml.
> However the case definition is not visible in gnu.kawa.slib, so when I
> try to build kawa it fails:
>
>> (compiling DefineRecordType.scm to gnu.kawa.slib.DefineRecordType)
>> (compiling enums.scm to gnu.kawa.slib.enums)
>> (compiling readtable.scm to gnu.kawa.slib.readtable)
>> (compiling srfi1.scm to gnu.kawa.slib.srfi1)
>> (compiling srfi2.scm to gnu.kawa.slib.srfi2)
>> (compiling conditions.scm to gnu.kawa.slib.conditions)
>> (compiling srfi13.scm to gnu.kawa.slib.srfi13)
>> srfi14.scm:795:3: exception loading 'case' - null
>> srfi14.scm:795:3: exception loading 'case' - null
>> srfi14.scm:806:3: exception loading 'case' - null
>
> Any idea? May it be a problem with make/ant configuration or is there
> just some error in my code?
>
> Thanks in advance
>
> --
> Andrea Bernardini
> Engineering Of Computing Systems student
> Politecnico di Milano, Italy