Microsoft KB Archive/43203

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:23, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q43203 to Microsoft KB Archive/43203 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

“L2025 Symbol Defined More Than Once” Linking QC2 with COBOL

PSS ID Number: Q43203 Article last modified on 04-20-1993

3.00 3.00a MS-DOS

The information in this article applies to:
- Microsoft COBOL for MS-DOS, versions 3.0 and 3.0a - Microsoft QuickC for MS-DOS, version 2.0

Summary: When linking a QuickC Version 2.0 object file with a COBOL object file, the linker error “L2025 symbol defined more than once” occurs. This occurs when COBOL is the main program and calls C. The linker error occurs because QuickC 2.0 libraries contain names that conflict with the MINITC.OBJ file that must be linked with COBOL and C when COBOL is the main program. To work around these errors, do one of the following: 1. Make C the main program and call COBOL from C. When C is the main program, the MINITC.OBJ file is not required. 2. Use C Version 5.0 or 5.1 to compile C routines. The MINITC.OBJ file was created to be used with C 5.0 and C 5.1.

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.