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.
>I attached msoft.mak. > >Here is how it fails with nmake /f msoft.mak test > >Microsoft (R) Program Maintenance Utility Version 1.62.7076 >Copyright (C) Microsoft Corp 1988-1997. All rights reserved.\n > cl /nologo /W3 /FD /MT /O2 /D "NDEBUG" /D "DLL_NETCDF" /c > t_nc. >c >t_nc.c > cl /nologo /W3 /FD /MT /O2 /D "NDEBUG" /D "DLL_NETCDF" /D > "DLL_ >EXPORT" t_nc.obj netcdf.lib /o t_nc.exe >Command line warning D4002 : ignoring unknown option '/o' >Command line warning D4024 : unrecognized source file type 't_nc.exe', object >fi >le assumed >LINK : fatal error LNK1149: output filename matches input filename >"C:\netcdf-3. >4\src\libsrc\t_nc.exe" >NMAKE : fatal error U1077: 'cl' : return code '0x2' >Stop. Somewhere you are redefining cl. Are you running from Dos prompt, or in the MKS shell? if from the shell, check aliases (just type "alias" at shell prompt) to see if you redefine cl ??