Date: Thu, 13 Aug 1998 10:52:32 +0300 (IDT) From: Eli Zaretskii To: Flatulator cc: djgpp AT delorie DOT com Subject: Re: please help me to compile an Objective-C program In-Reply-To: <35d25c2c.9025265@news.neosoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Thu, 13 Aug 1998, Flatulator wrote: > gcc -lobjc main.o Printer.o (Problem occurs here) ^^^^^^ This is your problem: you need to put -lobjc LAST on the link command line. See section 8.9 for more details.