From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10052 invoked by alias); 4 Nov 2011 02:47:41 -0000 Received: (qmail 10042 invoked by uid 22791); 4 Nov 2011 02:47:40 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 02:47:26 +0000 Received: by iaae16 with SMTP id e16so783364iaa.0 for ; Thu, 03 Nov 2011 19:47:26 -0700 (PDT) Received: by 10.231.21.149 with SMTP id j21mr2871303ibb.29.1320374846149; Thu, 03 Nov 2011 19:47:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.33.12 with HTTP; Thu, 3 Nov 2011 19:47:05 -0700 (PDT) In-Reply-To: <4EB341A1.2070201@redhat.com> References: <4EB341A1.2070201@redhat.com> From: sandip gangakhedkar Date: Fri, 04 Nov 2011 02:47:00 -0000 Message-ID: Subject: Re: make fails on ubuntu 11.04 VM, To: Keith Seitz Cc: insight@sourceware.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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: 2011-q4/txt/msg00003.txt.bz2 Hi Keith, Thanks for your quick reply. I am using the last stable version of Insight - 6.8-1 and gdb v7.2 (fairly recent). Maybe, I'll check if the folks at gdb have an answer.. Thanks again for your suggestions. -Sandip On Fri, Nov 4, 2011 at 2:36 AM, Keith Seitz wrote: > On 11/03/2011 06:11 PM, sandip gangakhedkar wrote: > >> cc1: warnings being treated as errors >> linux-nat.c: In function =91linux_nat_info_proc_cmd=92: >> linux-nat.c:2879:10: error: ignoring return value of =91fgets=92, declar= ed >> with attribute warn_unused_result >> make[2]: *** [linux-nat.o] Error 1 >> make[2]: Leaving directory `/home/sandipg/insight-6.8-1/gdb' >> make[1]: *** [all-gdb] Error 2 >> make[1]: Leaving directory `/home/sandipg/insight-6.8-1' >> make: *** [all] Error 2 >> sandipg@sandipg-VirtualBox:~/insight-6.8-1$ make> =A0makelog >> cc1: warnings being treated as errors >> linux-nat.c: In function =91linux_nat_info_proc_cmd=92: >> linux-nat.c:2879:10: error: ignoring return value of =91fgets=92, declar= ed >> with attribute warn_unused_result >> make[2]: *** [linux-nat.o] Error 1 >> make[1]: *** [all-gdb] Error 2 >> make: *** [all] Error 2 > > That's a gdb error. Normally, I would advise you to try the gdb mailing l= ist > for better advice, but I suspect you may be attempting to build something > quite old... > > For Insight, definitely grab CVS HEAD or git. If you *really* want a > release, try grabbing the latest gdb release and copying the gdb/gdbtk and > libgui folders inside it. But I suspect it will be much easier for you to > just grab the latest sources. FWIW, I use this daily for my own work. > > Or you could pass "--disable-werror" to configure to suppress erroring on > warnings. > > If you need to get your specific error fixed, try emailing the gdb@ maili= ng > list. > > Keith > --=20 -Sandip-