[gdal-dev] build error on latest svn trunk

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Mon Apr 7 08:28:46 EDT 2008



> -----Original Message-----
> From: gdal-dev-bounces at lists.osgeo.org 
> [mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of 
> Kralidis,Tom [Burlington]
> Sent: 04 April, 2008 12:01 PM
> To: gdal-dev at lists.osgeo.org
> Subject: [gdal-dev] build error on latest svn trunk
> 
> 
> On fc7, with:
> 
> ./configure --with-png --with-libtiff=internal 
> --with-geotiff=internal --with-jpeg --with-xerces 
> --with-geos=no --with-pg=/usr/local/pgsql/bin/pg_config
> --with-mysql=/usr/bin/mysql_config --with-sqlite 
> --with-curl=/usr/bi n/curl-config --with-python --with-expat 
> --with-perl
> 
> ...
> 
> 
> 
> ogrpgtablelayer.cpp: In member function 'virtual OGRErr 
> OGRPGTableLayer::DeleteFeature(long int)':
> ogrpgtablelayer.cpp:706: warning: format '%d' expects type 
> 'int', but argument 4 has type 'long int'
> ogrpgtablelayer.cpp: In static member function 'static 
> CPLString OGRPGTableLayer::EscapeString(PGconn*, const char*, 
> int, const char*)':
> ogrpgtablelayer.cpp:839: error: 'PQescapeStringConn' was not 
> declared in this scope
> make[3]: *** [../o/ogrpgtablelayer.o] Error 1
> make[3]: Leaving directory
> `/home/tkralidi/foss4g/gdal/trunk/gdal/ogr/ogrsf_frmts/pg'
> make[2]: *** [pg-target] Error 2
> make[2]: Leaving directory
> `/home/tkralidi/foss4g/gdal/trunk/gdal/ogr/ogrsf_frmts'
> make[1]: *** [sublibs] Error 2
> make[1]: Leaving directory `/home/tkralidi/foss4g/gdal/trunk/gdal/ogr'
> make: *** [ogr-target] Error 2
> _______________________________________________

Turns out there were some inconsistencies between postgresql libraries,
so I did a clean install, which worked.  Thanks to Even for the help via
email.

..Tom


More information about the gdal-dev mailing list