Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site cyb-eng.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!ut-sally!cyb-eng!bc
From: bc@cyb-eng.UUCP (Bill Crews)
Newsgroups: net.micro.pc
Subject: Re: Problem with LINK and PASCAL. Help n
Message-ID: <662@cyb-eng.UUCP>
Date: Tue, 13-Aug-85 11:28:31 EDT
Article-I.D.: cyb-eng.662
Posted: Tue Aug 13 11:28:31 1985
Date-Received: Thu, 15-Aug-85 00:31:18 EDT
References: <1200033@ur-univax.UUCP>
Organization: Cyb Systems, Austin, TX
Lines: 19

> 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"

IBM Pascal has the (nonstandard) capability of passing long or short parameters
as var procedure arguments.  It's been a few years, but I believe you need
to declare all var args as "vars" instead of "var", because FORTRAN assumes
long pointers always.  This could very likely be your problem.
-- 
  /  \    Bill Crews
 ( bc )   Cyb Systems, Inc
  \__/    Austin, Texas

[ gatech | ihnp4 | nbires | seismo | ucb-vax ] ! ut-sally ! cyb-eng ! bc