This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> > > Dear Sir, > > I am trying to install netcdf-3.6.1 on IBM Powerp5 machine. I have enable > the following options: > > OBJECT_MODE=32 > CC=xlc_r > CPPFLAGS=-DNDEBUG > CFLAGS='-D_LARGE_FILES -O -qmaxmem=-1 -qarch=auto -bmaxdata:2000000000 > -bmaxstack:256000000' > FC=xlf_r > FFLAGS='-O -qarch=auto -bmaxdata:2000000000 -bmaxstack:256000000' > F90=xlf90_r > F90FLAGS='-qmaxmem=-1 -qsuffix=f=f90 -qarch=auto -bmaxdata:2000000000 > -bmaxstack:256000000' > CXX=xlC_r > CXXFLAGS='-D_LARGE_FILES -O -qmaxmem=-1 -qarch=auto -bmaxdata:2000000000 > -bmaxstack:256000 > > But While running make getting follwing error: > > > > Returning to directory /software/AIX5L/netcdf-precompiled/netcdf-3.6.1/src > > > Making `all' in directory > /software/AIX5L/netcdf-precompiled/netcdf-3.6.1/src/cxx > > ar cru libnetcdf_c++.a netcdf.o ncvalues.o > ranlib libnetcdf_c++.a > xlC_r -o nctst -D_LARGE_FILES -O -qmaxmem=-1 -qarch=auto > -bmaxdata:2000000000 -bmaxstack:256000000 nctst.o libnetcdf_c++.a > ../libsrc/libnetcdf.a > > ld: 0711-317 ERROR: Undefined symbol: > .operator<<(std::_LFS_ON::basic_ostream<char,std::char_traits<char> > >&,const NcValues&) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. > make: 1254-004 The error code from the last command is 8. > > > Stop. > make: 1254-004 The error code from the last command is 1. > > > Stop. > make: 1254-004 The error code from the last command is 2. > > > Kindly help me to reolve this. > > > I believe this is a C++ API bug that has been fixed in the 3.6.2 beta release. Could you get the 3.6.2 beta release from here, and try it to see if it resolves your problem? ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-beta.tar.gz Thanks! Ed Hartnett Ticket Details =================== Ticket ID: SJK-712924 Department: Support netCDF Priority: Normal Status: Closed