[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Static compile
From: |
Joshua Griffith |
Subject: |
Re: [Chicken-users] Static compile |
Date: |
Wed, 3 Jan 2007 18:50:06 -0600 |
Felix,
I think the problem is with the csv egg. When I don't compile with eval.c, I get the following error:
[debug] application startup...
[debug] heap resized to 500000 bytes
[debug] stack bottom is 0xbffff970.
[debug] entering toplevel toplevel...
[debug] stack resized to 131072 bytes
[debug] entering toplevel library_toplevel...
[debug] entering toplevel extras_toplevel...
[debug] entering toplevel utils_toplevel...
[debug] entering toplevel regex_toplevel...
[debug] entering toplevel srfi_1_toplevel...
[debug] entering toplevel srfi_37_toplevel...
[debug] entering toplevel csv_toplevel...
Error: unbound variable: ##sys#require
Call history:
g19261948
number->string
string-append
string->symbol
g19291951
g19261948
number->string
string-append
string->symbol
g19291951
g19261948
number->string
string-append
string->symbol
g19291951
##sys#require <--
If I compile with eval.c, then I get the macro error because the application is attempting to load csv.scm at runtime and it doesn't have access to macros. I'm not sure why this is occurring.
-Josh
On 1/1/07, felix winkelmann <address@hidden> wrote:
On 12/29/06, Joshua Griffith <address@hidden> wrote:
> Felix,
>
> I followed your instructions and was able to get the program to successfully
> compile. However, upon running the application, I get the following error:
>
> Error: (define-syntax) during expansion of (define-syntax ...) - highlevel
> macros are not supported
>
> I tried using the -require-extension syntax-case option when compiling the
> application with chicken, but I still get the error. Any ideas?
>
Can you run your application with "-:d"? You are probably loading source-code
that uses highlevel macros somewhere (which indicates that your code is
still looking for extensions to load dynamically).
cheers,
felix
- Re: [Chicken-users] Static compile, felix winkelmann, 2007/01/01
- Re: [Chicken-users] Static compile, felix winkelmann, 2007/01/01
- Re: [Chicken-users] Static compile,
Joshua Griffith <=
- Re: [Chicken-users] Static compile, felix winkelmann, 2007/01/04
- Re: [Chicken-users] Static compile, Joshua Griffith, 2007/01/04
- Re: [Chicken-users] Static compile, felix winkelmann, 2007/01/05
- Re: [Chicken-users] Static compile, Joshua Griffith, 2007/01/05
- Re: [Chicken-users] Static compile, felix winkelmann, 2007/01/05