Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!zephyr.ens.tek.com!tektronix!reed!bowman From: bowman@reed.UUCP (Eric Bowman) Newsgroups: comp.sys.mac.programmer Subject: C++ load/dump, once again, once again Message-ID: <16485@reed.UUCP> Date: 10 Jun 91 02:02:50 GMT Organization: Reed College, Portland OR Lines: 52 A couple of weeks ago, I posted I was having problems getting dump/load to work; I was told I needed the 3.2 libraries. Well, I got them off of the system 7 beta CD. Here's the current configuration: MPW Shell version 3.2b12 MPW CFront version 1.0 MPW C version 3.2b1 MPW Link version 3.2b6.4 All running under System 7.0, on a IIcx. When I link, I get the following error (the same one I got before): ### While reading file ":SymObj:TApplication.cp.o" ### Link: Error: Bad object file: (Error 89) inconsistent declaration of a ### file object ### Link: Errors prevented normal completion. ### MPW Shell - Execution of AppDebug.makeout terminated. ### MPW Shell - Execution of BuildProgram terminated. To create the header file, I use the command: CPlus :includes:PopBioHeaders.h -dumpc :SymObj:PopBioHeaders.h.dump -o :SymObj:PopBioHeaders.h.o -sym on -i :includes: -mbg on -mark fcts -mf The sources are compiled as such: CPlus :cplussource:TApplication.cp -sym on -i :includes: -mbg on -mark fcts -mf -load :SymObj:PopBioHeaders.h.dump -o :SymObj:TApplication.cp.o And the link is as follows: Link -w -t APPL -c POPB -mf -ra IO=resPreload,resLocked -srt -sym on [ object files] "{CLibraries}"CSANELib.o "{CLibraries}"Math.o "{CLibraries}"CplusLib.o "{CLibraries}"StdCLib.o "{Libraries}"Interface.o "{Libraries}"Runtime.o -o AppDebug (option-d's omitted.) Are the libraries in the right order? Why the @#$!% doesn't this work? Any (more...) help would be greatly appreciated. later, bobo bowman@reed.{bitnet,UUCP,edu}