svn build error...

Steve Lime Steve.Lime at DNR.STATE.MN.US
Wed Dec 19 13:11:33 EST 2007


Now getting:

g++ -c -O2 -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRLCAT      -DUSE_WMS_LYR   -DUSE_LIBXML2 -DUSE_CURL -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR  -DUSE_ORACLESPATIAL  -DUSE_POSTGIS  -DUSE_GDAL -DUSE_OGR -DUSE_GEOS -DUSE_SDE  -DUSE_PROJ -DUSE_EPPL -DUSE_AGG   -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_ICONV -DUSE_ZLIB   -I/usr/include -I/usr/local/src/agg-2.4/include -I/usr/local/src/agg-2.4/font_freetype -I/usr/include/freetype2  -I/usr/local/include    -I/usr/local/esri/sdeexe91/include -I/usr/local/include -I/usr/local/pgsql/include    -I/usr/include/oracle/10.2.0.1/client -I/usr/rdbms/demo -I/usr/rdbms/public -I/usr/local/include    -I/usr/include/libxml2 mapogr.cpp -o mapogr.o
/usr/local/include/ogr_api.h: In function `int msOGRFileWhichShapes(layerObj*, 
   rectObj, msOGRFileInfo*)':
/usr/local/include/ogr_api.h:214: error: too few arguments to function `void 
   OGR_G_AddPoint(void*, double, double, double)'
mapogr.cpp:1087: error: at this point in file
/usr/local/include/ogr_api.h:214: error: too few arguments to function `void 
   OGR_G_AddPoint(void*, double, double, double)'
mapogr.cpp:1088: error: at this point in file
/usr/local/include/ogr_api.h:214: error: too few arguments to function `void 
   OGR_G_AddPoint(void*, double, double, double)'
mapogr.cpp:1089: error: at this point in file
/usr/local/include/ogr_api.h:214: error: too few arguments to function `void 
   OGR_G_AddPoint(void*, double, double, double)'
mapogr.cpp:1090: error: at this point in file
/usr/local/include/ogr_api.h:214: error: too few arguments to function `void 
   OGR_G_AddPoint(void*, double, double, double)'
mapogr.cpp:1091: error: at this point in file
make: *** [mapogr.o] Error 1

Steve

>>> On 12/19/2007 at 11:48 AM, in message <4769597A.90903 at pobox.com>, Frank
Warmerdam <warmerdam at pobox.com> wrote:
> Steve Lime wrote:
>> Antique is right (v 1.2.6). This is back from when you helped me compile the 
> early releases of the ECW
>> code from ERMapper. I was always scared to touch it after that. Time to 
> upgrade I think but I'll wait
>> to test your checks.
> 
> Steve,
> 
> I have committed some changes that should use older stuff for older versions 
> of
> GDAL.  Could you test build again.  If it is not inconvenient for you, I'd
> be pleased for you to keep using 1.2.6 if only to confirm that mapserver
> continues to work smoothly with it.
> 
> Best regards,



More information about the mapserver-dev mailing list