svn build error...

Steve Lime Steve.Lime at DNR.STATE.MN.US
Wed Dec 19 12:00:28 EST 2007


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

>>> On 12/19/2007 at 10:39 AM, in message <4769493A.1040807 at pobox.com>, Frank
Warmerdam <warmerdam at POBOX.COM> wrote:
> 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/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
>> 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
> 
> Steve,
> 
> It would appear you are using a fairly antique GDAL and that these functions
> exist only in more modern ones.  I'll take a crack at making them version
> conditional and you can confirm if my changes do the trick.
> 
> Best regards,



More information about the mapserver-dev mailing list