<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><br>
      I have it up and running with gcc, but I want to see if I can get
      it working with <span id="OLK_SRC_BODY_SECTION">Oracle Developer
        Studio 12.<br>
        <br>
        But, I was taken back that it failed at the first compile line.<br>
        <br>
        Cheers,<br>
        <br>
        Andrew<br>
      </span><br>
      On 07/08/16 16:25, Michael Smith wrote:<br>
    </div>
    <blockquote cite="mid:D3A53DC0.D0300%25michael.smith.erdc@gmail.com"
      type="cite">
      <div>I've only compiled GDAL on solaris using the gcc compiler.
        You might want to try that.</div>
      <div><br>
      </div>
      <div>Mike</div>
      <div><br>
      </div>
      <div>
        <div>
          <div>
            <div>-- </div>
            <div>Michael Smith</div>
          </div>
          <div>Remote Sensing/GIS Center</div>
          <div>US Army Corps of Engineers</div>
        </div>
      </div>
      <div><br>
      </div>
      <span id="OLK_SRC_BODY_SECTION">
        <div style="font-family:Calibri; font-size:11pt;
          text-align:left; color:black; BORDER-BOTTOM: medium none;
          BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
          0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
          BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span
            style="font-weight:bold">From: </span> gdal-dev <<a
            moz-do-not-send="true"
            href="mailto:gdal-dev-bounces@lists.osgeo.org"><a class="moz-txt-link-abbreviated" href="mailto:gdal-dev-bounces@lists.osgeo.org">gdal-dev-bounces@lists.osgeo.org</a></a>>
          on behalf of Andrew Watkins <<a moz-do-not-send="true"
            href="mailto:andrew@dcs.bbk.ac.uk">andrew@dcs.bbk.ac.uk</a>><br>
          <span style="font-weight:bold">Date: </span> Friday, July 8,
          2016 at 11:17 AM<br>
          <span style="font-weight:bold">To: </span> <<a
            moz-do-not-send="true"
            href="mailto:gdal-dev@lists.osgeo.org"><a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a></a>><br>
          <span style="font-weight:bold">Subject: </span> [gdal-dev]
          Building gdal with Oracle Developer Studio 12.5 on solaris 11<br>
        </div>
        <div><br>
        </div>
        <blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE"
          style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0
          0 0 5;">
          <div>
            <meta http-equiv="content-type" content="text/html;
              charset=windows-1252">
            <div 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 moz-do-not-send="true" 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>
          </div>
          _______________________________________________
          gdal-dev mailing list
          <a moz-do-not-send="true"
            href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
          <a moz-do-not-send="true"
            href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></blockquote>
      </span>
    </blockquote>
    <br>
    <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>