I had a problem building OpenSSH 3.2.3p1 on IRIX 6.5.16m.
The configure command I used was:
env CC=cc ./configure --prefix=/usr --sysconfdir=/etc/ssh
--libexecdir=/usr/lib \
--mandir=/usr/share/man/u_man --with-catman=man --without-rsh \
--with-xauth=/usr/bin/X11/xauth --with-ssl-
dir=../openssl-0.9.6d \
--with-prngd-socket=/dev/egd-pool
The errors during make are:
(cd openbsd-compat && make)
cc -g -I. -I. -I../openssl-0.9.6d/include -I/usr/local/include
-DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/ssh-askpass\"
-D_PATH_SFTP_SERVER=\"/usr/lib/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/etc/ssh\"
-D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\"
-DSSH_RAND_HELPER=\"/usr/lib/ssh-rand-helper\" -DHAVE_CONFIG_H -c
monitor_fdpass.c
cc-1020 cc: ERROR File = monitor_fdpass.c, Line = 58
The identifier "SCM_RIGHTS" is undefined.
cmsg->cmsg_type = SCM_RIGHTS;
^
cc-1020 cc: ERROR File = monitor_fdpass.c, Line = 117
The identifier "SCM_RIGHTS" is undefined.
if (cmsg->cmsg_type != SCM_RIGHTS)
^
2 errors detected in the compilation of "monitor_fdpass.c".
*** Error code 2 (bu21)
--
Jason Mader \\ jason at ncac.gwu.edu // 703-726-8373
On Tue, May 28, 2002 at 12:33:25AM -0400, Jason Mader wrote:> I had a problem building OpenSSH 3.2.3p1 on IRIX 6.5.16m. >> > The identifier "SCM_RIGHTS" is undefined. > > cmsg->cmsg_type = SCM_RIGHTS; > ^ > > cc-1020 cc: ERROR File = monitor_fdpass.c, Line = 117 > The identifier "SCM_RIGHTS" is undefined. > > if (cmsg->cmsg_type != SCM_RIGHTS) > ^I just had the same problem on 3.2.2p1, and the fix was to comment out '#define HAVE_CONTROL_IN_MSGHDR 1' from config.h. Tim Rice <tim at multitalents.net> just committed a fix to the CVS tree, so that it should be fixed in the next release. -jf