This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Rebuilding cygwin1.dll - error: "TRANSACTION_ALL_ACCESS" redefined [-Werror]
- From: Alexey Pavlov <alexpux at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 26 Oct 2013 10:14:01 +0400
- Subject: Re: Rebuilding cygwin1.dll - error: "TRANSACTION_ALL_ACCESS" redefined [-Werror]
- Authentication-results: sourceware.org; auth=none
- References: <52692BAC dot 5060800 at mandriva dot com> <20131024150921 dot GB24229 at calimero dot vinschen dot de> <CABEPuQJrD6e2xy18utjm2WqAoVc6seAKR88ocWhiqot3W54m5g at mail dot gmail dot com>
2013/10/24 Alexey Pavlov:
> 2013/10/24 Corinna Vinschen:
>> On Oct 24 16:16, Adam Cécile wrote:
>>> Hello,
>>>
>>> I'm unable to rebuild current cygwin1.dll:
>>>
>>> Running:
>>>
>>> rm -rf src/ && tar xvjf winsup-1.7.24.tar.bz2 && cd src && LANG=C
>>
>> 1.7.25 is current, not 1.7.24.
>>
>> You won't be able to build 1.7.25 with the most recent w32api packages
>> either. They introduced this incompatibility. Either downgrade
>> the w32api-* packages to the previous version, or try to build Cygwin
>> from CVS HEAD instead:
>>
>> http://cygwin.com/cvs.html
>>
>>
>
> Same errors from last cvs revision.
>
I see that some errors are gone by yesterday commits but new one present now:
In file included from /work/Cygwin/winsup/cygwin/cygtls.cc:20:0:
/work/Cygwin/winsup/cygwin/exception.h:12:25: error: redefinition of
‘struct _EXCEPTION_REGISTRATION_RECORD’
#define _exception_list _EXCEPTION_REGISTRATION_RECORD
^
In file included from /usr/include/w32api/minwindef.h:146:0,
from /usr/include/w32api/windef.h:8,
from /usr/include/w32api/windows.h:69,
from /work/Cygwin/winsup/cygwin/winlean.h:52,
from /work/Cygwin/winsup/cygwin/winsup.h:76,
from /work/Cygwin/winsup/cygwin/cygtls.cc:10:
/usr/include/w32api/winnt.h:3541:20: error: previous definition of
‘struct _EXCEPTION_REGISTRATION_RECORD’
typedef struct _EXCEPTION_REGISTRATION_RECORD {
^
In file included from /work/Cygwin/winsup/cygwin/exception.h:15:0,
from /work/Cygwin/winsup/cygwin/cygtls.cc:20:
/work/Cygwin/winsup/cygwin/include/exceptions.h:109:17: error: invalid
type in declaration before ‘;’ token
} exception_list;
^
/work/Cygwin/winsup/cygwin/../Makefile.common:43: recipe for target
'cygtls.o' failed
make[3]: *** [cygtls.o] Error 1
> Regards,
> Alexey.
>
>> Corinna
>>
>> --
>> Corinna Vinschen Please, send mails regarding Cygwin to
>> Cygwin Maintainer cygwin AT cygwin DOT com
>> Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple