From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18289 invoked by alias); 25 Mar 2013 07:39:39 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 18271 invoked by uid 89); 25 Mar 2013 07:39:26 -0000 X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,TW_SM autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 25 Mar 2013 07:39:24 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UK201-0005vq-Qs from Yao_Qi@mentor.com ; Mon, 25 Mar 2013 00:39:21 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 25 Mar 2013 00:39:22 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Mon, 25 Mar 2013 00:39:20 -0700 Message-ID: <514FFED6.5070708@codesourcery.com> Date: Mon, 25 Mar 2013 08:28:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: asmwarrior CC: Tom Tromey , Eli Zaretskii , Subject: Re: [MinGW-w64]Build gdb/ctf.c failed References: <83ip4s4ixc.fsf@gnu.org> <1363407692-18959-1-git-send-email-yao@codesourcery.com> <1363407692-18959-4-git-send-email-yao@codesourcery.com> <51492077.30307@codesourcery.com> <83sj3qyogk.fsf@gnu.org> <87vc8m7z1d.fsf@fleche.redhat.com> <514FA117.9030604@gmail.com> In-Reply-To: <514FA117.9030604@gmail.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2013-03/txt/msg00913.txt.bz2 On 03/25/2013 08:57 AM, asmwarrior wrote: > '_mkdir' [-Werror=implicit-function-declaration] > cc1.exe: all warnings being treated as errors > make[2]: *** [ctf.o] Error 1 > I installed mingw-w64-bin_i686-linux_20121031.tar.bz2 on my box and is able to reproduce this failure. > I found that _mkdir was declared in the file: direct.h in MinGW-w64 SDKs: > _CRTIMP int __cdecl _mkdir(const char *_Path); > I checked the msdn, and it says that "_mkdir" should be in . http://msdn.microsoft.com/en-us/library/2fkk4dzw(v=vs.80).aspx so looks mingw-w64 doesn't do something wrong. I am not familiar with mingw and mingw-64, and I'd like people familiar with mingw (Eli?) suggest what is appropriate fix to this issue. Maybe, we either have to include (with autconf checking) or import mkdir module in gnulib. -- Yao (齐尧)