Bug 167

Summary: WARNING: sys/ttcompat.h: present but cannot be compiled.
Product: Portable OpenSSH Reporter: David Highley <dhighley>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: -current   
Hardware: SPARC   
OS: Solaris   

Description David Highley 2002-03-15 17:19:29 AEDT
Building openssh 3.1p1 on Sparc Solaris 8 platform. The configure step output
the warnings below:
#include <sys/ttcompat.h>
configure:4345: result: no
configure:4349: checking sys/ttcompat.h presence
configure:4356: gcc -E  -I/usr/local/include conftest.c
configure:4362: $? = 0
configure:4380: result: yes
configure:4391: WARNING: sys/ttcompat.h: present but cannot be compiled.
configure:4393: WARNING: sys/ttcompat.h: check for missing prerequisite headers?
configure:4395: WARNING: sys/ttcompat.h: proceeding with the preprocessor's resu
lt
configure:4398: checking for sys/ttcompat.h

ssh builds and will run but xterms end up going into inverse video mode.
Comment 1 Kevin Steves 2002-03-16 03:30:20 AEDT
the error is for use of an indefined type:

"/usr/include/sys/ttcompat.h", line 48: syntax error before or at: mblk_t
"/usr/include/sys/ttcompat.h", line 48: cannot recover from previous errors
cc: acomp failed for conftest.c

i think it needs sys/stream.h defined prior.

i would guess the xterm problem is not caused by this.

also, we do not use <sys/ttcompat.h> or HAVE_SYS_TTCOMPAT_H so why
do we test for it?
Comment 2 Kevin Steves 2002-03-31 03:54:39 AEST
 - (stevesk) [configure.ac] remove header check for sys/ttcompat.h
   bug 167
Comment 3 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED