Error building cygwin DLL from CVS HEAD

Eric Blake ebb9@byu.net
Thu Dec 21 03:45:00 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to David Rothenberger on 12/20/2006 2:06 PM:
> 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

I'm currently building with this workaround patch, but yes, it would be
nice to be fixed...
Index: winsup/utils/dumper.cc
===================================================================
RCS file: /cvs/src/src/winsup/utils/dumper.cc,v
retrieving revision 1.12
diff -u -p -r1.12 dumper.cc
- --- winsup/utils/dumper.cc 25 Oct 2004 15:49:36 -0000 1.12
+++ winsup/utils/dumper.cc 21 Dec 2006 03:33:50 -0000
@@ -10,6 +10,9 @@
 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
 details. */
+#ifndef ATTRIBUTE_PACKED
+# define ATTRIBUTE_PACKED __attribute__((__packed__))
+#endif
 #include <bfd.h>
 #include <elf/common.h>
 #include <elf/external.h>
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFigDq84KuGfSFAYARAmD0AJ9js1na7x0GnCzimJfTcwwPH6+70wCfV1cU
ie7qKQK8M7UpukaS6QDXMfI=
=nG+/
-----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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /