<div dir="ltr">Hello, <div><br></div><div><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="color:rgb(31,78,121)">Trying to compile gdal 2.1.1 we are getting the following error:</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="color:rgb(31,78,121)"> </span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">./configure
--with-libtiff=/opt/cots/tiff-4.0.0 --with-geotiff=/opt/cots/geotiff-1.4.0
--prefix=/opt/cots/gdal_v2</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">make</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="color:rgb(31,78,121)"> </span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">(cd port; make)</span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">make[1]: Entering directory
`/data2/mvit/gdal-2.1.1/port'</span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">…….</span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">cpl_string.cpp: In function 'int
CPLVASPrintf(char**, const char*, __va_list_tag*)':</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">cpl_string.cpp:1034: error: declaration
of 'int CPLVASPrintf(char**, const char*, __va_list_tag*)' throws different
exceptions</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">cpl_string.h:215: error: from previous
declaration 'int CPLVASPrintf(char**, const char*, __va_list_tag*) throw ()'</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">cpl_string.cpp: In function 'int
CPLvsnprintf(char*, size_t, const char*, __va_list_tag*)':</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">cpl_string.cpp:1124: error: declaration
of 'int CPLvsnprintf(char*, size_t, const char*, __va_list_tag*)' throws
different exceptions</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">cpl_string.h:195: error: from previous
declaration 'int CPLvsnprintf(char*, size_t, const char*, __va_list_tag*) throw
()'</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">cpl_string.cpp: In function 'int
CPLsnprintf(char*, size_t, const char*, ...)':</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">cpl_string.cpp:1305: error: declaration
of 'int CPLsnprintf(char*, size_t, const char*, ...)' throws different
exceptions</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)">cpl_string.h:197: error: from previous
declaration 'int CPLsnprintf(char*, size_t, const char*, ...) throw ()'</span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="font-size:9pt;font-family:Consolas;color:rgb(31,78,121)"> </span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="color:rgb(31,78,121)">our system is Red Hat Enterprise Linux Server release 5.1 (Tikanga) and
we have installed previous version of gdal in the machine. </span><span lang="EN-US"></span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"> </span></p>

<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US" style="color:rgb(31,78,121)">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. </span></p></div><div><br></div><div>Regards,</div><div>Jorge</div></div>