GNOME Bugzilla – Bug 616332
gsocket.c in 2.22.5 will not compile - struct msghdr
Last modified: 2010-04-20 21:09:27 UTC
Solaris 9 on sparc, using GCCfss 4.2.0. Currently I have 2.20.5 installed. This may be related to bug 589989. gsocket.c: In function 'IA__g_socket_send_message': gsocket.c:2679: error: 'struct msghdr' has no member named 'msg_controllen' gsocket.c:2681: error: 'struct msghdr' has no member named 'msg_controllen' gsocket.c:2681: warning: implicit declaration of function 'CMSG_SPACE' gsocket.c:2683: error: 'struct msghdr' has no member named 'msg_control' gsocket.c:2683: error: 'struct msghdr' has no member named 'msg_controllen' gsocket.c:2685: warning: implicit declaration of function 'CMSG_FIRSTHDR' gsocket.c:2685: warning: assignment makes pointer from integer without a cast gsocket.c:2690: warning: implicit declaration of function 'CMSG_LEN' gsocket.c:2692: warning: implicit declaration of function 'CMSG_DATA' gsocket.c:2692: warning: passing argument 2 of 'IA__g_socket_control_message_serialize' makes pointer from integer without a cast gsocket.c:2693: warning: implicit declaration of function 'CMSG_NXTHDR' gsocket.c:2693: warning: assignment makes pointer from integer without a cast gsocket.c: In function 'IA__g_socket_receive_message': gsocket.c:2970: error: 'struct msghdr' has no member named 'msg_control' gsocket.c:2971: error: 'struct msghdr' has no member named 'msg_controllen' gsocket.c:2975: error: 'struct msghdr' has no member named 'msg_flags' gsocket.c:2977: error: 'struct msghdr' has no member named 'msg_flags' gsocket.c:2987: error: 'struct msghdr' has no member named 'msg_flags' gsocket.c:3028: error: 'struct msghdr' has no member named 'msg_control' gsocket.c:3029: error: 'struct msghdr' has no member named 'msg_controllen' gsocket.c:3031: warning: assignment makes pointer from integer without a cast gsocket.c:3031: warning: assignment makes pointer from integer without a cast gsocket.c:3038: warning: passing argument 4 of 'IA__g_socket_control_message_deserialize' makes pointer from integer without a cast gsocket.c:3079: error: 'struct msghdr' has no member named 'msg_flags' gmake[4]: *** [gsocket.lo] Error 1
*** This bug has been marked as a duplicate of bug 589989 ***