home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / oop / macapp3 / 376 < prev    next >
Encoding:
Text File  |  1993-01-08  |  4.4 KB  |  118 lines

  1. Newsgroups: comp.sys.mac.oop.macapp3
  2. Path: sparky!uunet!psinntp!cci632!sdk
  3. From: sdk@cci632.cci.com (Stephen Knight)
  4. Subject: Re: Link error
  5. Message-ID: <1993Jan8.141845.26615@cci632.cci.com>
  6. Summary: its a segmentation problem.
  7. Organization: [Computer Consoles, Inc., Rochester, NY
  8. References: <726455219.5603667@AppleLink.Apple.COM>
  9. Date: Fri, 8 Jan 1993 14:18:45 GMT
  10. Lines: 106
  11.  
  12. In article <726455219.5603667@AppleLink.Apple.COM> LANGFORD@AppleLink.Apple.COM (Paradigm Publishing, B Langford,PAS) writes:
  13. >Hi, My name is Jungho.
  14. >I have compiled an application, Skeketon, with 3 different options, but I got
  15. >nothing but failure.
  16. >Please, let me know how I can make this case work.
  17. >Note:  - The current version of MPW Shell being used is MPW Shell 3.2.3 from
  18. >E.T.O. 8.
  19. >   - MacApp 3.0 is used.
  20. >The following is what I did:
  21. >===================o First trial
  22. > MABuild "Skeleton" -NoPasLoad -Save -Debug -SYM -Names
  23. >MABuildTool - v. 3.0.1 Release 6/10/92          Start: 4:39:27 PM 1/7/93
  24. >Copyright Apple Computer, Inc. 1986-1992
  25. >All Rights Reserved.
  26. >AutoSaving...
  27. >Target Folder: "RAM Disk:Keystone:.Debug Sym:"
  28. >Making:        Skeleton.MAMake
  29. >Linking:       Skeleton
  30. >### Sun:MPW:Tools:Link: Error: Jump table offset into code segment is greater
  31. >than 32K. (Error 50) C2PSTR
  32. >### Sun:MPW:Tools:Link: Error: Jump table offset into code segment is greater
  33. >than 32K. (Error 50) p2cstr
  34. >### Sun:MPW:Tools:Link: Error: Jump table offset into code segment is greater
  35. >than 32K. (Error 50) c2pstr
  36. >### Sun:MPW:Tools:Link: Errors prevented normal completion.
  37. >### MPW Shell - Command " " was not found.
  38. >### MPW Shell - Execution of RAM Disk:Keystone:.Debug Sym:Skeleton.MakeIt
  39. >terminated.
  40. >### MPW Shell - Execution of MABuild terminated.
  41.  
  42.   I've gotten this error before and it has turned out to be a segmentation
  43. problem.  You have too many/big routines trying to go into one segment and
  44. the linker is blowing out at the routines it's telling you about.  The 
  45. easiest way I know of to see your segmentation layout is to use MacBrowse
  46. to parse your code and then do a "Show Segments".
  47.  
  48. >===================o Second trial with  option -Link "-model far"
  49. > MABuild "Skeleton" -Link "-model far"  -NoPasLoad -Save -Debug -SYM -Names
  50. >MABuildTool - v. 3.0.1 Release 6/10/92          Start: 4:41:05 PM 1/7/93
  51. >Copyright Apple Computer, Inc. 1986-1992
  52. >All Rights Reserved.
  53. >AutoSaving...
  54. >Target Folder: "RAM Disk:Keystone:.Debug Sym:"
  55. >Making:        Skeleton.MAMake
  56. >Linking:       Skeleton
  57. >### Sun:MPW:Tools:Link: Error: Method table optimization, definition not found:
  58. >(Error 58) %_SUPERCLASSTABLE
  59. >### Sun:MPW:Tools:Link: Errors prevented normal completion.
  60. >### MPW Shell - Command " " was not found.
  61. >### MPW Shell - Execution of RAM Disk:Keystone:.Debug Sym:Skeleton.MakeIt
  62. >terminated.
  63. >### MPW Shell - Execution of MABuild terminated.
  64.   Last I knew (which was a while ago), the link "-modal far" was not the
  65. most trustworthy.
  66.  
  67. >===================o Third trial with -ModelFar
  68. > MABuild "Skeleton" -ModelFar -NoPasLoad -Save -Debug -SYM -Names
  69. >MABuildTool - v. 3.0.1 Release 6/10/92          Start: 4:41:53 PM 1/7/93
  70. >Copyright Apple Computer, Inc. 1986-1992
  71. >All Rights Reserved.
  72. >AutoSaving...
  73. >Target Folder: "RAM Disk:Keystone:.S7NmDbDmUnPeRaTeSmfCfD:"
  74. >Making:        Skeleton.MAMake
  75. >### Sun:MPW:Tools:Make - IO error trying to get file info for "Sun:MacApp
  76. >3.0.1:Libraries:.S7NmDbDmUnPeRaTeSmfCfD:MacApp.lib"
  77. ># Directory not found (OS error -120)
  78. >### Sun:MPW:Tools:Make - IO error trying to get file info for "Sun:MacApp
  79. >3.0.1:Libraries:.S7NmDbDmUnPeRaTeSmfCfD:Debug.rsrc"
  80. ># Directory not found (OS error -120)
  81. >### Sun:MPW:Tools:Make - IO error trying to get file info for "Sun:MacApp
  82. >3.0.1:Libraries:.S7NmDbDmUnPeRaTeSmfCfD:Defaults.rsrc"
  83. ># Directory not found (OS error -120)
  84. >### Sun:MPW:Tools:Make - IO error trying to get file info for "Sun:MacApp
  85. >3.0.1:Libraries:.S7NmDbDmUnPeRaTeSmfCfD:MacApp.rsrc"
  86. ># Directory not found (OS error -120)
  87. >### Sun:MPW:Tools:Make - IO error trying to get file info for "Sun:MacApp
  88. >3.0.1:Libraries:.S7NmDbDmUnPeRaTeSmfCfD:ResourceLib.rsrc"
  89. ># Directory not found (OS error -120)
  90. >MAKE of Skeleton failed: Thursday, January 7, 1993 4:42:05 PM
  91. >### MPW Shell - Execution of MABuild terminated.
  92.  
  93.   This looks like you didn't do a "mabuild -autobuild..." which means that
  94. you're missing the appropriate libraries.
  95.  
  96. Hope this helps.
  97.  
  98. steve knight
  99. sdk@cci.com
  100.