From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11225 invoked by alias); 23 Apr 2013 00:23:18 -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 11214 invoked by uid 89); 23 Apr 2013 00:23:18 -0000 X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-pa0-f42.google.com (HELO mail-pa0-f42.google.com) (209.85.220.42) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 23 Apr 2013 00:23:11 +0000 Received: by mail-pa0-f42.google.com with SMTP id kl13so94204pab.29 for ; Mon, 22 Apr 2013 17:23:10 -0700 (PDT) X-Received: by 10.68.221.200 with SMTP id qg8mr35108952pbc.58.1366676590483; Mon, 22 Apr 2013 17:23:10 -0700 (PDT) Received: from [192.168.0.104] ([124.160.24.211]) by mx.google.com with ESMTPS id wi6sm27008597pbc.22.2013.04.22.17.23.08 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Apr 2013 17:23:09 -0700 (PDT) Message-ID: <5175D5A2.3050604@gmail.com> Date: Tue, 23 Apr 2013 13:54: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: "gdb-patches@sourceware.org" Subject: [mingw CVS HEAD] build error as there is no sys/socket.h under MinGW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-04/txt/msg00695.txt.bz2 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 see there is no sys/socket.h in MinGW. I have no idea how to fix it. Yuanhui Zhang