After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616332 - gsocket.c in 2.22.5 will not compile - struct msghdr
gsocket.c in 2.22.5 will not compile - struct msghdr
Status: RESOLVED DUPLICATE of bug 589989
Product: glib
Classification: Platform
Component: network
2.22.x
Other Solaris
: Normal major
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-04-20 19:43 UTC by Tim Larson
Modified: 2010-04-20 21:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim Larson 2010-04-20 19:43:45 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
Comment 1 Dan Winship 2010-04-20 21:09:27 UTC

*** This bug has been marked as a duplicate of bug 589989 ***