[gdal-dev] error compiling 2.4.0 on RHEL7

John Cartwright - NOAA Federal john.c.cartwright at noaa.gov
Thu Jan 31 15:09:40 PST 2019


Hello All,

I'm having trouble compiling 2.4.0 on a RHEL 7.6 machine.  Errors like:

linkhash.c:43:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘unsigned’
 unsigned long lh_char_hash(const void *k)

Compile options are listed below.  Any suggestions?

Thanks!

--john


./configure --prefix=$CONTRIB \
  --with-png=internal \
  --with-libtiff=internal \
  --with-geotiff=internal \
  --with-jpeg=internal \
  --with-gif=internal \
  --with-pg=/usr/bin/pg_config \
  --with-hdf5=$CONTRIB/lib \
  --with-oci=$ORACLE_HOME \
  --with-oci-include=/usr/include/oracle/11.2/client64 \
  --with-oci-lib=$ORACLE_HOME/lib \
  --with-netcdf \
  --with-libjson-c=internal \
  --with-geos=$CONTRIB/bin/geos-config \
  --with-java=yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190131/f409b740/attachment.html>


More information about the gdal-dev mailing list