svn build error...

Daniel Morissette dmorissette at MAPGEARS.COM
Wed Dec 19 11:38:46 EST 2007

Which version of GDAL/OGR are you using? I have tested with GDAL 1.4.3 
and GDAL 1.5.0 (anything newer than 1.5.0 beta2) and those two work. It 
is possible that the early 1.5.0 betas may not work.


Steve Lime wrote:
> I tried rebuilding everything, new configure, etc... An error keeps popping up:
> 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/ -I/usr/rdbms/demo -I/usr/rdbms/public -I/usr/local/include    -I/usr/include/libxml2 mapogr.cpp -o mapogr.o
> mapogr.cpp: In function `int msOGRFileWhichShapes(layerObj*, rectObj, 
>    msOGRFileInfo*)':
> mapogr.cpp:1080: error: `OGR_G_AddPoint_2D' undeclared (first use this 
>    function)
> mapogr.cpp:1080: error: (Each undeclared identifier is reported only once for 
>    each function it appears in.)
> mapogr.cpp: In function `void msOGRCleanup()':
> mapogr.cpp:2685: error: `OGRCleanupAll' undeclared (first use this function)
> make: *** [mapogr.o] Error 1
> Ideas?

Daniel Morissette

More information about the mapserver-dev mailing list