[Mapserver-dev] compiling error with current cvs version (maplexer.o)

Nicol Hermann mapserver at geochem.de
Mon Jul 26 16:38:37 EDT 2004


Hi Developers,

i got the following compiling error with the current cvs version on my
testing (sarge) Debian box when i did a simple ./configure -> make

gcc -c -O2  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT  -DUSE_EPPL    
-DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT         -I/usr/local/include               maplexer.c -o
maplexer.o
maplexer.l:17: error: redefinition of `msyylineno'
maplexer.c:335: error: `msyylineno' previously defined here
maplexer.l: In Funktion »lexer_cleanup«:
maplexer.l:25: error: `yy_current_buffer' undeclared (first use in this
function)
maplexer.l:25: error: (Each undeclared identifier is reported only once
maplexer.l:25: error: for each function it appears in.)
make: *** [maplexer.o] Fehler 1

What do i have to change to get ride of this error message?
Here are my environment:

gcc --version
gcc (GCC) 3.3.4 (Debian 1:3.3.4-3)

flex --version
flex 2.5.31

bison --version
bison (GNU Bison) 1.875a

Thank you very much for your help
Nicol

-- 
Nicol Hermann <mapserver at geochem.de>





More information about the mapserver-dev mailing list