public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@gmail.com>
To: kamaraju kusumanchi <raju.mailinglists@gmail.com>
Cc: binutils@sourceware.org
Subject: Re: implicit declaration of function `compressBound'
Date: Tue, 15 Feb 2011 07:44:00 -0000	[thread overview]
Message-ID: <20110215074356.GX7651@bubble.grove.modra.org> (raw)
In-Reply-To: <AANLkTim1sPZaVWOgWWuYn3o+iTGCohP=K+nCnhhb-HAV@mail.gmail.com>

On Mon, Feb 14, 2011 at 10:54:41PM -0500, kamaraju kusumanchi wrote:
> On Mon, Feb 14, 2011 at 10:53 PM, kamaraju kusumanchi
> <raju.mailinglists@gmail.com> wrote:
> > On Mon, Feb 14, 2011 at 6:04 PM, Alan Modra <amodra@gmail.com> wrote:
> >> On Mon, Feb 14, 2011 at 12:36:56PM -0500, kamaraju kusumanchi wrote:
> >>> <munge1>/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

      reply	other threads:[~2011-02-15  7:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-14 17:37 kamaraju kusumanchi
2011-02-14 23:05 ` Alan Modra
2011-02-15  3:54   ` kamaraju kusumanchi
2011-02-15  3:55     ` kamaraju kusumanchi
2011-02-15  7:44       ` Alan Modra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110215074356.GX7651@bubble.grove.modra.org \
    --to=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=raju.mailinglists@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).