#LINK32 problem
2 messages in this thread
I have a problem with the linker. When I try to link a program
containing more then 100 modules the linker gives the following
message:
LINK32() : error 104: Can't open file TEMPFILE
Extended Error: No such file or directory
A number of files are created on the D:\TEMP directory during the link,
they are called LINK321 LINK322 and so on up to LINK3299. This seem
to be the problem. The temporary files are called LINK32xx and the
filename can not be more then 8 characters.
How do I link my program ?
I am using Windows NT SDK March beta, NTFS filesystem and my computer
have 32 MB memory and a about 100MB disk free.
Goran Lawesson
SattControl AB
Compuserve : 100136,1524
Internet : GRL@SATT.SE
There is 1 Reply.
Goran,
> LINK32(): error 104: Can't open file TEMPFILE
The linker creates temporary files in the directory pointed to by the TMP
environment variable. Make sure that you have plenty of disk space there.
It does look suspicious that the temporary names are LINK321 to LINK3299.
I'll double-check that this is not a hardcoded limit or a bug. In the
meantime, the only thing that I can think of which might help is to place
some of the objects into libraries.
Sincerely,
Julie Solon
Microsoft Developer Support