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.
Unidata Support wrote: > > ------- Forwarded Message > > >To: address@hidden > >cc: address@hidden (Celia Chen) > >From: Celia Chen <address@hidden> > >Subject: ldm-5.1.3 on linux potato OS > >Organization: UCAR/Unidata > >Keywords: 200104022155.f32LtIL21483 > > I am getting warnings and error messages when trying to compile > ldm-5.1.3 on my desktop running linux potato OS. I wonder if > the ldm package has been tested on this OS. Here are the messages: > > . > . > . > atofeedt.c:113: warning: excess elements in struct initializer > atofeedt.c:113: warning: (near initialization for `fassoc[92]') > atofeedt.c:115: warning: excess elements in struct initializer > atofeedt.c:115: warning: (near initialization for `fassoc[93]') > atofeedt.c:115: warning: excess elements in struct initializer > atofeedt.c:115: warning: (near initialization for `fassoc[93]') > atofeedt.c:116: invalid use of undefined type `struct fal' > atofeedt.c:170: parse error before `feedexpr' > atofeedt.c:170: warning: data definition has no type or storage class > atofeedt.c:171: parse error before `feedprimary' > atofeedt.c:171: warning: data definition has no type or storage class > atofeedt.c:172: parse error before `feedterm' > atofeedt.c:172: warning: data definition has no type or storage class > atofeedt.c:173: parse error before `feed_type' > atofeedt.c:173: warning: data definition has no type or storage class > atofeedt.c:188: parse error before `feed_type' > atofeedt.c: In function `feed_type': > atofeedt.c:206: dereferencing pointer to incomplete type > atofeedt.c:206: increment of pointer to unknown structure > atofeedt.c:206: arithmetic on pointer to an incomplete type > atofeedt.c:208: dereferencing pointer to incomplete type > atofeedt.c:209: dereferencing pointer to incomplete type > atofeedt.c: At top level: > atofeedt.c:265: parse error before `feedprimary' > atofeedt.c: In function `feedprimary': > atofeedt.c:268: `feedtypet' undeclared (first use in this function) > atofeedt.c:268: (Each undeclared identifier is reported only once > atofeedt.c:268: for each function it appears in.) > atofeedt.c:268: parse error before `expr' > atofeedt.c:282: `expr' undeclared (first use in this function) > atofeedt.c: At top level: > atofeedt.c:297: parse error before `feedterm' > atofeedt.c: In function `feedterm': > atofeedt.c:300: `feedtypet' undeclared (first use in this function) > atofeedt.c:300: parse error before `left' > atofeedt.c:309: `left' undeclared (first use in this function) > atofeedt.c: At top level: > atofeedt.c:320: parse error before `feedexpr' > atofeedt.c: In function `feedexpr': > atofeedt.c:323: `feedtypet' undeclared (first use in this function) > atofeedt.c:323: parse error before `left' > atofeedt.c:332: `left' undeclared (first use in this function) > atofeedt.c: At top level: > atofeedt.c:352: parse error before `atofeedtypet' > atofeedt.c: In function `atofeedtypet': > atofeedt.c:354: `feedtypet' undeclared (first use in this function) > atofeedt.c:354: parse error before `result' > atofeedt.c:355: `result' undeclared (first use in this function) > atofeedt.c: At top level: > atofeedt.c:371: parse error before `feedtypet' > atofeedt.c: In function `strfeedtypet': > atofeedt.c:373: `feedtypet' undeclared (first use in this function) > atofeedt.c:373: parse error before `left' > atofeedt.c:376: `str' undeclared (first use in this function) > atofeedt.c:380: `left' undeclared (first use in this function) > atofeedt.c:387: `result' undeclared (first use in this function) > atofeedt.c: At top level: > /usr/include/rpc/rpc_msg.h:146: storage size of `cb_cred' isn't known > /usr/include/rpc/rpc_msg.h:147: storage size of `cb_verf' isn't known > /usr/include/rpc/svc.h:97: storage size of `xp_verf' isn't known > /usr/include/rpc/svc.h:153: storage size of `rq_cred' isn't known > make[2]: *** [atofeedt.o] Error 1 > make[2]: Leaving directory `/home/ldm/ldm-5.1.3/src/protocol' > make[1]: *** [subdir_target] Error 1 > make[1]: Leaving directory `/home/ldm/ldm-5.1.3/src' > make: *** [protocol/install] Error 2 > amber:~/ldm-5.1.3/src> > > -- > Celia Chen > RAP/NCAR > > "Nothing is as strong as gentleness or as gentle as strength." > - Dove Milk Promises > > ------- End of Forwarded Message Hi Celia, We do not have a Debian system here with which to test, so, no, it has not been tested with that OS. However, chances are good that with the right compiler and/or 'make' it would work. Which make are you using? Which cc? (Try 'which make' and 'which cc'. Be sure to do an ls -l on the result as they may be links to something else. For example, on my machine, /usr/bin/cc actually points to gcc.) And, is there any other make or compiler on your system? Anne -- *************************************************** Anne Wilson UCAR Unidata Program address@hidden P.O. Box 3000 Boulder, CO 80307 ---------------------------------------------------- Unidata WWW server http://www.unidata.ucar.edu/ ****************************************************