<div dir="ltr"><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Hello, </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">First of all, thanks for you answer!</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I have checked what you say, I list more
steps and additional information:</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p>
<p class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt 0.5in;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">1)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman""> </span></span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">check “cpl_string.h" and only one file is found:</span></p>
<p class="MsoNormal" style="text-indent:0.25in;margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)"> >>
gdal-2.2.1]# find / -name cpl_string.h</span></p>
<p class="MsoNormal" style="text-indent:0.25in;margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)"> /root/gdal-2.2.1/port/cpl_string.h</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p>
<p class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt 0.5in;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman""> </span></span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Compiler version:</span></p>
<p class="MsoNormal" style="text-indent:0.25in;margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)"> </span><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:14.6667px">>> </span><span style="color:rgb(31,73,125);font-family:Consolas;font-size:10pt;text-indent:0.25in">g++
--version</span></p>
<p class="MsoNormal" style="text-indent:0.25in;margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)"> g++ (GCC)
4.1.2 20070626 (Red Hat 4.1.2-14)</span></p>
<p class="MsoNormal" style="text-indent:0.25in;margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> SO:
Red Hat 5.1 </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p>
<p class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt 0.5in;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">3)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman""> </span></span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I have tried with gdal 2.2.1, 2.2.2, 2.2.3 and the
result is the same.</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p>
<p class="gmail-MsoListParagraph" style="margin:0in 0in 0.0001pt 0.5in;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">4)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"Times New Roman""> </span></span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I have tried with “make –j11” and 3 errors are
returned:</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> >> cd /root</span><span lang="EN-US" style="font-size:11pt;font-family:Consolas;color:rgb(31,73,125)">/gdal-2.2.1</span><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"></span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> >> ./configure --with-libtiff=/opt/cots/tiff-4.0.0
--with-geotiff=/opt/cots/geotiff-1.4.0 --prefix=/opt/cots/gdal</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> >> make –j11</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">ERRORS:</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">libtool: compile: gcc
-I/opt/cots/gdal/port -I/opt/cots/gdal/gcore -I/opt/cots/gdal/alg
-I/opt/cots/gdal/ogr
-I/opt/cots/gdal/ogr/o grsf_frmts
-I/opt/cots/gdal/gnm -I/opt/cots/gdal/apps -DHAVE_SSSE3_AT_COMPILE_TIME
-DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall
-Wdeclara tion-after-statement
-Wextra -Winit-self -Wunused-parameter -Wmissing-prototypes -Wmissing-declarations
-Wformat -Wshadow -DGNM_ENAB LED
-I/opt/cots/gdal/port -I/usr/include/netcdf-3 -I/opt/cots/geotiff-1.4.0/include
-I/opt/cots/tiff-4.0.0/include
-DGDAL_COMPILATIO N -c
gxf_proj4.c -fPIC -DPIC -o ../o/.libs/gxf_proj4.o</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">cpl_string.cpp: In function 'int
CPLVASPrintf(char**, const char*, __va_list_tag*)':</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">cpl_string.cpp:1042: error: declaration
of 'int CPLVASPrintf(char**, const char*, __va_list_tag*)' throws different
exceptions</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">cpl_string.h:284: error: from previous
declaration 'int CPLVASPrintf(char**, const char*, __va_list_tag*) throw ()'</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">cpl_string.cpp: In function 'int
CPLvsnprintf(char*, size_t, const char*, __va_list_tag*)':</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">cpl_string.cpp:1134: error: declaration
of 'int CPLvsnprintf(char*, size_t, const char*, __va_list_tag*)' throws
different exception s</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">cpl_string.h:244: error: from previous
declaration 'int CPLvsnprintf(char*, size_t, const char*, __va_list_tag*) throw
()'</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">cpl_string.cpp: In function 'int
CPLsnprintf(char*, size_t, const char*, ...)':</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">cpl_string.cpp:1330: error: declaration
of 'int CPLsnprintf(char*, size_t, const char*, ...)' throws different
exceptions</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">cpl_string.h:253: error: from previous
declaration 'int CPLsnprintf(char*, size_t, const char*, ...) throw ()'</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[1]: *** [cpl_string.lo] Error 1</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[1]: Leaving directory
`/opt/cots/gdal/port'</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make: *** [port-target] Error 2</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make: *** Waiting for unfinished
jobs....</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">/bin/sh /opt/cots/gdal/libtool
--mode=compile --tag=CXX g++ -I/opt/cots/gdal/port </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">/bin/sh /opt/cots/gdal/libtool
--mode=compile --tag=CXX g++ -I/opt/cots/gdal/port -I/opt/cots/gdal/gcore
-I/opt/cots/gdal/alg -I/opt/cots/gdal/ogr -I/opt/cots/gdal/ogr/ogrsf_frmts
-I/opt/cots/gdal/gnm -I/opt/cots/gdal/apps -DHAVE_SSSE3_AT_COMPILE_TIME
-DHAVE_SSE_AT_COMPILE_TIME -g -O2 -Wall -Wextra -Winit-self
-Wunused-parameter -Wformat -Wshadow -Wnon-virtual-dtor -Woverloaded-virtual
-fno-operator-names -I.. -I../.. -I/usr/include
-I/usr/include -DGNM_ENABLED -I/opt/cots/gdal/port -I/usr/include/netcdf-3
-I/opt/cots/geotiff-1.4.0/include -I/opt/cots/tiff-4.0.0/include
-DGDAL_COMPILATION -DHAVE_EXPAT -DHAVE_SQLITE -c -o ../o/gmlhandler.lo
gmlhandler.cpp</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">libtool: compile: g++
-I/opt/cots/gdal/port -I/opt/cots/gdal/gcore -I/opt/cots/gdal/alg
-I/opt/cots/gdal/ogr -I/opt/cots/gdal/ogr/ogrsf_frmts -I/opt/cots/gdal/gnm
-I/opt/cots/gdal/apps -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME
-g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Wshadow
-Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -I.. -I../..
-I/usr/include -I/usr/include -DGNM_ENABLED -I/opt/cots/gdal/port
-I/usr/include/netcdf-3 -I/opt/cots/geotiff-1.4.0/include
-I/opt/cots/tiff-4.0.0/include -DGDAL_COMPILATION -DHAVE_EXPAT -DHAVE_SQLITE -c
gmlhandler.cpp -fPIC -DPIC -o ../o/.libs/gmlhandler.o</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">gmlhandler.cpp:1887: error: expected `}'
at end of input</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[3]: *** [../o/gmlhandler.lo] Error 1</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[3]: Leaving directory
`/opt/cots/gdal/ogr/ogrsf_frmts/gml'</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[2]: *** [gml-target] Error 2</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[2]: *** Waiting for unfinished
jobs....</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">/bin/sh /opt/cots/gdal/libtool --mode=compile
--tag=CXX g++ -I/opt/cots/gdal/port -I/opt/cots/gdal/gcore -I/opt/cots/gdal/alg
-I/opt/cots/gdal/ogr -I/opt/cots/gdal/ogr/ogrsf_frmts -I/opt/cots/gdal/gnm
-I/opt/cots/gdal/apps -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME
-g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Wshadow
-Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -DGNM_ENABLED
-I/opt/cots/gdal/port -I/usr/include/netcdf-3 -I/opt/cots/geotiff-1.4.0/include
-I/opt/cots/tiff-4.0.0/include -DGDAL_COMPILATION -c -o
../o/ehdrdataset.lo ehdrdataset.cpp</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)"> </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">libtool: compile: g++
-I/opt/cots/gdal/port -I/opt/cots/gdal/gcore -I/opt/cots/gdal/alg
-I/opt/cots/gdal/ogr -I/opt/cots/gdal/ogr/ogrsf_frmts -I/opt/cots/gdal/gnm
-I/opt/cots/gdal/apps -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME
-g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Wshadow
-Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -DSQLITE_ENABLED
-I/usr/include/libxml2 -DHAVE_LIBXML2 -I../frmts/gtiff -I../frmts/mem
-I../frmts/vrt -I../ogr -I../ogr/ogrsf_frmts/generic -I../gnm/
-I../gnm/gnm_frmts/ -I/opt/cots/gdal/ogr/ogrsf_frmts/geojson/libjson
-I../ogr/ogrsf_frmts/geojson -DGNM_ENABLED -I/opt/cots/gdal/port
-I/usr/include/netcdf-3 -I/opt/cots/geotiff-1.4.0/include
-I/opt/cots/tiff-4.0.0/include -DGDAL_COMPILATION -DPAM_ENABLED -c
gdalpamproxydb.cpp -fPIC -DPIC -o .libs/gdalpamproxydb.o</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[3]: Leaving directory
`/opt/cots/gdal/ogr/ogrsf_frmts/gmt'</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[2]: Leaving directory
`/opt/cots/gdal/ogr/ogrsf_frmts'</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[1]: *** [sublibs] Error 2</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make[1]: Leaving directory
`/opt/cots/gdal/ogr'</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:10pt;font-family:Consolas;color:rgb(31,73,125)">make: *** [ogr-target] Error 2</span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"> </span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Do you have any other idea to fix this issue? I do not know why this error is appearing, becasuse in the past I compile and install gdal 1.8.X in the same machine without any issue. </span></p>
<p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif"><span lang="EN-US" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Can you help me? Thanks in advance!</span></p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 5 jun. 2019 a las 13:50, Andrew Bell (<<a href="mailto:andrew.bell.ia@gmail.com">andrew.bell.ia@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div>Perhaps I'm missing something, but I'm seeing no throw specifications on my 2.1 source. I'm guessing you're finding header files from a version that is different from the version you're trying to compile. I'd search your system for "cpl_string.h" and compare with the include directories used during compilation.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 5, 2019 at 6:30 AM Jorge Martin <<a href="mailto:jormarfe@gmail.com" target="_blank">jormarfe@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_5226494061648522633gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div>
</blockquote></div>