🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #498

TC 2.0 Linking Problems

#498
From: Matthew Lee
Date: Fri, 25 May 1990 17:44
25 lines
1347 bytes
Hello Netland,

I'm *attempting* to port some code (not written by myself) from MSC 5.1 to 
TC 2.0 . The code consists of several 'C' source files and one .asm file. When
I attempted to link the object code, compiled in large model, I get several 
error messages of the form:

     "Fixup overflow in module FOO.C at FOO_TEXT:XXXX, target = _VARIABLE"

Now, all of the "_VARIABLE"'s are global variables declared as PUBLIC in the 
CODE segment of the assembler file. There are corresponding "extern VARIABLE" 
declarations in the 'C' files. 

Anybody have an idea how to fix this? After looking through a few manuals I am
none the wiser although I suspect that the tlink is looking for the "VARIABLE"'s
in the DATA segment, not the CODE segment. 

Sorry if I haven't given enough details, I'm hoping this a problem somebody 
has seen before and has a straightforward fix.

Any suggestions welcome. Thanks!

Matthew Lee
University of Toronto
leemc@csri.toronto.edu
Technical Details
Message-ID: <1990May25.134431.25796@jarvis.csri.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!csri.toronto.edu!leemc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!csri.toronto.edu!leemc
Newsgroups: alt.msdos.programmer,comp.sys.ibm.pc.programmer
From: leemc@csri.toronto.edu (Matthew Lee)
Subject: TC 2.0 Linking Problems
Message-ID: <1990May25.134431.25796@jarvis.csri.toronto.edu>
Organization: CSRI, University of Toronto
Date: 25 May 90 17:44:31 GMT
Lines: 25