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.
"Simon Caine" <address@hidden> writes: > Institution: Monash Univsersity > Package Version: netcdf-3.6.0-p1 > Operating System: MAC G4 OSX 10.4 > Hardware Information: Machine Model: PowerMac6,4 > CPU Type: PowerPC G4 (1.2) > Number Of CPUs: 1 > CPU Speed: 1.42 GHz > L2 Cache (per CPU): 512 KB > Memory: 1 GB > Bus Speed: 167 MHz > Boot ROM Version: 4.9.2f1 > Serial Number: YM52201UT8P > Inquiry: When compiling NETCDF using the XLF compiler i have the problem of > undefined symbols during "make test" > > the compiler options i have used are :- > > export CFLAGS="-Df2cFortran -fPIC" > export CPPFLAGS="-DNDEBUG -Df2cFortran -fPIC" > export FC="xlf" > export FFLAGS="-O -g" > export F90="xlf90" > export F90FLAGS="-O -g -qsuffix=cpp=f90" > > An example of the error is:- /usr/bin/ld: Undefined symbols:_ncacpy > > However attached is a txt file with the full list of errors > > I also have the following warning, however i have gotten rid of this problem > before (i belive) but not the undefined symbols problem :- > > "ftest.F", 1500-030 (I) INFORMATION: tncacpy: Additional optimization may be > attained by recompiling and specifying MAXMEM option with a value greater > than 2048. > "ftest.F", 1500-030 (I) INFORMATION: tncagt: Additional optimization may be > attained by recompiling and specifying MAXMEM option with a value greater > than 2048. > > Any information you could give would be very very much appricated, i have > checked on the web and all through the site which list a few fixes, none of > which have worked for me. > > Sorry, not enough information. Can you please send the complete output from the configure and make test? Please do a make distclean first. Thanks! Ed -- Ed Hartnett -- address@hidden