MapServer compilation failed on mapparser.c

thomas bonfort thomas.bonfort at GMAIL.COM
Mon Nov 12 08:58:22 EST 2007


Normand,
those are probably the rejected bits from an svn update. it happens if
mapparser.c was recreated with a different version of bsion. just re
checkout mapparser.c from trunk and all should be well.
thomas

On Nov 12, 2007 2:52 PM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Normand Savard wrote:
> > Just to let you know that MapServer compilation failed on mapparser.c
> > with the following error message.
>
> Norm,
>
> Is the problem in trunk or mapserver-5.0 branch?  Or perhaps it relates
> to a mapserver release tarball?  I checked the mapparser.c in trunk and
> 5.0 branch and neither have a "<<" at line 557 of mapparser.c.
>
> I also wonder if you might have locally recreated mapparser.c from
> mapparser.y with an inappropriate version of bison.
>
> Best regards,
>
>
> > gcc -c -O2 -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCAT  -DUSE_EPPL
> > -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR -DUSE_WFS_LYR
> > -DUSE_WCS_SVR
> > -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
> > -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV   -DUSE_POSTGIS
> > -DUSE_ZLIB  -I/home/testsuite/fgs-mshead/built/gd//include
> > -I/home/testsuite/fgs-mshead/built/proj/include
> > -I/mnt/hdc1/fgs-mshead/built/gdal/include
> > -I/mnt/hdc1/fgs-mshead/built/postgresql/include
> > -I/mnt/hdc1/fgs-mshead/built/curl/include
> > -I/home/testsuite/fgs-mshead/built/geos/include
> > -I/home/testsuite/fgs-mshead/built/libiconv//include    mapparser.c -o
> > mapparser.o
> > mapparser.c:557: error: syntax error before '<<' token
> > mapparser.y: In function `msyyparse':
> > mapparser.y:369: error: syntax error before '<<' token
> > mapparser.c:905: warning: unused variable `yyresult'
> > mapparser.c:1092: error: label `yyacceptlab' used but not defined
> > mapparser.c:1086: error: label `yyerrlab' used but not defined
> > mapparser.c:1035: error: label `yyabortlab' used but not defined
> > mapparser.c:1006: error: label `yyoverflowlab' used but not defined
> > mapparser.c: At top level:
> >
>
>
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | President OSGeo, http://osgeo.org
>



More information about the mapserver-dev mailing list