From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20757 invoked by alias); 15 Feb 2011 07:44:11 -0000 Received: (qmail 20744 invoked by uid 22791); 15 Feb 2011 07:44:10 -0000 X-SWARE-Spam-Status: No, hits=-2.4 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-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 15 Feb 2011 07:44:04 +0000 Received: by pzk27 with SMTP id 27so1239539pzk.0 for ; Mon, 14 Feb 2011 23:44:03 -0800 (PST) Received: by 10.142.142.5 with SMTP id p5mr3927849wfd.257.1297755843405; Mon, 14 Feb 2011 23:44:03 -0800 (PST) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id w42sm5315035wfh.3.2011.02.14.23.44.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 23:44:02 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id ABD9B16DE62A; Tue, 15 Feb 2011 18:13:56 +1030 (CST) Date: Tue, 15 Feb 2011 07:44:00 -0000 From: Alan Modra To: kamaraju kusumanchi Cc: binutils@sourceware.org Subject: Re: implicit declaration of function `compressBound' Message-ID: <20110215074356.GX7651@bubble.grove.modra.org> Mail-Followup-To: kamaraju kusumanchi , binutils@sourceware.org References: <20110214230458.GT7651@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00162.txt.bz2 On Mon, Feb 14, 2011 at 10:54:41PM -0500, kamaraju kusumanchi wrote: > On Mon, Feb 14, 2011 at 10:53 PM, kamaraju kusumanchi > wrote: > > On Mon, Feb 14, 2011 at 6:04 PM, Alan Modra wrote: > >> On Mon, Feb 14, 2011 at 12:36:56PM -0500, kamaraju kusumanchi wrote: > >>> /unZipped/binutils-2.21/bfd/compress.c:100: warning: implicit > >>> declaration of function `compressBound' > >> > >> This ought to be defined in your system zlib.h > >> > > > > When I did > > > > $ grep compressbound /usr/include/zlib.h > > > > there are no hits. Where does the zlib.h usually reside on Sun Solaris > > 2.10? FWIW, binutils 2.20 compiled just fine. > > > > same with grep -i as well. I guess your zlib is too old. The ChangeLog on http://zlib.net says compressBound was added in 1.2.0. You can get a newer zlib from that site. -- Alan Modra Australia Development Lab, IBM