From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9485 invoked by alias); 24 Mar 2004 20:26:56 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 9477 invoked from network); 24 Mar 2004 20:26:55 -0000 Received: from unknown (HELO mail007.syd.optusnet.com.au) (211.29.132.55) by sources.redhat.com with SMTP; 24 Mar 2004 20:26:55 -0000 Received: from lhosts (c211-30-226-107.rivrw4.nsw.optusnet.com.au [211.30.226.107]) by mail007.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i2OKQrQ19499 for ; Thu, 25 Mar 2004 07:26:54 +1100 Subject: Re: gcc From: Ken Foskey To: gcc-help@gcc.gnu.org In-Reply-To: <20040324141348.A5BA114C1CD@mailweb01.ibest.com.br> References: <20040324141348.A5BA114C1CD@mailweb01.ibest.com.br> Content-Type: text/plain Message-Id: <1080160012.19736.14.camel@froddo.foskey.org.au> Mime-Version: 1.0 Date: Wed, 24 Mar 2004 22:32:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00248.txt.bz2 On Thu, 2004-03-25 at 01:13, faltat@ibest.com.br wrote: > I am compiling C programs with gcc on cygwin. And it show this problem: > > /ecos-c/WINDOWS/TEMP/ccMydBah.o: In function `main': > /ecos-c/WINDOWS/TEMP/ccMydBah.o(.text+0x24): undefined reference to `clrscr' > /ecos-c/WINDOWS/TEMP/ccMydBah.o(.text+0x2c): undefined reference to `printf' > /ecos-c/WINDOWS/TEMP/ccMydBah.o(.text+0x34): undefined reference to `printf' > collect2: ld returned 1 exit status > > > What is happening? How i fix it? Don't know cannot guess. Perhaps the command line that caused this might help us understand what is happening. -- Thanks KenF OpenOffice.org developer