LNK9005000: Fatal /nologo and /e Switch Interaction

ID Number: Q62375

1.20 | 1.20

MS-DOS | OS/2

buglist1.20

Summary:

PROBLEM ID: LNK9005000

SYMPTOMS

Using the /nologo switch in conjunction with /e switch can cause

ILINK version 1.2 to fail. The problem occurs when an incremental

link cannot be performed and the command specified by the /e switch

is performed instead. If the /e switch is preceded anywhere on the

command line by /nologo, then the link will fail.

For example, the following command line

ILINK /nologo /e "link hello;" hello.exe

where HELLO.OBJ exists but HELLO.EXE doesn't, produces the

following messages:

Microsoft Ò Segmented-Executable Linker Version 5.10

Copyright Ó Microsoft Corp 1984-1990. All rights reserved.

LINK : fatal error L1089: : cannot open response file

ILINK : warning L4252: file '/e.exe' does not exist

ILINK : performing full link

ILINK : fatal error L1233: 'link' returned 2

RESOLUTION

Placing the /nologo switch after the /e switch on the command line

alleviates the problem.

STATUS

Microsoft has confirmed this to be a problem with ILINK version

1.2. We are researching this problem and will post new information

here as it becomes available.

Additional reference words: 1.20