[mapserver-users] Error compiling Mapserver 6.0.3

Luís de Sousa luis.a.de.sousa at gmail.com
Tue Aug 28 03:11:51 PDT 2012


Hi again,

I'm still getting the same error, please see below.

Thank you,

Luís

$ touch maplexer.c

$ sudo make
gcc -c -g  -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCPY
-DNEED_STRLCAT -DNEED_STRRSTR           -DUSE_WMS_LYR -DUSE_WFS_LYR
-DUSE_SOS_SVR -DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH
-DUSE_WCS_SVR  -DUSE_WMS_SVR   -DUSE_POSTGIS
-DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR -DUSE_GEOS
-DUSE_THREAD -DUSE_PROJ -DUSE_AGG_SVG_SYMBOLS    -DUSE_GD_GIF
-DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT
-DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF -DUSE_PNG
-DUSE_ZLIB -DUSE_FREETYPE   -DDISABLE_CVSID -I/usr/include/
-I/usr/include//freetype2     -I/usr/lib/ -Irenderers/agg/include
-I/usr/lib/   -I/usr/local/include -I/usr/include/postgresql
-I/usr/local/include -I/usr/include   -I/usr/include/libxml2
maplexer.c -o maplexer.o
maplexer.l: In function ‘msyylex’:
maplexer.l:178: error: ‘IN’ undeclared (first use in this function)
maplexer.l:178: error: (Each undeclared identifier is reported only once
maplexer.l:178: error: for each function it appears in.)
make: *** [maplexer.o] Error 1

On 28 August 2012 11:56, thomas bonfort <thomas.bonfort at gmail.com> wrote:
> On Tue, Aug 28, 2012 at 11:28 AM, Luís de Sousa
> <luis.a.de.sousa at gmail.com> wrote:
>> Hi again Thomas,
>>
>> Indeed the file is there. So now 2 questions:
>> a) where do have to copy it to?
> to where you're compiling...
>> b) how do I run make so that it doesn't fire flex?
> `touch` it so it is more recent than maplexer.l
>>


More information about the mapserver-users mailing list