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.
>From: Kelan Huang <address@hidden> >Organization: Woods Hole >Keywords: 199609041835.AA24486 netCDF MSC 5.1 Kelan, >I have wrote a C program for converting >ASCII data to Netcdf format. > >I got netcdf.h, xdr.lib, and netcdf.lib >from your ftp site. And compiled my program >with MSC5.1 . I got the following message: >----------------------------------------------------------- >Unresolved externals: > >__aFchkstk in file(s): > XDR.LIB(byteordr.c) XDR.LIB(xdrfloat.c) XDR.LIB(xdr.c) > NETCDF.LIB(xdrposix.c) NETCDF.LIB(var.c) NETCDF.LIB(string.c) > NETCDF.LIB(sharray.c) NETCDF.LIB(putget.c) NETCDF.LIB(iarray.c) > NETCDF.LIB(file.c) NETCDF.LIB(error.c) NETCDF.LIB(dim.c) > NETCDF.LIB(cdf.c) NETCDF.LIB(attr.c) NETCDF.LIB(array.c) > ------------------------------------------------------------- >Is anyone there knows where this problem is coming from? >Please help. Thanks. Even though I havn't played with this in some time, it sounds like your C library was not built with Fortran compatibility. Try rebuilding it and see if the entry '__aFchkstk' doesn't get resolved properly. Tom Yoksas