home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!decwrl!sdd.hp.com!usc!news!benton.prepress.com!usenet
- From: chris@benton.prepress.com (Christopher Knox)
- Newsgroups: comp.sys.mac.programmer
- Subject: Help ! MPW/MacApp Link Error
- Message-ID: <1992Aug12.183330.27512@prepress.com>
- Date: 12 Aug 92 18:33:30 GMT
- Sender: usenet@prepress.com (Usenet login)
- Organization: Pre-Press Technologies, Inc.
- Lines: 34
- Nntp-Posting-Host: chris
- X-Useragent: Nuntius v1.0
-
-
- ThinkC is so easy to use, it's boring. So let's try MPW/MacApp (ha ha).
-
- I'm trying to get a slow start on MacApp. So after two days of tutorial
- from
- a CD ROM (what happened to books, at least you can turn the page when
- you're
- done reading it !) and building the sample application I boldly decided
- to add
- some other code to it.
- It's a large chunk and is to be called from strategic places within the
- MacApp framework.
- So far so good. I fought my way through to extern "C" and -ModelFar but
- now I'm stuck.
- I'm calling one (!) routine without parameters in ...->IMyApplication.
- This routine is part of the large chunk of code.
- I get the following error:
-
- Making: Touch.MAMake
- Linking: Touch
- ### While reading file "HRDKNOX:MPW:Libraries:Libraries:RunTime.o"
- ### HRDKNOX:MPW:Tools:Link: Error: PC-relative edit, offset out of range.
- (Error 48) %__MAIN (260)
- Reference to: main in file: HRDKNOX:MPW:-Touch2:.S7TefCfD:MTouch.cp.o
- ### HRDKNOX:MPW:Tools:Link: Error: PC-relative edit, offset out of range.
- (Error 48) %__MAIN (260)
- Reference to: %__MAIN in file: ### HRDKNOX:MPW:Tools:Link: Errors
- prevented normal completion.
-
- Any suggestions ? Thanks.
-
- Desperate In CA.
- Chris Knox
- "Omne animal triste est post (or without) coitum"
-