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.


>>> On 12/19/2007 at 10:39 AM, in message <4769493A.1040807 at>, 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   
> -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
> 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