[RTEMS Project] #3816: Windows / MSYS2 build error for Sparc/SIS - missing sys/socket.h
RTEMS trac
trac at rtems.org
Tue Nov 5 15:32:12 UTC 2019
#3816: Windows / MSYS2 build error for Sparc/SIS - missing sys/socket.h
-------------------------+--------------------------
Reporter: Jeff Mayes | Owner: Jiri Gaisler
Type: defect | Status: assigned
Priority: normal | Milestone:
Component: arch/sparc | Version: 5
Severity: normal | Keywords:
Blocked By: | Blocking:
-------------------------+--------------------------
Looking at winsock2.h it appears some POSIX'ish methods are available for
sockets, so it may not be hard to support MingWin.
RTEMS Tools Project - Source Builder Error Report
Build: error: building s2xwm1
Command Line: ../source-builder/sb-set-builder
--prefix=C:/msys64/home/mayes/dev/rtems/5 5/rtems-sparc
Python: 2.7.16 (default, Aug 15 2019, 17:51:40) [GCC 9.2.0 64 bit
(AMD64)]
git://git.rtems.org/rtems-source-
builder.git/origin/9a1cf9a2d940a4f79cd822f05c8fb13a4c0ec3bb
Windows
...
...
...
x86_64-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -DFAST_UART -O2 -g -pipe
-I/c/msys64/home/mayes/dev/rtems/rsb/rtems/build/tmp/sb-
mayes/5s/c/msys64/home/mayes/dev/rtems/5/include -MT func.o -MD -MP -MF
.deps/func.Tpo -c -o func.o func.c
func.c:26:10: fatal error: sys/socket.h: No such file or directory
26 | #include <sys/socket.h>
| ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:380: func.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/leon3.Tpo .deps/leon3.Po
make[1]: Leaving directory
'/c/msys64/home/mayes/dev/rtems/rsb/rtems/build/s2xwm1/sis-2.18'
make: *** [Makefile:260: all] Error 2
shell cmd failed: sh -ex
/c/msys64/home/mayes/dev/rtems/rsb/rtems/build/s2xwm1/do-build
error: building s2xwm1
--
Ticket URL: <http://devel.rtems.org/ticket/3816>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list