Bug 642

Summary: Can't build build OpenSSH 3.7 on OpenBSD 3.0
Product: Portable OpenSSH Reporter: Joe Szedula <szedula>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED WONTFIX    
Severity: critical    
Priority: P2    
Version: -current   
Hardware: ix86   
OS: OpenBSD   

Description Joe Szedula 2003-09-17 07:34:29 AEST
Can't build build OpenSSH 3.7 on OpenBSD 3.0. Have successfully built &
installed OpenSSH 3.7 on OpenBSD 3.2 following the same steps found on
www.openssh.org/openbsd.html

Build on OpenBSD 3.0 fails on "Make" step at:
cc -O2   -I/usr/src/usr.bin/ssh/lib/..   -c /usr/src/usr.bin/ssh/lib/../log.c -o
log.o
/usr/src/usr.bin/ssh/lib/../log.c: In function `do_log':
/usr/src/usr.bin/ssh/lib/../log.c:335: variable `sdata' has initializer but
incomplete type
/usr/src/usr.bin/ssh/lib/../log.c:335: `SYSLOG_DATA_INIT' undeclared (first use
in this function)
/usr/src/usr.bin/ssh/lib/../log.c:335: (Each undeclared identifier is reported
only once
/usr/src/usr.bin/ssh/lib/../log.c:335: for each function it appears in.)
/usr/src/usr.bin/ssh/lib/../log.c:335: storage size of `sdata' isn't known
*** Error code 1

Stop in /usr/src/usr.bin/ssh/lib.
*** Error code 1

Stop in /usr/src/usr.bin/ssh.
----

Step "make depend" had these "No such file or directory" messages.
===> sshd
mkdep -a -DHAVE_LOGIN_CAP -DBSD_AUTH -I/usr/src/usr.bin/ssh/sshd/.. -DLIBWRAP 
In file included from /usr/src/usr.bin/ssh/sshd/../sshd.c:79:
/usr/src/usr.bin/ssh/sshd/../monitor_mm.h:30: sys/tree.h: No such file or directory
In file included from /usr/src/usr.bin/ssh/sshd/../monitor_mm.c:34:
/usr/src/usr.bin/ssh/sshd/../monitor_mm.h:30: sys/tree.h: No such file or directory
In file included from /usr/src/usr.bin/ssh/sshd/../monitor.c:51:
/usr/src/usr.bin/ssh/sshd/../monitor_mm.h:30: sys/tree.h: No such file or directory
Comment 1 Damien Miller 2003-09-19 16:34:39 AEST
OpenSSH 3.7 is not supported on older OpenBSD. You can use portable OpenSSH, but
beware bug #671
Comment 2 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED