screen-4.6.2 build fails

Henry <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <CAKP-rwHpkwgrDeTqWTxj-3Keov_U7F4LVpKtxcBY0vTJYPqWvA@mail.gmail.com>
The build fails with the following errors.  Ideas on how to proceed?
TIA,
Henry

gcc -c -I. -I.  -I/usr/local/include
-DETCSCREENRC='"/usr/local/etc/screenrc"'
-DSCREENENCODINGS='"/usr/local/share/screen/utf8encodings"'
-DHAVE_CONFIG_H -DGIT_REV=\"\" \
     -g -O2 utmp.c
In file included from screen.h:30:0,
                 from utmp.c:34:
os.h:257:20: error: static declaration of ‘getutxent’ follows
non-static declaration
 #  define getutent getutxent
                    ^
utmp.c:92:21: note: in expansion of macro ‘getutent’
 static struct utmp *getutent __P((void));
                     ^
In file included from os.h:254:0,
                 from screen.h:30,
                 from utmp.c:34:
/usr/include/utmpx.h:135:15: note: previous declaration of ‘getutxent’ was here
 struct utmpx *getutxent(void) __RENAME(__getutxent50);
               ^
In file included from screen.h:30:0,
                 from utmp.c:34:
os.h:262:20: error: static declaration of ‘endutxent’ follows
non-static declaration
 #  define endutent endutxent
                    ^
utmp.c:93:13: note: in expansion of macro ‘endutent’
 static void endutent __P((void));
             ^
In file included from os.h:254:0,
                 from screen.h:30,
                 from utmp.c:34:
/usr/include/utmpx.h:132:6: note: previous declaration of ‘endutxent’ was here
 void endutxent(void);
      ^
In file included from screen.h:30:0,
                 from utmp.c:34:
os.h:261:20: error: static declaration of ‘setutxent’ follows
non-static declaration
 #  define setutent setutxent
                    ^
utmp.c:95:13: note: in expansion of macro ‘setutent’
 static void setutent __P((void));
             ^
In file included from os.h:254:0,
                 from screen.h:30,
                 from utmp.c:34:
/usr/include/utmpx.h:131:6: note: previous declaration of ‘setutxent’ was here
 void setutxent(void);
      ^
In file included from screen.h:30:0,
                 from utmp.c:34:
os.h:255:20: error: ‘UTMPX_FILE’ undeclared here (not in a function)
 #  define UTMPFILE UTMPX_FILE
                    ^
utmp.c:104:26: note: in expansion of macro ‘UTMPFILE’
 static char UtmpName[] = UTMPFILE;
                          ^
gmake: *** [Makefile:82: utmp.o] Error 1

_______________________________________________
screen-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.