Path: utzoo!attcan!uunet!snorkelwacker!apple!sun-barr!newstop!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Lattice 5.04 problem Message-ID: <128264@sun.Eng.Sun.COM> Date: 22 Nov 89 05:43:20 GMT References: <1989Nov22.022406.9843@athena.mit.edu> Sender: news@sun.Eng.Sun.COM Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 13 In article <1989Nov22.022406.9843@athena.mit.edu> (Rich Carreiro) writes: >OK, it compiles fine, but when it begins to link I get: >Undefined Symbol First Referenced >@main LIB:lcr.lib There is a prototype for main() in the stdlib.h file. Delete it and all will work as expected. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@Eng.Sun.COM These opinions are my own and no one elses, but you knew that didn't you. "If it didn't have bones in it, it wouldn't be crunchy now would it?!"