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: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 26 Oct 2013 02:25:30 -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> <CABEPuQLku+UFmoF2Wb6dUBvUEQw8sbmgG4mv-UiMgdSC=t+0TQ at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
On Sat, Oct 26, 2013 at 10:14:01AM +0400, Alexey Pavlov wrote:
>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
Feel free to provide patches. Simple compilation issues do not
require copyright assignment.
--
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