[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] Pb with flex during compilation (debian)
From: |
Matthias Kramm |
Subject: |
Re: [Swftools-common] Pb with flex during compilation (debian) |
Date: |
Sun, 9 May 2004 19:37:27 +0200 |
User-agent: |
Mutt/1.5.4i |
On Sun, May 09, 2004 at 07:16:44PM +0200, Jean-Michel Sarlat wrote:
> > Does it work if you change "-Bs" to "-B -s" in
> > lib/action/Makefile.in and lib/action/Makefile?
>
> I did it and I obtain:
>
> turn-type -O -fomit-frame-pointer parser.yy.c -o parser.o
> parser.lex: In function `handleInclude':
> parser.lex:154: error: `INITIAL' undeclared (first use in this function)
> parser.lex:154: error: (Each undeclared identifier is reported only once
> parser.lex:154: error: for each function it appears in.)
> parser.lex: In function `generateTokens':
> parser.lex:257: error: `yy_current_buffer' undeclared (first use in this
> function)
Ok, seems you're out of luck with that flex version. :(
However, as there haven't been any changes to lib/action/ since 0.5.1, you
should be able to take the files
lex.swf4.c
lex.swf5.c,
swf4compiler.tab.c
swf4compiler.tab.h
swf5compiler.tab.c
swf5compiler.tab.h
out of swftools-0.5.1.tar.gz and copy them into lib/action of your CVS version.
(You should also touch them so they're not older than parser.lex).
That should make it work for now.
Greetings
Matthias