[comp.sys.mac.programmer] UNKNOWN ERROR IN MPW - DANGER DANGER DANGER

fore@athena.cs.uga.edu (Howard Fore) (12/19/90)

Once again I have been confounded by MPW's short and perhaps too concise
error messages...

When linking MPW C code while creating a DA, I get the following error
message whenever I add any Handle manipulation code :

###Link : Error : Data Initialization code is not being called (error 57)

can anyone enlighten me as to what I'm doing wrong?

I've included a copy of the makefile below...

----

	  

#   File:       CarltonDA.make
#   Target:     CarltonDA
#   Sources:    CarltonDA.c CarltonDA.r
#   Created:    Wednesday, December 12, 1990 4:44:09 PM


OBJECTS = CarltonDA.c.o

CarltonDA f CarltonDA.make CarltonDA.DRVW CarltonDA.r
      Rez -rd -c DMOV -t DFIL CarltonDA.r -o CarltonDA

CarltonDA.c.o f CarltonDA.make CarltonDA.c
      C CarltonDA.c -o CarltonDA.c.o -r {SymOptions}

CarltonDA.DRVW        f       CarltonDA.c.o
      Link -w -rt DRVW=0 6
	 -sg CarltonDA 6
       "{Libraries}"DRVRRuntime.o      # This must preceed CRuntime.o 6?
	 CarltonDA.c.o 6
       "{CLibraries}"CRuntime.o 6
       "{Libraries}"Interface.o 6
       -o CarltonDA.DRVW -c "????" -t "????"


----
Any suggestions?


-- 


------------------------------------------------------------------------------
Howard Fore   fore@athena.cs.uga.edu    (128.192.4.49)