BUG: Error Building Libraries During Setup (76944)



The information in this article applies to:

  • Microsoft FORTRAN Compiler for MS-DOS 5.1
  • Microsoft FORTRAN compiler for OS/2 5.1

This article was previously published under Q76944

SYMPTOMS

Setup may fail to successfully build the run-time libraries when the option to build with no error message text is selected. Setup may display the error:
Error Building Libraries
Examining the XLIBLOGX.XYZ log file shows that the file NBUILD.OBJ could not be found. The error that is listed in the error log is:
LIB: error U2157 NBUILD.OBJ cannot access file

CAUSE

NBUILD.OBJ is listed in the copy_always section of the SETUP.INF file so the Setup program assumes that the file will always be in the location the run-time libraries are being built in. If the new libraries are built in a location that is different from the original installation, the NBUILD.OBJ file will not be copied over during the library build process for the new libraries. Because the Setup program assumes that NBUILD.OBJ is in the directory into which the new libraries are being placed, it will not find this file and will terminate the library build process.

RESOLUTION

Manually copy the file NBUILD.OBJ to the new location, and run the Setup program again to build the libraries.

STATUS

Microsoft has confirmed this to be a problem in Microsoft FORTRAN version 5.1 for MS-DOS and OS/2.

Modification Type:MajorLast Reviewed:10/23/2003
Keywords:kbbug KB76944