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

Re: 20001017: attributes "friend" are not allowed



Hi Jongil,

For information in a previous reply to this question, including
workarounds, see:

   http://www.unidata.ucar.edu/glimpse/netcdf/3966

In summary, this appears to be a bug in the AIX C++ compiler which has
been reported to IBM.  There are relatively simple workarounds for the
problem that involve changing the source code in ways we would not
like to have to support in the general distribution.

--Russ

_____________________________________________________________________

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

 Keywords: 200010171620.e9HGKU423690
 To: address@hidden
 Subject: 20001017: attributes "friend" are not allowed
 Reply-to: Jongil Han <address@hidden>
 Date: Tue, 17 Oct 2000 10:20:30 -0600
 From: Unidata Support <address@hidden>
 Resent-To: address@hidden
 Resent-Date: Tue, 17 Oct 2000 10:29:50 -0600
 Resent-From: Steve Emmerson <address@hidden>


 ------- Forwarded Message

 >To: address@hidden
 >From: Jongil Han <address@hidden>
 >Subject: question
 >Organization: UCSD
 >Keywords: 200010171538.e9HFcl422289

 Dear Sir/Mam,

 I am starting to access a netcdf data generated by NCAR.
 I downloaded the netcdf software for fortran and tried to install it on 
 my local IBM-SP machine. But I met following error messages when I 
 execute the Makefile after executing configure:

 Making `all' in directory /u2/jhan/netcdf-3.4/src/cxx

         xlC -c -O  -I../libsrc  -DNDEBUG netcdf.cc
 "netcdf.hh", line 361.10: 1540-0133 (S) The attributes "friend" are not 
 allowed.
 "netcdf.hh", line 401.10: 1540-0133 (S) The attributes "friend" are not 
 allowed.
 "netcdf.cc", line 109.19: 1540-0300 (S) The "private" member 
 "NcDim::NcDim(NcFile *, NcToken, long)" cannot be accessed.
 "netcdf.cc", line 255.7: 1540-0300 (S) The "private" member 
 "NcDim::~NcDim()" cannot be accessed.
 make: 1254-004 The error code from the last command is 1.


 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.


 Stop.
 ------

 I would highly appreciate your help to fix above errors.

 Jongil Han
 --------------------
 Jongil Han, PhD
 5200 Auth Road
 NCEP/CPC, Room 806
 Camp Springs, MD 20746

 Affiliation: Scripps Institution of Oceanography,
              Univ. of California, San Diego
 Email: address@hidden
 Tel: (o) 301-763-8000 (ext. 7563)
 Fax: 301-763-8125
 ----------


 ------- End of Forwarded Message