From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3800 invoked by alias); 27 May 2012 06:19:58 -0000 Received: (qmail 3792 invoked by uid 22791); 27 May 2012 06:19:57 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,TW_PM,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 May 2012 06:19:44 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SYWpH-0007hA-1q for insight@sources.redhat.com; Sun, 27 May 2012 08:19:39 +0200 Received: from 24-158-184-117.dhcp.jcsn.tn.charter.com ([24.158.184.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 May 2012 08:19:39 +0200 Received: from gds by 24-158-184-117.dhcp.jcsn.tn.charter.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 27 May 2012 08:19:39 +0200 To: insight@sources.redhat.com From: Gene Smith Subject: Re: Error while "make all": "make[2]: *** No rule to make target `/libreadline.a', needed by `gdb'. Stop." Date: Sun, 27 May 2012 06:19:00 -0000 Message-ID: References: <4FBEC003.2000902@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 In-Reply-To: X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2012-q2/txt/msg00038.txt.bz2 David Fernandez wrote, On 05/25/2012 06:10 PM: > Hi Keith, > > On Fri, May 25, 2012 at 12:10 AM, Keith Seitz wrote: >> On 05/24/2012 03:45 PM, David Fernandez wrote: >> >>> I get the sources by doing: >>> yumdownloader --source insight >>> rpm -i insight-7.4.50-1.20120403cvs.fc16.src.rpm >>> cd ~/rpmbuild/SPECS; rpmbuild -bp insight.spec >>> cd ~/rpmbuild/BUILDROOT/arm-eabi/insight-7.4.50 Actually cd ~/rpmbuild/BUILDROOT mkdir -p arm-eabi/insight-7.4.50 cd arm-eabi/insight-7.4.50 >>> ~/rpmbuild/BUILD/insight-7.4.50/configure --target=arm-eabi -v 2>&1 | >>> tee configure.out I see the same error. Doing this instead allows it to build as is: ~/rpmbuild/BUILD/insight-7.4.50/configure --with-system-readline --target=arm-eabi -v 2>&1 | tee configure.out The problem is that one of the patches to gdb/Makefile takes out the path to readline. If I put it back in it also works w/o the --with-system-readline: Remove last patch from rpmbuild/SOURCES/insight-7.4.50-readline-system.patch. Are you trying to build an RPM for arm-eabi? I've never built an RPM (or maybe once long ago) so what is the next step? "make install" ?? I use insight with embedded arm-eabi constantly but have made my own custom version that works well from a CVS snapshot and codesourery's gdb source. -gene