TIP: Click on subject to list as thread! ANSI
echo: cis.os9.68000.osk
to: Mark Griffith 76070,41 (X)
from: LARRY OLSON 72227,3467
date: 1993-04-12 17:25:06
subject: #17896-#C_error_help

#: 17898 S12/OS9/68000 (OSK)
    12-Apr-93  17:25:06
Sb: #17896-#C_error_help
Fm: LARRY OLSON 72227,3467
To: Mark Griffith 76070,41 (X)

Mark,
   That sounds like what I ran into.  When looking at the assemble code
generated, the error was pointing at the second statement in the program.

P_id - getpid();

Wpath2 = open("/w", 3);     <-- This is where the error came in

 The code was:
   moveq.l #3,d1 :2

   lea_64(pc),a0   <-- Here is the VALUE OUT OF RANGE ERROR    move.l a0,d0 :2
   bsr open

 The only other possibility I could think of was the fact that Wpath2 would be
the last variable name, if the names were sorted, and it for some reason was
out of range when linking. I think I will be running into the error again as I
add more to the program, and if I do, I will try renaming the variable, and see
if the error transfers to the new last in line variable.

larry

There are 2 Replies.

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.