Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!isgate!krafla!sigurasg From: sigurasg@rhi.hi.is (Sigurdur Asgeirsson) Newsgroups: comp.sys.mac.programmer Subject: Linker error in MPW C++ Summary: MPW fails to link demo prog Message-ID: <3239@krafla.rhi.hi.is> Date: 11 Jun 91 17:12:00 GMT Organization: University of Iceland Lines: 30 When I tried to compile the count demo program that comes with the C++ compiler (front) from apple I got the following error: ### link: Error: Undefined entry, name: (Error 28) "_CType" Referenced from: eatwhite__7istreamFv in file: fx:MPW:Libraries:CLibraries:CPlusLib.o ### link: Errors prevented normal completion. ### MPW Shell - Execution of count.makeout terminated. ### MPW Shell - Execution of BuildProgram terminated. Later when I tried to compile a small program of my own I got the following (same) error: ### Link: Error: Undefined entry, name: (Error 28) "_CType" Referenced from: eatwhite__7istreamFv in file: fx:MPW:Libraries:CLibraries:CplusLib.o ### Link: Errors prevented normal completion. ### MPW Shell - Execution of prufa.makeout terminated. ### MPW Shell - Execution of BuildProgram terminated. I am new to both C++ and MPW, and I can't imagine whats wrong and any help would be greatly appreciated. I am using MPW Shell, C, C++ and ASM v. 3.1. -- sigurasg@rhi.hi.is | "Well you know, C isn't that hard, void (*(*f[])())() for Sigurdur Asgeirsson | instance defines f as an array of unspecified size, of | pointers to functions returning a pointer to a function | returnig void... I think" -- sigurasg@rhi.hi.is | "Well you know, C isn't that hard, void (*(*f[])())() for Sigurdur Asgeirsson | instance defines f as an array of unspecified size, of | pointers to functions returning a pointer to a function | returnig void... I think"