Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site dataio.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!harvard!talcott!panda!genrad!decvax!tektronix!uw-beaver!uw-june!entropy!dataio!bright From: bright@dataio.UUCP (Walter Bright) Newsgroups: net.micro.pc Subject: Re: Problem with LINK command and PASCAL Message-ID: <728@dataio.UUCP> Date: Wed, 24-Jul-85 05:46:13 EDT Article-I.D.: dataio.728 Posted: Wed Jul 24 05:46:13 1985 Date-Received: Sun, 28-Jul-85 02:36:30 EDT Reply-To: bright@dataio.UUCP (Walter Bright) Organization: Data I/O Corp., Redmond WA Lines: 19 In article <1200030@ur-univax.UUCP> pier@ur-univax.UUCP writes: > >I am trying to port a program from a VAX to an AT. The program is composed of >several modules written in PASCAL and FORTRAN, with the main module in PASCAL. >I have been able to compile all modules OK using IBM PASCAL 1.0 and IBM >FORTRAN 2.0. > >The problem occurs at the LINK. I get the following error several hundred (yes >indeed) tines: >Fixup offset exceeds field width in "name of module".OBJ near "address" The cause of this message is the linker finding that the difference between two addresses in the program is greater that 64k, and so cannot be represented in 16 bits. One cause of this can be a global identifier that one module thinks is code and another module thinks is data. Another cause can be linking in the wrong runtime library (such as linking in the large model library with code that was compiled with the small model). I would bet that IBM's Pascal and Fortran simply cannot be used together.