>To: <address@hidden> >From: "Sharav Amarjargal" <address@hidden> >Subject: netcdf problem >Organization: UCAR/Unidata >Keywords: 200210260939.g9Q9dHq12508 Hi Sharav (and Juergen), > I followed the patch in > http://www.unidata.ucar.edu/packages/netcdf/known_problems.html#gcc-3.0 > and now i'm getting syntax error like this: > > > Not making `f90/all' because no FORTRAN-90 compiler > In file included from netcdfcpp.h:16, > from netcdf.cpp:12: > ncvalues.h:223: syntax error before `<<' token > ncvalues.h:224: `ostr' was not declared in this scope > ncvalues.h:225: variable-size type declared outside of any function > ncvalues.h:225: variable-size type declared outside of any function > ncvalues.h:226: syntax error before `.' token > make[2]: *** [netcdf.o] Error 1 > make[1]: *** [subdir_target] Error 1 > make: *** [cxx/all] Error 2 Please try this new beta test release and see if it works for you. It works (builds a working C++ interface) on our Redhat 8.0 system: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.5.1-beta5.tar.Z --Russ