ralf@gmdzi.UUCP (Ralf Zimmer) (06/13/89)
Hi folks !
I'm trying to port a UNIX C-program with some 3000 functions
to the MAC with MPW 3.0.
Fortunately one can set the segment size to any value, so i haven't
to segment the program by hand. The size of the CODE is about 400K,
and of the GLOBALDATA about 100K. All works fine until the final link,
which says the following:
# 16:41:04 Uhr ----- Build of reduma.
# 16:41:04 Uhr ----- Analyzing dependencies.
# 16:41:12 Uhr ----- Executing build commands.
MC68000 Linker - v. 3.0 Release 1-Nov-1988 Start: 16:41:19 Uhr 13.6.1989
Copyright Apple Computer, Inc. 1985-1988
All Rights Reserved.
Reading files:
File: 1 "HD40:redsys:base:fed.o:cmain.o"
here are some other 104 files ...
File: 106 "HD40:MPW:Libraries:CLibraries:StdCLib.o"
Doing active analysis.
Max. depth of search: 16
Unreferenced symbols: 1036. Reported in file: "reduma.modlist".
Writing cross reference file.
Size of global data area: 93118
Input summary:
Read Max Bytes
2040 Strings
19 Str Blks 39026
4950 65535 Symbols 277200
191 ID-Sym Blks 195584
106 Files
2 Segments
4760 Modules
8729 65535 Ref. Lists 104748
Total bytes: 616558
3540 active and 97 visible entries of 4760 read.
2 segments, 97 Jump Table entries.
### link: Error: Jump Table Offset is out of range. (Error 50) putch
... here are another 95 of this error message
### link: Error: Jump Table Offset is out of range. (Error 50) _coIoctl
### link: Errors prevented normal completion.
There were 97 errors.
Execution required 45 seconds.
### MPW Shell - Execution of reduma.makeout terminated.
### MPW Shell - Execution of BuildProgram terminated.
The maplist of this link looks quite nice:
...
putch $9BDC size=$0058 JT=$0028(A5)
keydef $9C34 size=$005E
...
but all the modules in the error-list above appear with some
jumptable address in the map, which looks fine ...?
Does anybody know what happened here and how i can proceed?
Many Thanks for any answer (please use the following EMail-address)
Ralf
EMail: ralf@gmdzi.uucp