<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi Andrew,</p>
<p><br>
</p>
<p>Nothing crazy about using and IDE. You should be able to find some hints here:</p>
<p><br>
</p>
<p><a id="LPlnk92942" href="http://trac.osgeo.org/gdal/wiki/BuildHints" class="OWAAutoLink">http://trac.osgeo.org/gdal/wiki/BuildHints</a></p>
<ul>
<li><a id="LPlnk132983" href="http://trac.osgeo.org/gdal/wiki/SolarisNotes" class="OWAAutoLink">SolarisNotes</a><br>
</li><li><a id="LPlnk498874" href="http://trac.osgeo.org/gdal/wiki/BuildingOnUnixWithNetBeansIDE" class="OWAAutoLink">BuildingOnUnixWithNetBeansIDE</a><br>
</li></ul>
<p>The IDE will use whatever compiler you have on your system, so the errors you are getting are not related to the IDE.
<br>
</p>
<p>You can try building GDAL on command line first.</p>
<p><br>
</p>
<p>Regards,</p>
<p>Ivan<br>
</p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> gdal-dev <gdal-dev-bounces@lists.osgeo.org> on behalf of Andrew Watkins <andrew@dcs.bbk.ac.uk><br>
<b>Sent:</b> Friday, July 8, 2016 11:17 AM<br>
<b>To:</b> gdal-dev@lists.osgeo.org<br>
<b>Subject:</b> [gdal-dev] Building gdal with Oracle Developer Studio 12.5 on solaris 11</font>
<div> </div>
</div>
<div>
<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 id="LPlnk741494" 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>
<div style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;" id="LPBorder_GT_14679914754660.30259233730031176">
<table style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" id="LPContainer_14679914754590.38941476788338847" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td colspan="1" style="width: 250px; position: relative; display: table-cell; padding-right: 20px;" id="ImageCell_14679914754610.12580140078250002">
<div style="background-color: rgb(255, 255, 255); height: 80px; position: relative; margin: auto; display: table; width: 53px;" id="LPImageContainer_14679914754610.13260052010570234">
<a target="_blank" href="http://notallmicrosoft.blogspot.com/" style="display: table-cell; text-align: center;" id="LPImageAnchor_14679914754620.6488040210968954"><img id="LPThumbnailImageID_14679914754620.7938330311168044" aria-label="Preview image with link selected. Double-tap to open the link." style="display: inline-block; max-width: 250px; max-height: 250px; height: 80px; width: 53px; border-width: 0px; vertical-align: bottom;" height="80" width="53" src="http://2.bp.blogspot.com/_lf493CmNlqs/SM7X123eoKI/AAAAAAAAAAo/YGRX_LfZIpI/S220-s80/andrew.jpg"></a></div>
</td>
<td colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" id="TextCell_14679914754620.006134814113914366">
<div id="LPRemovePreviewContainer_14679914754620.08354005929450559"></div>
<div style="top: 0px; color: rgb(32, 85, 164); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;" id="LPTitle_14679914754620.6327639427706462">
<a target="_blank" href="http://notallmicrosoft.blogspot.com/" style="text-decoration: none;" id="LPUrlAnchor_14679914754630.7648509602583375">Life on the OutSide - blogspot.com</a></div>
<div style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;" id="LPMetadata_14679914754640.9675775866819519">
notallmicrosoft.blogspot.com</div>
<div style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;" id="LPDescription_14679914754650.3469008366018709">
I think more and more people will start using Kernel Zone and I have a feeling that will soon be the only zone that Solaris will offer soon. So, I thought I would ...</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</body>
</html>