<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>I know it crazy, but any pointers would be great.</p>
<p>I am trying to build GDAL 2.1 using Oracle Developer Studio 12.5
(formally Sun Studio12) on Solaris 11, but it fails at first CC.</p>
<p><tt>./configure CC='cc -m64' CXX='CC -m64' CPPFLAGS=-m64
CXXFLAGS=-m64 --without-libtool</tt></p>
<p><tt>GDAL is now configured for x86_64-pc-solaris2.11</tt><tt><br>
</tt><tt><br>
</tt><tt> Installation directory: /usr/local</tt><tt><br>
</tt><tt> C compiler: cc -m64 -g -fPIC</tt><tt><br>
</tt><tt> C++ compiler: CC -m64 -m64 -fPIC</tt><tt><br>
</tt><tt><br>
</tt><tt> LIBTOOL support: no</tt><tt><br>
</tt><tt><br>
</tt><tt> LIBZ support: external</tt><tt><br>
</tt><tt> LIBLZMA support: no</tt><tt><br>
</tt><tt> cryptopp support: no</tt><tt><br>
</tt><tt> GRASS support: no</tt><tt><br>
</tt><tt> CFITSIO support: no</tt><tt><br>
</tt><tt> PCRaster support: internal</tt><tt><br>
</tt><tt> LIBPNG support: external</tt><tt><br>
</tt><tt> DDS support: no</tt><tt><br>
</tt><tt> GTA support: no</tt><tt><br>
</tt><tt> LIBTIFF support: internal (BigTIFF=yes)</tt><tt><br>
</tt><tt> LIBGEOTIFF support: internal</tt><tt><br>
</tt><tt> LIBJPEG support: internal</tt><tt><br>
</tt><tt> 12 bit JPEG: yes</tt><tt><br>
</tt><tt> 12 bit JPEG-in-TIFF: yes</tt><tt><br>
</tt><tt> LIBGIF support: internal</tt><tt><br>
</tt><tt> OGDI support: no</tt><tt><br>
</tt><tt> HDF4 support: no</tt><tt><br>
</tt><tt> HDF5 support: no</tt><tt><br>
</tt><tt> Kea support: no</tt><tt><br>
</tt><tt> NetCDF support: no</tt><tt><br>
</tt><tt> Kakadu support: no</tt><tt><br>
</tt><tt> JasPer support: no</tt><tt><br>
</tt><tt> OpenJPEG support: no</tt><tt><br>
</tt><tt> ECW support: no</tt><tt><br>
</tt><tt> MrSID support: no</tt><tt><br>
</tt><tt> MrSID/MG4 Lidar support: no</tt><tt><br>
</tt><tt> MSG support: no</tt><tt><br>
</tt><tt> GRIB support: yes</tt><tt><br>
</tt><tt> EPSILON support: no</tt><tt><br>
</tt><tt> WebP support: no</tt><tt><br>
</tt><tt> cURL support (wms/wcs/...):yes</tt><tt><br>
</tt><tt> PostgreSQL support: no</tt><tt><br>
</tt><tt> MRF support: yes</tt><tt><br>
</tt><tt> MySQL support: no</tt><tt><br>
</tt><tt> Ingres support: no</tt><tt><br>
</tt><tt> Xerces-C support: no</tt><tt><br>
</tt><tt> NAS support: no</tt><tt><br>
</tt><tt> Expat support: yes</tt><tt><br>
</tt><tt> libxml2 support: yes</tt><tt><br>
</tt><tt> Google libkml support: no</tt><tt><br>
</tt><tt> ODBC support: no</tt><tt><br>
</tt><tt> PGeo support: no</tt><tt><br>
</tt><tt> FGDB support: no</tt><tt><br>
</tt><tt> MDB support: no</tt><tt><br>
</tt><tt> PCIDSK support: internal</tt><tt><br>
</tt><tt> OCI support: no</tt><tt><br>
</tt><tt> GEORASTER support: no</tt><tt><br>
</tt><tt> SDE support: no</tt><tt><br>
</tt><tt> Rasdaman support: no</tt><tt><br>
</tt><tt> DODS support: no</tt><tt><br>
</tt><tt> SQLite support: yes</tt><tt><br>
</tt><tt> PCRE support: no</tt><tt><br>
</tt><tt> SpatiaLite support: no</tt><tt><br>
</tt><tt> DWGdirect support no</tt><tt><br>
</tt><tt> INFORMIX DataBlade support:no</tt><tt><br>
</tt><tt> GEOS support: no</tt><tt><br>
</tt><tt> QHull support: internal</tt><tt><br>
</tt><tt> Poppler support: no</tt><tt><br>
</tt><tt> Podofo support: no</tt><tt><br>
</tt><tt> PDFium support: no</tt><tt><br>
</tt><tt> OpenCL support: no</tt><tt><br>
</tt><tt> Armadillo support: no</tt><tt><br>
</tt><tt> FreeXL support: no</tt><tt><br>
</tt><tt> SOSI support: no</tt><tt><br>
</tt><tt> MongoDB support: no</tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt> SWIG Bindings: no</tt><tt><br>
</tt><tt><br>
</tt><tt> Statically link PROJ.4: no</tt><tt><br>
</tt><tt> enable GNM building: no</tt><tt><br>
</tt><tt> enable pthread support: yes</tt><tt><br>
</tt><tt> enable POSIX iconv support:yes</tt><tt><br>
</tt><tt> hide internal symbols: no</tt><tt><br>
</tt></p>
<p><tt>$ gmake</tt><tt><br>
</tt><tt>(cd port; gmake)</tt><tt><br>
</tt><tt>gmake[1]: Entering directory `/tmp/gdal-2.1.0/port'</tt><tt><br>
</tt><tt>CC -m64 -I/tmp/gdal-2.1.0/port -I/tmp/gdal-2.1.0/gcore
-I/tmp/gdal-2.1.0/alg -I/tmp/gdal-2.1.0/ogr
-I/tmp/gdal-2.1.0/ogr/ogrsf_frmts -I/tmp/gdal-2.1.0/gnm
-I/tmp/gdal-2.1.0/apps -m64 -fPIC -Wall -Wextra -Winit-self
-Wunused-parameter -Wformat -Werror=format-security
-Wno-format-nonliteral -Wshorten-64-to-32 -Wlogical-op -Wshadow
-Werror=vla -Wnull-dereference -Wduplicated-cond
-Wunused-private-field -Wmissing-prototypes
-Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual
-fno-operator-names -DOGR_ENABLED -m64 -I/tmp/gdal-2.1.0/port
-DGDAL_COMPILATION -DHAVE_CURL -DHAVE_LIBZ
-I/usr/include/libxml2 -DHAVE_LIBXML2 -DUSE_ONLY_CRYPTODLL_ALG
-c -o cpl_conv.o cpl_conv.cpp</tt><tt><br>
</tt><tt>CC: Warning: Option -fno-operator-names passed to ld, if
ld is invoked, ignored otherwise</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 225: Error: The function "snprintf"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 919: Error: The function "atoll"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 942: Error: The function "atoll"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 965: Error: The function "snprintf"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 994: Error: The function "atoll"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 1056: Error: The function
"strncasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 1255: Error: The function "snprintf"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 1303: Error: The function "snprintf"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 1342: Error: The function "snprintf"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 1348: Error: The function
"strncasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 1349: Error: The function "snprintf"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 1940: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 1942: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2131: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2131: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2137: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2381: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2381: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2521: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2521: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2591: Error: The function "symlink"
must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2612: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2613: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2655: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>"cpl_conv.cpp", line 2656: Error: The function
"strcasecmp" must have a prototype.</tt><tt><br>
</tt><tt>Compilation aborted, too many Error messages.</tt><tt><br>
</tt><tt>gmake[1]: *** [cpl_conv.o] Error 2</tt><tt><br>
</tt><tt>gmake[1]: Leaving directory `/tmp/gdal-2.1.0/port'</tt><tt><br>
</tt><tt>gmake: *** [port-target] Error 2</tt><br>
</p>
<p>Thanks,</p>
<p>Andrew<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
Andrew Watkins * Birkbeck, University of London * Computer Science *
* <a class="moz-txt-link-freetext" href="http://notallmicrosoft.blogspot.com">http://notallmicrosoft.blogspot.com</a> *
* UKOUG Systems SIG Chair *
* UKOUG Tech committee *
* tel: 020 7631 6720 *
</pre>
</body>
</html>