[vox-tech] Reg lex and flex compatibilty

Muthumeena M vox-tech@lists.lugod.org
Fri, 4 Jul 2003 10:42:55 +0530


Hi,

I have an input file for lex i.e a  file.l.
In solaris, the lexer gives an output as file.yy.c  which is getting
compiled without any compiler errors.

Whereas when  i try the same in linux redhat 8.0,
the lex command invokes flex 2.5  which also gives a file.yy.c as output.
The problem comes in compiling this file.yy.c in linux.
It gives many undeclared variable error.

This could be bec of the incompatibilty bet lex and flex. Probably some
make file option needs to be modified or added.

Could anyone help me regarding this please?

Thank in advance
Meena