[gdal-dev] error compiling 2.4.0 on RHEL7
John Cartwright - NOAA Federal
john.c.cartwright at noaa.gov
Mon Feb 4 12:50:07 PST 2019
That does seem to have been the problem. Thanks so much for the suggestion!
--john
On Fri, Feb 1, 2019 at 2:05 AM Even Rouault <even.rouault at spatialys.com>
wrote:
> On jeudi 31 janvier 2019 16:09:40 CET John Cartwright - NOAA Federal wrote:
> > 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?
>
> The token preceding the error where the compilation error occurs is
> CPL_NOSANITIZE_UNSIGNED_INT_OVERFLOW , which is defined in cpl_port.h and
> should expand to nothing with GCC
> My hypothesis is that you might have a cpl_port.h file from an older GDAL
> version (2.2 or older) somewhere in the filesystem that is also in the
> include
> paths for this file.
>
> Even
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190204/7d91321a/attachment.html>
More information about the gdal-dev
mailing list