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.
On Tue, 27 Jul 2004, Unidata Support wrote: > > ------- Forwarded Message > > >To: <address@hidden> > >From: "Luca Villa" <address@hidden> > >Subject: troubleshooting installing netCDF decoders > >Organization: UCAR/Unidata > >Keywords: 200407271253.i6RCr9aW008287 > > Hi, > I've installed netCDF libraries by rpm package for Fedora C1. > Now I want to install the unidata netCDF decoders > (http://my.unidata.ucar.edu/content/software/decoders/index.html) > but I have some problems to do it. > > > I launched correctly the configure. > I set up the environmental variable requested. > > > When I launched make, I have encountered these problems: > > > > [root@atmp2 src]# > [root@atmp2 src]# make > Luca, You need to do a % make distclean and then set your CC environment variable. ie % setenv CC gcc in c shell or % CC=gcc; export CC Even though the default compiler on Fedora is gcc, it needs to be explicitly configured because it sets the compiler environment. robb... > making `all' in directory /root/Soft/decoders-3.0.4/src/gribtonc > > make[1]: Entering directory `/root/Soft/decoders-3.0.4/src/gribtonc' > c89 -c -g -O2 emalloc.c > c89 -c -g -O2 gbds.c > c89 -c -g -O2 gbytem.c > c89 -c -g -O2 gdes.c > c89 -c -g -O2 get_prod.c > get_prod.c:41: parse error before '*' token > get_prod.c:55: parse error before "u_char" > get_prod.c:55: warning: data definition has no type or storage class > get_prod.c:56: parse error before '*' token > get_prod.c:56: warning: data definition has no type or storage class > get_prod.c:57: parse error before '{' token > get_prod.c:61: parse error before '++' token > get_prod.c:68: `r1' undeclared here (not in a function) > get_prod.c:68: warning: data definition has no type or storage class > get_prod.c:69: parse error before "while" > get_prod.c:74: `r1' undeclared here (not in a function) > get_prod.c:74: conflicting types for `ret' > get_prod.c:59: previous declaration of `ret' > get_prod.c:74: warning: data definition has no type or storage class > get_prod.c:75: parse error before '}' token > get_prod.c:77: parse error before string constant > get_prod.c:77: warning: data definition has no type or storage class > get_prod.c:81: parse error before string constant > get_prod.c:81: warning: data definition has no type or storage class > get_prod.c:82: conflicting types for `ret' > get_prod.c:74: previous declaration of `ret' > get_prod.c:82: `tmp' undeclared here (not in a function) > get_prod.c:82: warning: data definition has no type or storage class > get_prod.c:83: warning: parameter names (without types) in function > declaration > get_prod.c:83: warning: data definition has no type or storage class > get_prod.c:84: parse error before '}' token > make[1]: *** [get_prod.o] Error 1 > make[1]: Leaving directory `/root/Soft/decoders-3.0.4/src/gribtonc' > make: *** [gribtonc/all] Error 1 > [root@atmp2 src]# > > > Thank you > > Luca > > > > > > > > > ********************************************* > ing. Luca Villa > > DIFI - Department of Physics > University of Genoa > Atmospheric and Oceanic Physics Group > via Dodecaneso, 33. 16146 Genova - Italy > > tel: +39 010 353 6385 ; fax: +39 010 353 6263 > mobile: +39 347 7203745 > > ********************************************* > > > -- > NOTE: All email exchanges with Unidata User Support are recorded in the > Unidata inquiry tracking system and then made publically available > through the web. If you do not want to have your interactions made > available in this way, you must let us know in each email you send to us. > > ------- End of Forwarded Message > =============================================================================== Robb Kambic Unidata Program Center Software Engineer III Univ. Corp for Atmospheric Research address@hidden WWW: http://www.unidata.ucar.edu/ ===============================================================================