From owner-freebsd-questions Tue Oct 30 8:57:57 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 73DAB37B411 for ; Tue, 30 Oct 2001 08:57:46 -0800 (PST) Received: from [212.238.77.116] (helo=buffy.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 15ycCs-00049C-00; Tue, 30 Oct 2001 16:57:42 +0000 Received: by tanya.raggedclown.net (Ragged Clown Mailhost, from userid 500) id B396811E6; Tue, 30 Oct 2001 17:53:06 +0100 (CET) Date: Tue, 30 Oct 2001 17:53:06 +0100 From: Cliff Sarginson To: Lucas Bergman Cc: Sam Suh , questions@freebsd.org Subject: Re: Question Message-ID: <20011030175306.A6302@raggedclown.net> References: <3BDE7140.E1DA5ABB@in.ceeyes.com> <3BDEC1EE.672DCC9@bigstudios.com> <15326.53671.687708.44817@apu.five.sight> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <15326.53671.687708.44817@apu.five.sight>; from lucas@fivesight.com on Tue, Oct 30, 2001 at 10:13:27AM -0600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 30, 2001 at 10:13:27AM -0600, Lucas Bergman wrote: > > > i use the getch() function as follows > > > > > > char ch; > > > ch = getch(); > > > > > > but the compiller is not supporting the getch(), as it shows an > > > error say UNDEFINED REFERENCE 'getch'/ > > > > Hi, 'man 3 getch' reveals to me that you need to include . > > Have you included that? > > You're on the right track, but "undefined reference" is a linker > error; no include directive is going to fix it. > > Lucas Mmm, close, but not quite a cigar. The undefined reference could be because of a missing macro definition, which may be included in an include file. I am not saying that this is the case with this problem. Just trying to maintain accuracy :) -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message