[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] screen 4.3.1 fails to compile on CentOS 5, workaround in
From: |
Zube |
Subject: |
[screen-devel] screen 4.3.1 fails to compile on CentOS 5, workaround in os.h |
Date: |
Tue, 15 Sep 2015 12:24:00 -0600 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
Compiling screen 4.3.1 on CentOS 5.11 emits the following error:
utmp.c:99:1: warning: "pututline" redefined
In file included from screen.h:30,
from utmp.c:34:
os.h:262:1: warning: this is the location of the previous definition
utmp.c: In function ‘makedead’:
utmp.c:602: error: ‘struct __exit_status’ has no member named ‘e_termination’
utmp.c:603: error: ‘struct __exit_status’ has no member named ‘e_exit’
Makefile:82: recipe for target 'utmp.o' failed
gmake: *** [utmp.o] Error 1
screen 4.2.1 compiles fine.
One difference between the two versions is line 253 in os.h.
In 4.3.1, the line is:
# if defined(SVR4) && !defined(DGUX) && !defined(__hpux)
but in 4.2.1, the line is:
# if defined(SVR4) && !defined(DGUX) && !defined(__hpux) && !defined(linux)
Using the 4.2.1 line works around the issue.
Cheers,
Zube
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [screen-devel] screen 4.3.1 fails to compile on CentOS 5, workaround in os.h,
Zube <=