./configure [snip] makegcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/local/ssl/include -DHAVE_CONFIG_H -c readpassphrase.c readpassphrase.c: In function `readpassphrase': readpassphrase.c:117: warning: implicit declaration of function `write' readpassphrase.c:119: warning: implicit declaration of function `read' [snip] ranlib libopenbsd-compat.a make[1]: Leaving directory `/usr/local/src/openssh-3.7.1p2/openbsd-compat' gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -I/usr/local/ssl/i nclude -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_S ERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/lib exec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR= \"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE _CONFIG_H -c authfd.c authfd.c: In function `ssh_request_reply': authfd.c:125: `write' undeclared (first use this function) authfd.c:125: (Each undeclared identifier is reported only once authfd.c:125: for each function it appears in.) authfd.c:137: warning: implicit declaration of function `read' make: *** [authfd.o] Error 1
Those should be defined in /usr/include/unistd.h.
This appears to be a local header problem, please re-open if you have evidence of it being a problem with OpenSSH itself.
Mass change of RESOLVED bugs to CLOSED