Hello, Trying to compile gdal 2.1.1 we are getting the following error:
./configure --with-libtiff=/opt/cots/tiff-4.0.0 --with-geotiff=/opt/cots/geotiff-1.4.0 --prefix=/opt/cots/gdal_v2 make (cd port; make) make[1]: Entering directory `/data2/mvit/gdal-2.1.1/port' ……. cpl_string.cpp: In function 'int CPLVASPrintf(char**, const char*, __va_list_tag*)': cpl_string.cpp:1034: error: declaration of 'int CPLVASPrintf(char**, const char*, __va_list_tag*)' throws different exceptions cpl_string.h:215: error: from previous declaration 'int CPLVASPrintf(char**, const char*, __va_list_tag*) throw ()' cpl_string.cpp: In function 'int CPLvsnprintf(char*, size_t, const char*, __va_list_tag*)': cpl_string.cpp:1124: error: declaration of 'int CPLvsnprintf(char*, size_t, const char*, __va_list_tag*)' throws different exceptions cpl_string.h:195: error: from previous declaration 'int CPLvsnprintf(char*, size_t, const char*, __va_list_tag*) throw ()' cpl_string.cpp: In function 'int CPLsnprintf(char*, size_t, const char*, ...)': cpl_string.cpp:1305: error: declaration of 'int CPLsnprintf(char*, size_t, const char*, ...)' throws different exceptions cpl_string.h:197: error: from previous declaration 'int CPLsnprintf(char*, size_t, const char*, ...) throw ()' our system is Red Hat Enterprise Linux Server release 5.1 (Tikanga) and we have installed previous version of gdal in the machine. We also have tried to install other versions such as 2.2.1, 2.2.2 and 2.2.3 and we got the same error. The vesion that we have installed is 1.8.1. Regards, Jorge
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev