X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; q=dns; s=default; b=sGM yRjayONqSaIqsgc4bbN6zDdkzEbX2QWjVuMhI4ZIwJ08yXqLsRU7xW9etb/3a1bv 8kW2qO4zp3ZjlOi33ZDAAgJqaOoxqUYIZ51yn+5PEezMgpOM8uqAYnwowQPxGEmH 0WRKxh3lbl9fcOSEAMUjimpL21Zo/KbcRWuAwkak= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; s=default; bh=gg+1YM6fg BVv7cWHY6TaaBuGYeM=; b=TUs917gw2G9z4/QQ3vpP4LH25SpoO4P/xLgD0Abfc WyY3CNQyHkFDsIGdTfaHd1ZRajwk48xcuHZcWqa+df6/CJ3UBj6O4YY29xr1mvrn Bxy5r5jjlxFz6dI59kAfw5n44FOFySo+JXCCri/M3YNB7G3UsuaAKXGYvpvIuNDP Jk= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.8 required=5.0 tests=AWL,BAYES_00,CHARSET_FARAWAY_HEADER,FREEMAIL_FROM,MIME_CHARSET_FARAWAY,NO_RELAYS autolearn=ham version=3.3.2 X-HELO: mail-la0-f54.google.com MIME-Version: 1.0 X-Received: by 10.152.170.166 with SMTP id an6mr17699876lac.20.1378059480504; Sun, 01 Sep 2013 11:18:00 -0700 (PDT) Date: Sun, 1 Sep 2013 22:18:00 +0400 Message-ID: Subject: Unable to build setup.exe From: =?KOI8-R?B?7cHM2MfJ3sXXIOvJ0snMzA==?= To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=KOI8-R X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r81IIGK7004985 Hello, I am trying to build setup.exe following instructions provided in README file (http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/setup/README?cvsroot=cygwin-apps). So, I 1. Install latest 32-bit Cygwin from http://cygwin.com/install.html on Windows XP 2. Install all required packeges as described in README file 3. Configure (/path/to/setup/bootstrap.sh) 4. Run make and got the following error: CXX Exception.o CXX find.o CXX FindVisitor.o CXX filemanip.o In file included from /home/kirill/setup/ntdll.h:25:0, from /home/kirill/setup/filemanip.cc:31: /usr/i686-pc-mingw32/sys-root/mingw/include/ddk/ntapi.h:49:15: error: conflicting declaration 'typedef void* PEXECUTION_STATE' In file included from /usr/i686-pc-mingw32/sys-root/mingw/include/windows.h:62:0, from /home/kirill/setup/win32.h:53, from /home/kirill/setup/filemanip.cc:30: /usr/i686-pc-mingw32/sys-root/mingw/include/winbase.h:1973:33: error: 'PEXECUTION_STATE' has a previous declaration as 'typedef DWORD* PEXECUTION_STATE' Makefile:908: recipe for target `filemanip.o' failed make[2]: *** [filemanip.o] Error 1 make[2]: Leaving directory `/home/kirill/setup-build' Makefile:953: recipe for target `all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kirill/setup-build' Makefile:711: recipe for target `all' failed make: *** [all] Error 2 This is not a big deal to fix it - I am just change PEXECUTION_STATE definition in ntapi.h file to PDWORD. And rerun the build from the beginning: 1. remove all files from build directory 2. Configure (/path/to/setup/bootstrap.sh) 3. Run make and got the new error: CXX window.o CXX csu_util/MD5Sum.o CXX csu_util/rfc1738.o CXX csu_util/version_compare.o CC regex/regex.o In file included from /home/Kirill/setup/regex/regex.c:65:0: /home/Kirill/setup/regex/regexec.c: In function 'set_regs': /home/Kirill/setup/regex/regexec.c:1421:5: error: implicit declaration of function 'alloca' [-Werror=implicit-function-declaration] /home/Kirill/setup/regex/regexec.c:1421:37: error: incompatible implicit declaration of built-in function 'alloca' [-Werror] /home/Kirill/setup/regex/regexec.c: In function 'build_trtable': /home/Kirill/setup/regex/regexec.c:3325:42: error: incompatible implicit declaration of built-in function 'alloca' [-Werror] cc1: all warnings being treated as errors Makefile:884: recipe for target `regex/regex.o' failed make[2]: *** [regex/regex.o] Error 1 make[2]: Выход из каталога `/home/Kirill/setup_build' Makefile:953: recipe for target `all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Выход из каталога `/home/Kirill/setup_build' Makefile:711: recipe for target `all' failed make: *** [all] Error 2 Could you please point me what I am doing wrong, and how this error can be fixed? -- 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