[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
screen-4.6.2 build fails
From: |
Henry |
Subject: |
screen-4.6.2 build fails |
Date: |
Sat, 11 Nov 2017 17:22:54 +0900 |
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-4.6.2 build fails,
Henry <=