Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!snorkelwacker.mit.edu!mit-eddie!uw-beaver!zephyr.ens.tek.com!tekchips!tekcrl!scotth From: scotth@rocco.labs.tek.com (Scott Herzinger) Newsgroups: comp.sys.mac.programmer Subject: undefined __MAIN (MacApp 2.0, C++ 3.1, MPW 3.2b8) Message-ID: Date: 15 Feb 91 22:01:28 GMT Sender: news@tekchips.LABS.TEK.COM Distribution: na Organization: Tektronix Inc. Lines: 18 This question was answered some time ago; at the time it wasn't relevant to me, now it's biting me. I've just gotten back into a MacApp/C++ project. MABuild has started to terminate due to a linker error, complaining that I haven't provided an entry point and that __MAIN isn't defined. This started after I first used MPW Shell 3.2b8 and the interfaces on the System 6.0 beta CD. But the problem doesn't go away when I switch back to MPW 3.1. I've been off this project for several weeks and I'm rusty on some parts of the build process. The code hasn't changed and everything used to work just fine. Any clues as to what I've broken? Scott Herzinger scotth%crl.labs.tek.com@relay.cs.net Computer Research Lab, Tektronix, Inc. PO Box 500 MS 50-662, Beaverton, OR 97077