Mail Archives: cygwin/2006/12/20/16:07:15
-----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 -