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.
> Full Name: Tiago Pereira > Email Address: address@hidden > Organization: RSAA > Package Version: 3.6.3 > Operating System: Mac OS X 10.5.4 (Darwin Kernel Version 9.4.0) ppc > Hardware: G5 ppc > Description of problem: Hello, > > With a ppc Mac I'm using gcc/gfortran to compile netcdf, version 4.4 binaries from hpc.sourceforge.net. > > I can get netcdf to compile, but it fails in the make check. The error message is one of undefined symbols when linking. I've already tried a variety of different compiler flags (including the ones that are on netcdf supported builds for darwin), but I always get the same error. Any suggestions? > > Many thanks, > > Tiago Pereira > > PS: config.log, make and make check logs attached. > > Try it again, but don't set -Df2cFortran in CPPFLAGS or CFLAGS. gfortran changed it's way of naming functions around version 4.2 of gcc, but if you just leave this flag unset, the netcdf configure script will choose the correct setting. Please let me know if this doesn't help. Ed Ticket Details =================== Ticket ID: XJP-840947 Department: Support netCDF Priority: Normal Status: Closed