From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12191 invoked by alias); 24 Apr 2013 04:36:44 -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 12182 invoked by uid 89); 24 Apr 2013 04:36:44 -0000 X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_SM autolearn=ham version=3.3.1 Received: from mail-pa0-f53.google.com (HELO mail-pa0-f53.google.com) (209.85.220.53) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 24 Apr 2013 04:36:43 +0000 Received: by mail-pa0-f53.google.com with SMTP id bh4so923171pad.26 for ; Tue, 23 Apr 2013 21:36:42 -0700 (PDT) X-Received: by 10.69.11.197 with SMTP id ek5mr46012663pbd.19.1366778202000; Tue, 23 Apr 2013 21:36:42 -0700 (PDT) Received: from [192.168.1.128] ([115.196.207.249]) by mx.google.com with ESMTPSA id kd7sm1325669pbb.34.2013.04.23.21.36.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 23 Apr 2013 21:36:41 -0700 (PDT) Message-ID: <51776292.1040609@gmail.com> Date: Wed, 24 Apr 2013 14:31:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0a1 MIME-Version: 1.0 To: Yao Qi CC: "gdb-patches@sourceware.org" Subject: Re: [mingw CVS HEAD] build error as there is no sys/socket.h under MinGW References: <5175D5A2.3050604@gmail.com> <5175E0CE.6050509@codesourcery.com> In-Reply-To: <5175E0CE.6050509@codesourcery.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-04/txt/msg00725.txt.bz2 On 2013-4-23 9:15, Yao Qi wrote: > On 04/23/2013 08:28 AM, asmwarrior wrote: >> I just get a build error on CVS HEAD: >> >> mingw32-gcc -O0 -g -D__USE_MINGW_ACCESS -I. -I../../gdb/gdb -I../../gdb/gdb/common -I../../gdb/gdb/config -DLOCALEDIR="\"/mingw/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/gdb/../include/opcode -I../../gdb/gdb/../opcodes/.. -I../../gdb/gdb/../readline/.. -I../bfd -I../../gdb/gdb/../bfd -I../../gdb/gdb/../include -I../libdecnumber -I../../gdb/gdb/../libdecnumber -I../../gdb/gdb/gnulib/import -Ibuild-gnulib/import -IE:/code/python27/include -IE:/code/python27/include -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wno-format -Werror -c -o filestuff.o -MT filestuff.o -MMD -MP -MF .deps/filestuff.Tpo ../../gdb/gdb/common/filestuff.c >> ../../gdb/gdb/common/filestuff.c:31:24: fatal error: sys/socket.h: No such file or directory > > I can reproduce this build failure with my mingw32 gcc as well. It is > caused by recent committed patch "close-on-exec internal file > descriptors". For the reference sake, I've replied the failure in that > thread http://sourceware.org/ml/gdb-patches/2013-04/msg00683.html. > I can confirm that this build error was fixed by Tom in the CVS-HEAD. Yuanhui Zhang