Selon rkrojero <[email protected]>: > tried installing gdal 1.10.1 > > got this error.. > > ogrmysqldatasource.cpp: In member function 'int > OGRMySQLDataSource::Open(const char*, int, int)': > ogrmysqldatasource.cpp:142: error: 'load_defaults' was not declared in this > scope > ogrmysqldatasource.cpp:157: error: 'free_defaults' was not declared in this > scope
Yes, this is a known issue with recent MySQL. See http://trac.osgeo.org/gdal/ticket/5284 . The fix is in trunk only, so you have to check it out. > make[3]: *** [../o/ogrmysqldatasource.lo] Error 1 > make[3]: Leaving directory > `/home/installers/mapserver_basic_201308/gdal-1.10.1/ogr/ogrsf_frmts/mysql' > make[2]: *** [mysql-target] Error 2 > make[2]: Leaving directory > `/home/installers/mapserver_basic_201308/gdal-1.10.1/ogr/ogrsf_frmts' > make[1]: *** [sublibs] Error 2 > make[1]: Leaving directory > `/home/installers/mapserver_basic_201308/gdal-1.10.1/ogr' > make: *** [ogr-target] Error 2 > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Mysql-Ogr-Error-tp5103949p5104139.html > Sent from the Mapserver - User mailing list archive at Nabble.com. > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
