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]'

Submitter:  Marcin Cieślak <saper>
Submitted:  Thu 13 Aug 2015 09:09:37 PM UTC
   
 
Category:  Build/Install Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
Fixed Release:  None Planned Release:  4.3.1
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code