delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/20/22:35:03

X-Spam-Check-By: sourceware.org
Message-ID: <458A00EA.9060304@byu.net>
Date: Wed, 20 Dec 2006 20:35:06 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Error building cygwin DLL from CVS HEAD
References: <4589A5D7 DOT 3000701 AT acm DOT org>
In-Reply-To: <4589A5D7.3000701@acm.org>
X-IsSubscribed: yes
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: 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 AT byu DOT 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/

- Raw text -


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