Re: linking bfd statically
Leon Bottou <[email protected]>
| Newsgroups | gmane.lisp.lush.devel |
|---|---|
| Message-ID | <[email protected]> |
Should work now.
Recent versions of bfd no longer define type 'boolean'.
- Leon
On Friday 14 February 2003 01:40 pm, you wrote:
> Leon Bottou wrote:
> > The compiler barks because it did not get
> > the definition of 'boolean' 'true' and 'false'
> > from the bfd.h file.
>
> Okay, perhaps a change in the binutils package in Debian.
>
> > It usually contains:
> > typedef enum bfd_boolean {false, true} boolean;
> > but there are conflicts with
> > predefined boolean types in system packages.
>
> I think there were changes with boolean definition in gcc-3.2 to which
> Debian recently switched.
>
> > Which version of binutils do you have?
>
> I've include the info about binutils below. It shows the version
> number. I didn't notice this before, but the last sentence of the
> description forbids depending on the libbfd shared library.
>
> > I changed the cvs (and the configure script)
> > in the hope to help bfd.h do the right thing.
> > Let me know.
>
> I see where the configure script checks for stdbool.But, the current
> CVS source still fails to compile. I'm attaching the build log. It has
> the same filename as the previous log, it is generated by an build
> attempt incorporating your changes today.
>
> Thanks again for your help!
>
> kevin@pup:~> apt-cache show binutils-dev
> Package: binutils-dev
> Priority: extra
> Section: devel
> Installed-Size: 1044
> Maintainer: Christopher C. Chimelis <[email protected]>
> Architecture: i386
> Source: binutils
> Version: 2.13.90.0.18-1
> Replaces: libbfd-dev, libc5-dev
> Provides: libbfd-dev
> Depends: binutils (= 2.13.90.0.18-1)
> Conflicts: libbfd-dev
> Filename: pool/main/b/binutils/binutils-dev_2.13.90.0.18-1_i386.deb
> Size: 371020
> MD5sum: e96848f2604ccc85f9ccf9bdb237a434
> Description: The GNU binary utilities (BFD development files)
> This package includes header files and static libraries necessary to
> build
> programs which use the GNU BFD library, which is part of binutils.
> Note
> that building Debian packages which depend on the shared libbfd is
> Not
> Allowed.
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en