bugGNU Screen - Bugs: bug #45748, sparc-sun-solaris2.9: (struct...

 
 

bug #45748: sparc-sun-solaris2.9: (struct msghdr) has no member named `msg_control[len]'

Submitted by:  Marcin Cieślak <saper>
Submitted on:  Thu 13 Aug 2015 09:09:37 PM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None
Fixed Release: NonePlanned Release: 4.3.1
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 13 Aug 2015 09:09:37 PM UTC, original submission:

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

Marcin Cieślak <saper>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by saper (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1