From: csilvers@google.com (Craig Silverstein)
To: dj@redhat.com, drow@false.org
Cc: binutils@sourceware.org, csilvers@google.com, gdb@sourceware.org
Subject: Re: inflateInit?
Date: Thu, 10 Jul 2008 16:53:00 -0000 [thread overview]
Message-ID: <20080710165155.D15CA3F3058@localhost> (raw)
In-Reply-To: <20080710161418.GB16503@caradoc.them.org>
} Redirecting to binutils and Craig; I assume this is his patch from
} yesterday.
Yes it is, I'm sorry for the trouble.
I have code in the configure script for bfd that checks for the
existence of zlib (and zlib.h); if it doesn't find it, it turns off
the code in compress that you're running into.
It looks like that didn't work for you for some reason? Can you attach
your config.log script, that you got from building libbfd? Also, the
contents of your bfd-directory config.h would be helpful.
Oh, come to think of it, all that is probably working properly. The
issue looks to be that you're using libbfd.a instead of libbfd.so.
The .so has appropriate settings so that when you link against it,
it also pulls in libz.so (at least, as I understand how .so's work;
DT_NEEDED or something?) But .a's don't have that. I don't know
what the principled solution is -- have libbfd.a bring in libz.a, or
what -- but one solution that should work in the short term is to
just add libz.a to your link line.
craig
next prev parent reply other threads:[~2008-07-10 16:53 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-10 15:18 inflateInit? DJ Delorie
2008-07-10 16:14 ` inflateInit? Daniel Jacobowitz
2008-07-10 16:53 ` Craig Silverstein [this message]
2008-07-10 17:24 ` inflateInit? DJ Delorie
2008-07-10 18:52 ` inflateInit? Craig Silverstein
2008-07-10 19:24 ` inflateInit? DJ Delorie
2008-07-10 20:12 ` inflateInit? Daniel Jacobowitz
2008-07-10 20:36 ` inflateInit? Craig Silverstein
2008-07-10 22:11 ` inflateInit? Hans-Peter Nilsson
2008-07-11 0:56 ` inflateInit? Craig Silverstein
2008-07-12 18:28 ` inflateInit? H.J. Lu
2008-07-12 19:37 ` inflateInit? Craig Silverstein
2008-07-13 15:58 ` inflateInit? H.J. Lu
2008-07-13 19:34 ` inflateInit? Craig Silverstein
2008-07-13 19:47 ` inflateInit? H.J. Lu
2008-07-13 22:58 ` inflateInit? Craig Silverstein
2008-07-13 23:42 ` inflateInit? H.J. Lu
2008-07-10 20:40 ` inflateInit? Craig Silverstein
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=20080710165155.D15CA3F3058@localhost \
--to=csilvers@google.com \
--cc=binutils@sourceware.org \
--cc=dj@redhat.com \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
/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