home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!convex!news.utdallas.edu!corpgate!crchh327!bnr.ca!holiday
- From: holiday@bnr.ca (Matthew Holiday)
- Subject: Re: MPW 3.2 Linker Errors
- Message-ID: <1992Aug20.141627.24976@bnr.ca>
- Followup-To: comp.sys.mac.programmer
- Sender: holiday@crchh82 (Matthew Holiday)
- Nntp-Posting-Host: crchh82
- Reply-To: holiday@bnr.ca
- Organization: Bell-Northern Research, Richardson, TX
- References: <Bt6wy6.3n3@news.larc.nasa.gov>
- Date: Thu, 20 Aug 1992 14:16:27 GMT
- Lines: 24
-
- In article <Bt6wy6.3n3@news.larc.nasa.gov>, wjb@cscsun2.larc.nasa.gov (William J. Bene) writes:
- |> I have a C program with about 15 different modules which I have successfully
- |> compiled and executed using MPW 3.2. After adding a few functions to one of
- |> the files I get the following errors while linking:
- |>
- |> ### While reading file "Main.c.o"
- |> ### Link: Error: 16-bit reference offset out of range. (Error 114) at $0001E
- |> in main
- |> ### Link: Error: 16-bit reference offset out of range. (Error 114) at $0002A
- |> in main
- |> ### Link: Error: 16-bit reference offset out of range. (Error 114) at $0003A
- |> in main
- |> (and it continues on...)
- |>
- |>
-
- Add "#pragma segment" directives to break up your tool/program, and also try
- compiling each module with the -m option (if you do have large arrays). I've
- encountered this problem often when porting Unix tools to MPW.
-
- --
- Matt Holiday #include <std/disclaimer>
- holiday@bnr.ca
- BNR Richardson, TX
-