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, 25 Nov 2003, Unidata Support wrote: > > ------- Forwarded Message > > >To: "dods (E-mail)" <address@hidden> > >From: Enils Bashi <address@hidden> > >Subject: decoders building problem > >Organization: Veridyne Incorporated > >Keywords: 200311252140.hAPLeREH019283 > > Hi all, > > I should have posted this on the decoders users list but It's taking them > forever to respond to my sign-up. > I downloaded the latest decoders.tar.Z from unidata website. I have > udunits-1.11.7, ldm-6.0.14, netcdf-3.5.0 and netcdf-perl-1.2.2 on Redhat 9. > Here are my environment variables: > > export CPP_NETCDF=-I/usr/local/netcdf-3.5.0/include > export LD_NETCDF="-L/usr/local/netcdf-3.5.0/lib -lnetcdf" > export CPP_UDUNITS=-I/data/udunits-1.11.7/include > export LD_UDUNITS="-L/data/udunits-1.11.7/lib -ludunits" > > and here is the log from running make: > > [root@nutria src]# make > > making `all' in directory /data/decoders-3.0.1/src/gribtonc Enils, I haven't try to compile gribtonc on RH9, I'll give it a try and get back to you. Robb... > > make[1]: Entering directory `/data/decoders-3.0.1/src/gribtonc' > c89 -c -g -I/usr/local/netcdf-3.5.0/include -I/data/udunits-1.11.7/include > 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:73: parse error before '(' token > 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 `/data/decoders-3.0.1/src/gribtonc' > make: *** [gribtonc/all] Error 1 > ********************************************* > > > Any and all feedback would be greatly appreciated. > > Enils Bashi > Programmer - Chesapeake Bay Program > Veridyne Incorporated > Annapolis, Maryland: (410) 267-9833 > www.chesapeakebay.net > > > > ------- 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/ ===============================================================================