PRB: Mixing Case of LINK Option Causes Error L1093 or D4002Last reviewed: July 24, 1997Article ID: Q49871 |
The information in this article applies to:
SYMPTOMSWhen specifying linker options from the CL command line, the word "link" must be in all lowercase letters. If the word "link" is not all lowercase, the error that occurs is either:
Command line warning D4002 : ignoring unknown flag '-xxxx' -or- LINK : fatal error L1093: xxxx.OBJ : object not foundNOTE: xxxx is the four letters keyed in after the "/" (forward slash) or the "-" (hyphen).
RESOLUTIONRetype the command line, ensuring "link" is typed in all lowercase letters.
MORE INFORMATIONFor example, issuing the following command from the MS-DOS, OS/2, or Windows NT command prompt
cl myfile.c /Link mylib.libproduces the following error:
Command line warning D4002 : ignoring unknown flag '-Link' |
Additional query words: 8.00 8.00c 9.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |