[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #VDF-484626]: netcdf4 build problem on pwr6 AIX xlc



Hi Sidd,

Sorry to have taken so long to respond to your question ...
> I am getting this:
> -----------------------
> xlc_r -DHAVE_CONFIG_H -I. -I.. -I../fortran  -I.. -I../libsrc4
> -I../libsrc4  -I/ptmp/sghosh/hdf5/include -I/contrib/zlib/include -g -c
> -o genbin.o genbin.c
> "/usr/include/stdio.h", line 498.12: 1506-343 (S) Redeclaration of
> fgetpos64 differs from previous declaration on line 297 of
> "/usr/include/stdio.h".
> "/usr/include/stdio.h", line 498.12: 1506-377 (I) The type "long long*"
> of parameter 2 differs from the previous type "long* restrict".
> ------------------------
> (first few lines of error) while trying to build netcdf4.1.1, configure
> went fine and we built earlier versions ok, any clue ?

Yes, there was a fix for an AIX portability issue since 4.1.1,
although the error you are getting above doesn't look like where we
saw the problem (in libsrc4/nc4var.c).  We can't reproduce the problem
you reported.

Could you try the current snapshot release to see if that fixes the
problem?  It's at

  ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz

Please let us know if that doesn't compile.  If there are problems,
please send the information requested here:

  http://www.unidata.ucar.edu/netcdf/docs/netcdf-install/Reporting-Problems.html

Thanks!

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: VDF-484626
Department: Support netCDF
Priority: High
Status: Closed