screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #50089] Screen 4.5.0 doesn't build on SunOS


From: anonymous
Subject: [screen-devel] [bug #50089] Screen 4.5.0 doesn't build on SunOS
Date: Thu, 19 Jan 2017 10:06:32 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?50089>

                 Summary: Screen 4.5.0 doesn't build on SunOS
                 Project: GNU Screen
            Submitted by: None
            Submitted on: Thu 19 Jan 2017 10:06:30 AM UTC
                Category: Build/Install
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 5.0.0
           Fixed Release: None
         Planned Release: None
           Work Required: None

    _______________________________________________________

Details:

Building on illumos (SunOS 5.11) fails with:

gcc -c -I. -I.  -D_XPG4_2 -D__EXTENSIONS__ -DETCSCREENRC='"/etc/screenrc"'
-DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H
-DGIT_REV=\"\" \
     -O  screen.c
screen.c: In function 'main':
screen.c:674:43: error: 'PATH_MAX' undeclared (first use in this function)
               if (strlen(screenlogfile) > PATH_MAX)

The problem is that screen.c needs to #include <limits.h> (just like tty.c
does, which is the other place PATH_MAX i s used)





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50089>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]