URL:
<http://savannah.gnu.org/bugs/?45748>
Summary: sparc-sun-solaris2.9: (struct msghdr) has no member
named `msg_control[len]'
Project: GNU Screen
Submitted by: saper
Submitted on: Thu 13 Aug 2015 11:09:37 PM CEST
Category: Build/Install
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
Planned Release: 4.3.1
Work Required: None
_______________________________________________________
Details:
Cannot compile socket.c:
gcc -c -I. -I. -DETCSCREENRC='"/home/admini/saper/etc/screenrc"'
-DSCREENENCODINGS='"/home/admini/saper/share/screen/utf8encodings"'
-D_XOPEN_SOURCE -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always
2>/dev/null`"\" \
-g -O2 socket.c
socket.c: In function `ReceiveMsg':
socket.c:1002: warning: assignment from incompatible pointer type
socket.c:1006: error: structure has no member named `msg_controllen'
socket.c:1007: error: structure has no member named `msg_control'
socket.c:1019: error: structure has no member named `msg_controllen'
socket.c:1022: warning: assignment makes pointer from integer without a cast
socket.c:1022: warning: assignment makes pointer from integer without a cast
socket.c: In function `SendAttachMsg':
socket.c:1813: error: structure has no member named `msg_control'
socket.c:1814: error: structure has no member named `msg_controllen'
socket.c:1815: warning: assignment makes pointer from integer without a cast
socket.c:1819: warning: passing arg 2 of `bcopy' makes pointer from integer
without a cast
socket.c:1820: error: structure has no member named `msg_controllen'
make: *** [socket.o] Error 1
It looks like -D_XPG4_2 is required to get access to this field
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45748>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/