delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/20/16:07:15

X-Spam-Check-By: sourceware.org
Date: Wed, 20 Dec 2006 13:06:31 -0800
From: David Rothenberger <daveroth AT acm DOT org>
Subject: Error building cygwin DLL from CVS HEAD
To: cygwin <cygwin AT cygwin DOT com>
Message-id: <4589A5D7.3000701@acm.org>
MIME-version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

I'm encountering an error while trying to build dumper.cc. This is with
the latest CVS HEAD.

In file included from /usr/src/cygwin/src/winsup/utils/dumper.cc:16:
/usr/src/cygwin/src/include/elf/external.h:248: error:
`ATTRIBUTE_PACKED' does not name a type

It seems that dumper.cc includes <bfd.h>, which comes from
/usr/include/bfd.h. This, in turn, includes <ansidecl.h>, which again
comes from /usr/include/ansidecl.h. /usr/include/ansidecl.h does *not*
include ATTRIBUTE_PACKED.

Next, dumper.cc includes <ansidecl.h>, which comes from CVS. This does
define ATTRIBUTE_PACKED, but is not actually included since ansidecl.h
was previously included from /usr/include.

Finally, dumper.cc includes <elf/external.h>, which comes from CVS and
uses the undefined ATTRIBUTE_PACKED.

Can anyone give advice about how to fix this? Should I be adding
"-isystem $$s/include" to FLAGS_FOR_TARGET?

- --
David Rothenberger                spammer? -> spam AT daveroth DOT dyndns DOT org
GPG/PGP: 0x92D68FD8, DB7C 5146 1AB0 483A 9D27 DFBA FBB9 E328 92D6 8FD8

<Endy> knghtbrd: QW's netcode is doing strange things to me. :P
<knghtbrd> This is unusual?  ;>
<Endy> Not really. :P
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRYml173xOW8bc2dhAQifPggArBpfsSRpiwWs/xlZG7ocI9qna6LmdClE
zBhHOo5tDTxPt3EYXV8L0qkSUQISoAlyjdqMSZXwhml3AhvMmfc/hAwPjlQJKXi3
Rb7GImsSn9H5QF4mQtNop2W68pAk3j9pwufsm/E2ZIqfCoETd2NMIBSDBJv7ddAj
KCRC0Ms1EcuSP6C2yIYHoa2svdmgZIrhw8WAUqiCvP0bBo0OBrANgWZxEO7FZXEE
ZVQfTknFdNOzrUYlfTJL+qIwHZTGr5SsIPbrUccFB6wfctngNDEJD13CAbiEH0f1
wN9m+36qnATdTLmFqrWJyWQas/l36q2uh2iMBU/HO+5qjIBwfkBCJA==
=UyJr
-----END PGP SIGNATURE-----


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

- Raw text -


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