🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.programmer
Article #180

MS Linker errors

#180
From: Joe Bradley
Date: Mon, 26 Mar 1990 17:31
40 lines
2029 bytes
Okay net wizards, I need some advice as to how dangerous a path I am
trodding...

I am developing an application with Zortech's C++ v2.0. I need to link
with a 3rd party library which was built with MS C v5.0. My link line looks
like the following:

   link test,,,fg+pll+zll+cpptl+(3rd party library)+llibc7 /NOD/NOE;
               ^^^^^^^^^^^^^^^^                     ^^^^^
               Zortech libs                         MS lib

The program links with 14 multiply defined symbols and 2 fixup overflows as
shown at the end of this message. The resulting executable runs fine
however, in spite of the linker errors. My simple test program uses all
the functions my full-blown application will use. Should I continue on
developing my application and just ignore these linker errors, or should
I be concerned that later down the road something might break????

Linker errors:

LLIBC7.LIB(CRT0) : error L2025: __acrtused : symbol defined more than once
LLIBC7.LIB(CRT0DAT) : error L2025: _errno : symbol defined more than once
                        .
                        .
                        .
LLIBC7.LIB(CRT0DAT) : error L2025: __psp : symbol defined more than once

LLIBC7.LIB(CRT0) : error L2002: fixup overflow at 0004 in segment 
 pos: 14C Record type: 9C
 target external '__exit'
LLIBC7.LIB(CRT0) : error L2002: fixup overflow at 00B8 in segment 
 pos: 2BD Record type: 9C
 target external '_exit'

-- 
G.J. (Joe) Bradley, Georgia Tech Research Institute, Atlanta, Georgia, 30332

UUCP:     ...!{allegra,amd,hplabs,ut-ngp}!gatech!prism!gb7
INTERNET: gb7@prism.gatech.edu
Technical Details
Message-ID: <7437@hydra.gatech.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!mephisto!prism!gb7

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!usenet.ins.cwru.edu!mephisto!prism!gb7
From: gb7@prism.gatech.EDU (Joe Bradley)
Newsgroups: comp.sys.ibm.pc.programmer
Subject: MS Linker errors
Message-ID: <7437@hydra.gatech.EDU>
Date: 26 Mar 90 17:31:35 GMT
Reply-To: gb7@prism.gatech.EDU (Joe Bradley)
Distribution: usa
Organization: Georgia Tech Research Institute
Lines: 40