Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [mingw CVS HEAD] build error as there is no sys/socket.h under MinGW
@ 2013-04-23 13:54 asmwarrior
  2013-04-23 15:49 ` Yao Qi
  0 siblings, 1 reply; 3+ messages in thread
From: asmwarrior @ 2013-04-23 13:54 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mingw CVS HEAD] build error as there is no sys/socket.h under MinGW
  2013-04-23 13:54 [mingw CVS HEAD] build error as there is no sys/socket.h under MinGW asmwarrior
@ 2013-04-23 15:49 ` Yao Qi
  2013-04-24 14:31   ` asmwarrior
  0 siblings, 1 reply; 3+ messages in thread
From: Yao Qi @ 2013-04-23 15:49 UTC (permalink / raw)
  To: asmwarrior; +Cc: gdb-patches

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.

-- 
Yao (齐尧)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [mingw CVS HEAD] build error as there is no sys/socket.h under MinGW
  2013-04-23 15:49 ` Yao Qi
@ 2013-04-24 14:31   ` asmwarrior
  0 siblings, 0 replies; 3+ messages in thread
From: asmwarrior @ 2013-04-24 14:31 UTC (permalink / raw)
  To: Yao Qi; +Cc: gdb-patches

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-04-24  4:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-23 13:54 [mingw CVS HEAD] build error as there is no sys/socket.h under MinGW asmwarrior
2013-04-23 15:49 ` Yao Qi
2013-04-24 14:31   ` asmwarrior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox