chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] chicken-syntax.scm


From: felix winkelmann
Subject: Re: [Chicken-users] chicken-syntax.scm
Date: Thu, 20 Nov 2008 18:13:43 +0100

On Thu, Nov 20, 2008 at 4:51 PM, Jörg F. Wittenberger
<address@hidden> wrote:
>
> The old, previously working, version did
>
> (include "chicken-more-macros.scm")
>
> together with a
>
> (declare (run-time-macros))
>
> with the intent to make those macros available to eval at runtime.
>
> Now I found the file gone, but chicken-syntax.scm to contains those
> definitions.  Hence I changed to:
>
> (include "chicken-syntax.scm")
>
> The effect:
>
> /usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/crt1.o: In function
> `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
>
> If I don't include chicken-syntax, it compiles (and breaks later because
> the macros are undefined).
>
> Strange enough, isn't it?
>

Indeed. Doing

(require-library chicken-syntax)

should do the job now. You might also check out the manual.


cheers,
felix




reply via email to

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