Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!ox.com!tbomb!time From: time@ice.com (Tim Endres) Newsgroups: comp.sys.mac.programmer Subject: Re: Jump Table Offset error.. Date: Sun, 31 Mar 91 22:50:11 EST Organization: ICE Engineering, Inc. Message-ID: <1CE00001.bmbicdc@tbomb.ice.com> Reply-To: time@ice.com X-Mailer: uAccess - Mac Release: 1.1.b1 Lines: 23 In article <1991Apr1.015113.9283@verity.com>, anders@verity.com (Anders Wallgren) writes: > In article , gb2a+@andrew (George J. Baxter) writes: > > I have a nagging problem that is occuring with MPW.. I'm linking in > >some external procedures to a larger program, and one group of > >procudures keeps resulting in and error: > > ### Link: Error: Jump Table Offset is out of range. (Error 50) HandleMacEvents > > [ ... fine discussion of jump table removed ... ] > The answer (unfortunately for you since you didn't write the code) is > to make sure that the segment that your external procedure is in gets > split up into smaller segments. You might also have another alternative. If the complaint is for only one function, you *may* be able to move it closer to the calling function and get the offset to within 32K. However, everything else starts shifting.... ------------------------------------------------------------- Tim Endres | time@ice.com ICE Engineering | uupsi!ice.com!time 8840 Main Street | Voice FAX Whitmore Lake MI. 48189 | (313) 449 8288 (313) 449 9208