[comp.sys.mac.programmer] Beginner needs help with MPW linker

jk3t+@andrew.cmu.edu (Jonathan King) (01/29/91)

Thanks to an amazing CMU site license, I am now able to use MPW and
MPW C, maybe.  My problem is this:  just after I installed MPW C, I
decided to build the included Sample program, as recommended on p. 14 of the
MPW C docs.  (I am using the makefile supplied with the compiler.)
Everything starts fine, the file compiles, the linker starts linking, 
and then--nothing.  The beachball stops spinning, disk activity halts, 
and it would seemt that the linker has stopped linking.  After 5 or so
minutes of this, I aborted with command-period.  The relevent output
looks like this:

# 5:16:24 PM ----- Build of sample.
# 5:16:24 PM ----- Analyzing dependencies.
# 5:16:28 PM ----- Executing build commands.
    C Sample.c -o Sample.c.o -r
    Link -o Sample Sample.c.o 
		"Kumquat:MPW:Libraries:CLibraries:"CRuntime.o 
		"Kumquat:MPW:Libraries:CLibraries:"CInterface.o 
		"Kumquat:MPW:Libraries:Libraries:"Interface.o

[Note:  I edited the above four lines for readability here.]

After I hit command-period, this appears.

### Link: Resource not found (OS error -192)  
### Link: Error: Resource I/O error, # (Error 6) setting resource attributes.
### Link: Errors prevented normal completion.
### MPW Shell - Execution of sample.makeout terminated.
### MPW Shell - Execution of BuildProgram terminated.

This also happens when I try to build the example MPW tool "Count" and
the example program "TESample".

Unfortunately, I can't find any information in either the shell or
compiler docs that tell me anything useful about this error, or even
what I might try.  

I *did* make sure that all the library files are where they should be,
and they do in fact seem to be there.  The exact same thing happens 
running under either Uni- or Multi-finder on my MacIIcx with 2 megs of memory,
running system 6.0.5 with no weird inits.  The version of both MPW and
the compiler is 3.1.  The docs are version 3.0.

Any help would be appreciated; I expect this problem isn't very
interesting to most so e-mail may be appropriate, although I am now reading
this group and will summarize here if I get any useful information.

Thanks,

jking