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.
Mark, >Date: Fri, 21 Feb 1997 14:48:24 CST >From: Mark MacLennan <address@hidden> >Organization: Center for Global and Regional Environmental Research >To: address@hidden >Subject: re: netcdf problems with HPUX10.10 >Keywords: 199702202358.QAA28346 In the above message, you wrote: > > The only thing I can think of is that the C compiler isn't correctly > > expanding the EXTERN macro in the file libsrc/netcdf.h. Would you do > > me a favor and run that file through the preprocessor and see what the > > declaration for nc_inq_libvers() winds up being? Thanks. > > > > I discovered what the problem was in this case - I had set the > LPATH environment variable in .cshrc for this particular account > I was using to compile the netcdf code because some other software > required it under HPUX9.x and forgot to delete it after converting > to HPUX10.10 - apparently HPUX10.10 didn't like it. With this > environment variable gone, netcdf-3.3a compiles fine. Good! > > What's wrong with your c89(1) compiler? Could the option `-O' (all by > > itself: no argument) be invalid? > There does appear to be something wrong with c89 as it doesn't work > had thought I had applied all of the relevant HPUX10.10 patches > (now over 100 ...) but I should check to see what else is out there > I may have missed ... Bad compiler. Bummer! -------- Steve Emmerson <address@hidden>