[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #IZQ-213986]: error in make of netcdf-4.1.1
- Subject: [netCDF #IZQ-213986]: error in make of netcdf-4.1.1
- Date: Tue, 07 Dec 2010 20:16:33 -0700
Hi Russell,
Sorry it's taken so long to respond to your support request.
> Package Version: 4.1.1
> Operating System: AIX 5.2
> Hardware: IBM
> Description of problem:
>
> I am installing netcdf-4.1.1 and getting a syntax error in the make.
> I have attached my configure.out amd make.out.
>
> Can you please help.
>
> Thanks
>
> My commands are:
> export CC=/usr/vac/bin/xlc
> export CXX=/usr/vacpp/bin/xlC
> export FC=/usr/bin/xlf90
> export CFLAGS=-g
> export CXXFLAGS=-g
> export FFLAGS=-g
> ./configure --with-hdf5=/usr/local/hdf5 --prefix=/usr/local --enable-fortran
> --enable-cxx > configure.out 2>&1
> make > make.out 2>&1
The error message refers to line 141 of ncgen/ncgen.h:
...
"ncgen.h", line 141.1: 1506-046 (S) Syntax error.
"ncgen.h", line 141.15: 1506-344 (S) Member unlimitedsize has already been
defined on line 139 of "ncgen.h".
which is
// size_t unlimitedsize; /* computed unlimited size */
This is a bug in ncgen.h. It was intended to be a commented-out
statement, but it used the C++/C99 comment syntax "//". Please just
delete this statement from the ncgen.h file and continue by invoking
"make check" from the top level. The bug has been fixed in more
recent beta releases and the upcoming 4.1.2 version.
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: IZQ-213986
Department: Support netCDF
Priority: Normal
Status: Closed