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

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

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by amade (Posted a comment)
  • -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):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Jun 2016 09:14:26 PM UTCamadeOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.4.0
    Sat 05 Sep 2015 12:54:22 PM UTCamadeStatusNone=>Fixed
      ReleaseNone=>4.3.1
      Planned Release4.3.1=>4.3.2
    Thu 13 Aug 2015 10:34:28 PM UTCsaperAttached File-=>Added 0002-Add-trivial-definitions-of-RFC-2292-CMSG_LEN-CMSG_.patch, #34639

    Back to the top


    Powered by Savane 3.1-cleanup1