You are currently offline, waiting for your internet to reconnect

FIX: "fatal error U1073: don't know how to make

This article was previously published under Q112336
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
SYMPTOMS
Using the Visual WorkBench to build an internal project or to compile afile may cause the following error message to be generated:
Internal make: fatal error U1073: don't know how to make '<filename>'.
<filename> could be the currently loaded file name or the name of anyfile that is part of the current project. Loading the project as anexternal makefile allows the files in the project to be successfullycompiled. Also, individual source files that show the problem can besuccessfully compiled from the command line outside the Visual WorkBench.

Different symptoms occur with Visual C++ 2.0 and 2.1. For more information,please see the following article in the Microsoft Knowledge Base:
125494 BUG: Visual C++ Gives GP Fault If System Date past 18-Jan-2038
CAUSE
This problem can be caused by having the system date and time set toa value after January 19, 2038, 3:14:07 A.M.
RESOLUTION
Set the system date and time to the current date and time.
STATUS
Microsoft has confirmed this to be a problem in Visual WorkBench version1.1. This problem was fixed in Microsoft Visual C++, 32-bit Edition,version 4.0
MORE INFORMATION
The problem has to do with the fact that the time-related C run-timefunctions use a type of time_t to represent time values. Currentlytime_t is defined to be a signed long. The maximum number of secondsthat can be stored in a signed long is 2,147,483,647. Because the time-related functions use 00:00:00 (midnight), January 1, 1970 as theirbase, the maximum time and date that can be represented with a time_ttype is January 19, 2038, 3:14:07 A.M.

The internal build engine used by the Visual Workbench attempts tocheck the last modification time and date when doing a compile or abuild. If the modification time and date are past the January 19, 2038,3:14:07 A.M. value, the Visual WorkBench generates the U1073 error.

Only files that have been saved on the system with the incorrect timeand date exhibit this problem. For example, files that are includedwith the samples provided with the compiler can be successfullycompiled and built from within the Visual WorkBench. This is becausetheir last modification time and date was set when they were initiallycreated. However, once the files have been modified and saved on thesystem with the invalid time and date, they can no longer be compiledfrom within the Visual WorkBench.
Gateway cmos 1.00 1.10
Properties

Article ID: 112336 - Last Review: 08/16/2005 20:18:39 - Revision: 2.1

Microsoft Visual Workbench for Windows

  • kbbug kbfix kbide KB112336
Feedback
oft.com/c.gif?DI=4050&did=1&t=">