Microsoft KB Archive/43203

“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

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.