From owner-freebsd-questions@FreeBSD.ORG Sat Feb 18 20:51:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D22D16A422 for ; Sat, 18 Feb 2006 20:51:29 +0000 (GMT) (envelope-from jimmy@jamesbailie.com) Received: from smtp103.rog.mail.re2.yahoo.com (smtp103.rog.mail.re2.yahoo.com [206.190.36.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 43D8D43D53 for ; Sat, 18 Feb 2006 20:51:26 +0000 (GMT) (envelope-from jimmy@jamesbailie.com) Received: (qmail 5404 invoked from network); 18 Feb 2006 20:51:26 -0000 Received: from unknown (HELO ?70.29.126.205?) (jazzturk@rogers.com@70.29.126.205 with plain) by smtp103.rog.mail.re2.yahoo.com with SMTP; 18 Feb 2006 20:51:26 -0000 Message-ID: <43F788CD.9050100@jamesbailie.com> Date: Sat, 18 Feb 2006 15:51:25 -0500 From: James Bailie User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051218) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd@voidmain.net References: <43F68C7D.9010403@voidmain.net> <1140233843.982.21.camel@chaucer.jeays.ca> <43F74361.90109@voidmain.net> <43F75DF6.3050903@mac.com> <43F75F3C.7080903@voidmain.net> <43F76296.4010407@mac.com> <43F784AA.50206@voidmain.net> In-Reply-To: <43F784AA.50206@voidmain.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: getline function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2006 20:51:29 -0000 Tom Grove wrote: > ##Error## > /var/tmp//ccqxIZxQ.o(.text+0x25): In function `main': > : undefined reference to `readline' > ##Error## You forgot to pass -lreadline to the compiler. -- James Bailie http://www.jamesbailie.com