Bug 167 - WARNING: sys/ttcompat.h: present but cannot be compiled.
Summary: WARNING: sys/ttcompat.h: present but cannot be compiled.
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: SPARC Solaris
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-15 17:19 AEDT by David Highley
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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