bugGNU Screen - Bugs: bug #45750, sparc-sun-solaris2.9: CMSG_LEN and...

 
 

bug #45750: sparc-sun-solaris2.9: CMSG_LEN and CMSG_SPACE are Linux extensions

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

Add a New Comment Rich Markup
   

Sat 05 Sep 2015 12:54:22 PM UTC, comment #1: 

Thanks for patch, applied to screen-v4 and master

Amadeusz Sławiński <amade>
Group administrator
Thu 13 Aug 2015 09:14:53 PM UTC, original submission:  

gcc -c -I. -I.  -DETCSCREENRC='"/home/admini/saper/etc/screenrc"' -DSCREENENCODINGS='"/home/admini/saper/share/screen/utf8encodings"' -D_XPG4_2 -D_XOPEN_SOURCE -DHAVE_CONFIG_H -DGIT_REV=\""`git describe --always 2>/dev/null`"\" \
     -g -O2 viewport.c
gcc  -o screen screen.o ansi.o fileio.o mark.o misc.o resize.o socket.o search.o tty.o term.o window.o utmp.o loadav.o putenv.o help.o termcap.o input.o attacher.o pty.o process.o display.o comm.o kmapdef.o acls.o braille.o braille_tsi.o logfile.o layer.o list_generic.o list_display.o list_window.o sched.o teln.o nethack.o encoding.o canvas.o layout.o viewport.o -lcurses  -lelf -lsocket -lnsl -lkstat -lcrypt -lsec
Undefined                       first referenced
 symbol                             in file
CMSG_LEN                            socket.o
CMSG_SPACE                          socket.o
ld: fatal: Symbol referencing errors. No output written to screen
collect2: ld returned 1 exit status


POSIX says so:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html

Marcin Cieślak <saper>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #34639:  0002-Add-trivial-definitions-of-RFC-2292-CMSG_LEN-CMSG_.patch added by saper (770B - text/x-patch - Trivial patch to fix it attached)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by amade (Posted a comment)
  • -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.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-19 amade Open/ClosedOpen Closed
        Fixed ReleaseNone 4.4.0
    2015-09-05 amade StatusNone Fixed
        ReleaseNone 4.3.1
        Planned Release4.3.1 4.3.2
    2015-08-13 saper Attached File- Added 0002-Add-trivial-definitions-of-RFC-2292-CMSG_LEN-CMSG_.patch, #34639

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code