[gdal-dev] build error on latest svn trunk

Even Rouault even.rouault at mines-paris.org
Fri Apr 4 13:59:51 EDT 2008


Tom,

Could you tell me which version of Postgres (client API) you are using ? I've 
looked in Postgres documentation and it seems that 'PQescapeStringConn' was 
introduced in versions >= 7.3. So apparently you're using a version <= 7.2, 
which is very surprising on a recent distribution like FC7.

Even

Le Friday 04 April 2008 18:01:22 Kralidis,Tom [Burlington], vous avez écrit :
> 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
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev




More information about the gdal-dev mailing list