This is the mail archive of the
mailing list for the Cygwin project.
- From: Damien Doligez <damien dot doligez at inria dot fr>
- To: cygwin at cygwin dot com
- Date: Wed, 12 Jun 2013 13:53:31 +0200
- Subject: BFD library
A long time ago, Yaakov wrote:
> While you're at it, you could fix the
> false negative in the bfd detection by adding -lintl to the
> libraries in the second hasgot test.
I just tried to do that, but when I #include <bfd.h> in any C program,
I get an error:
/usr/include/bfd.h:37:2: error: #error config.h must be included before this header
because bfd.h contains:
/* PR 14072: Ensure that config.h is included first. */
#if !defined PACKAGE && !defined PACKAGE_VERSION
#error config.h must be included before this header
So bfd.h demands that I include a <config.h> file first, but I have no
idea which <config.h>. I found two in /usr/include, but none of them
has anything to do with BFD or binutils, and they don't define PACKAGE
or PACKAGE_VERSION anyway.
What am I missing?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple