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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=VGGUaGxX7jbYQ8wHYbhbQySERj1C57caYRmKaYeGaKO 6s4gyEW7tlAHTAebn9GBaIb3pGU3Z2bMU9kGokUDriRbhvqD0ihh18RPghSWCsRb j3IIh1tD7HJammYFV5I5UoTxa5VM/8bKdEcfiSW5QFgAelfOI/KpWyeCpsjoAT6o = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=BqzYuC6d0OkG7SfgSzLWIigZFFU=; b=r3+jZtr62zG39NaYD uEwSlFCf3TDCckUhxNojIzZLQtgtv9xzqyDifGM9HtekOmE6WsrroAwVdj+nV4LG UMcvj2FszJRJCDOr/1PldqFyFJzMPazNslCwZ05+D5Q+kQe52dUZQp/czqrCYp6k 71segS5TNgjtvKrbY4n72hEdDQ= 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=0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RDNS_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mail-bk0-f44.google.com X-Received: by 10.204.200.138 with SMTP id ew10mr72728bkb.34.1384969706023; Wed, 20 Nov 2013 09:48:26 -0800 (PST) Message-ID: <528CF5E5.90806@gmail.com> Date: Wed, 20 Nov 2013 18:48:21 +0100 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: make exits with error 127 to shell, 0xc0000022 in gdb. References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Il 11/20/2013 5:48 PM, Brian Minton ha scritto: > make (/usr/bin/make.exe) is not working. It immediately exits with a > shell return value of 127. If I run it under gdb, it gives: > Reading symbols from /usr/bin/make...(no debugging symbols found)...done. > (gdb) run > Starting program: /usr/bin/make > [New Thread 283768.0x26228] > During startup program exited with code 0xc0000022. > > I downloaded the source for gnu make 4.0 and compiled it, and get the > same error. > Reading symbols from /usr/local/bin/make...done. > (gdb) run > Starting program: /usr/local/bin/make > [New Thread 4044.0x4512c] > During startup program exited with code 0xc0000022. > > > The interesting thing is that both the existing /usr/bin/make and the > new make that I built from source don't list cygwin DLLs in their > dependencies with ldd. ldd will not show missing dll's, it is a know deficiency > > $ ldd /usr/bin/make (the one that came with cygwin) > ntdll.dll => /cygdrive/c/Windows/SYSTEM32/ntdll.dll (0x771a0000) > kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll (0x759b0000) > KERNELBASE.dll => /cygdrive/c/Windows/system32/KERNELBASE.dll > (0x754d0000) > use instead cygcheck /usr/bin/make you can also use http://www.dependencywalker.com/ in some nasty case were dll's are all there but in the wrong version and missing some function calls Regards MArco Regards Marco -- 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