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 > > >From: Paul Hamer <address@hidden> > >Subject: LDM Build using gcc on IRIX64-6.5 > >Organization: NOAA/FSL > >Keywords: 200001282235.PAA24288 LDM IRIX gcc > > I'm having trouble building LDM using gcc on IRIX. I downloaded > the latest LDM version and ran configure and make. The first error > was: > > gcc -g -I../config -I. -I../ulog -DHAVE_CONFIG_H -c fsStats.c > fsStats.c: In function `fsStats': > fsStats.c:63: `STRUCT_STATFS' undeclared (first use in this function) > fsStats.c:63: (Each undeclared identifier is reported only once > fsStats.c:63: for each function it appears in.) > fsStats.c:63: parse error before `sbuf' > fsStats.c:66: `sbuf' undeclared (first use in this function) > > I moved past this by using -D__SVR4 to force the typedef of this. > Looking at the code it seemed to not cater for all platform/compiler > options. > > The next problem was: > > Making `all' in directory /home/hamer/util/ldm-5.0.9/src/pqact > > don't know how to make pqact.c (bu42). > *** Error code 1 (bu21) > *** Error code 1 (bu21) > > Which is a little odd since it actually built the pqcat > binary. > > Any help would be much appreciated. > > Thanks, > > Paul. > > -- > Paul Hamer > Email: address@hidden > Phone: 303.497.6342 > > ------- End of Forwarded Message Hi Paul!! It's nice to hear from you, but, couldn't you send me some GOOD news instead?? :) We have not built our IRIX version using gcc, and it would take me a while to debug that. Is there a reason you must use gcc? Can you use the IRIX compiler or would a binary distribution meet your needs? Also, are you currently using 5.0.8? We did release a new pqact binary for 5.0.9. Indeed, that's the only executable that was changed from 5.0.8. I assume that's not the pqact binary you're referring to above, right? Also, I assume you saw the following announcement regarding 5.0.9: http://www.unidata.ucar.edu/packages/ldm/y2k-fix.html Anne -- *************************************************** Anne Wilson UCAR Unidata Program address@hidden P.O. Box 3000 (303) 497-8677 Boulder, CO 80307 ---------------------------------------------------- Unidata WWW server http://www.unidata.ucar.edu/ ****************************************************