X-Spam-Check-By: sourceware.org Date: Wed, 20 Dec 2006 13:06:31 -0800 From: David Rothenberger Subject: Error building cygwin DLL from CVS HEAD To: cygwin Message-id: <4589A5D7.3000701@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 , which comes from /usr/include/bfd.h. This, in turn, includes , which again comes from /usr/include/ansidecl.h. /usr/include/ansidecl.h does *not* include ATTRIBUTE_PACKED. Next, dumper.cc includes , 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 , 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 knghtbrd: QW's netcode is doing strange things to me. :P This is unusual? ;> 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/