#: 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.
|