delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/12/07:53:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:content-type:content-transfer-encoding
:subject:date:message-id:to:mime-version; q=dns; s=default; b=rk
iGAuHqbC+dgDR6vGKxuRYwOIa8Ywe1chrYdvDv+x4N0ZXe6xI7vg6BCXl7sHxqFd
tDV7lYGYcinG4ZVH11Da6dKQ7E2CgUF2d32gIR80HKG+ZOS3U6WnJuvG8DcCeH9A
j4otlmnTufKbwFXq3K9W3smF8j/Zly7THfma9Wv0o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:content-type:content-transfer-encoding
:subject:date:message-id:to:mime-version; s=default; bh=3DBPoNls
cBYI71GVSvAjDmbrsrc=; b=vwwq7XpdaLcDP5jRxvJNVycStEarAVjgU10zzZyf
rTO8JxATH/Hn+Y1jI9BiJCSs9xhfWUDGhzKjGd032P9b0wtkZy7WNayAEeh8zxjV
eM6i8+qhbfm2P2/Lz1y6ro66sb2/Wvgk+q48m2sWHVN13gX7XOtY/sPdkZkyC2/t
D+U=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.1
From: Damien Doligez <damien DOT doligez AT inria DOT fr>
Subject: BFD library
Date: Wed, 12 Jun 2013 13:53:31 +0200
Message-Id: <C3C5F92E-3423-4DD1-9AB2-35EC39268346@inria.fr>
To: cygwin AT cygwin DOT com
Mime-Version: 1.0 (Apple Message framework v1283)
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r5CBrmZx010268

Hello all,

A long time ago, Yaakov wrote:

> While you're at it, you could fix the
> false negative in the bfd detection[3] 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
  #endif


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?

-- Damien


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019