From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4748 invoked by alias); 4 Nov 2011 01:37:06 -0000 Received: (qmail 4740 invoked by uid 22791); 4 Nov 2011 01:37:05 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 01:36:46 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pA41ajfj013041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 3 Nov 2011 21:36:45 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pA41aXW1009995 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 3 Nov 2011 21:36:40 -0400 Message-ID: <4EB341A1.2070201@redhat.com> Date: Fri, 04 Nov 2011 01:37:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.0 MIME-Version: 1.0 To: sandip gangakhedkar CC: insight@sourceware.org Subject: Re: make fails on ubuntu 11.04 VM, References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit 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/msg00002.txt.bz2 On 11/03/2011 06:11 PM, sandip gangakhedkar wrote: > cc1: warnings being treated as errors > linux-nat.c: In function ‘linux_nat_info_proc_cmd’: > linux-nat.c:2879:10: error: ignoring return value of ‘fgets’, declared > 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> makelog > cc1: warnings being treated as errors > linux-nat.c: In function ‘linux_nat_info_proc_cmd’: > linux-nat.c:2879:10: error: ignoring return value of ‘fgets’, declared > 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 list 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@ mailing list. Keith