[Bug 692] Can't make OpenSSH-3.7.1p1 on OpenBSD 3.0
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Sat Sep 20 09:23:41 EST 2003
http://bugzilla.mindrot.org/show_bug.cgi?id=692
Summary: Can't make OpenSSH-3.7.1p1 on OpenBSD 3.0
Product: Portable OpenSSH
Version: 3.7.1p1
Platform: ix86
OS/Version: OpenBSD
Status: NEW
Severity: critical
Priority: P2
Component: Build system
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: szedula at mindspring.com
"make" terminates with message:
log.c: In function `do_log':
log.c:393: warning: implicit declaration of function `strnvis'
log.c:393: `VIS_SAFE' undeclared (first use in this function)
log.c:393: (Each undeclared identifier is reported only once
log.c:393: for each function it appears in.)
log.c:393: `VIS_OCTAL' undeclared (first use in this function)
*** Error code 1
I found both "VIS_SAFE" and "VIS_OCTAL" in /usr/include:
cd /usr/include
grep VIS_SAFE *.h
vis.h:#define VIS_SAFE 0x20 /* only encode "unsafe" characters */
grep VIS_OCTAL *.h
vis.h:#define VIS_OCTAL 0x01 /* use octal \ddd format */
So I used this "configure":
./configure -prefix=/usr -sysconfdir=/etc -bindir=/usr/bin -sbindir=/usr/sbin
-includedir=/usr/include
To match OpenBSD 3.0 locations and use "/usr/include"
Got the same error so I preceeded "configure" with:
setenv CFLAGS -I/usr/include
And got this in "configure" output:
Compiler flags: -I/usr/include -Wall -Wpointer-arith -Wno-uninitialized
Reran "make" and got the same error message. Even though the "gcc" statement is:
gcc -I/usr/include -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
-DSSHDIR=\"/etc\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\"
-D_PATH_SSH_KEY_SIGN=\"/usr/libexec/ssh-keysign\"
-D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c log.c
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the openssh-bugs
mailing list