OpenSSH 3.7.1p1 installation on AIX 4.3.3 enquiry?

Darren Tucker dtucker at zip.com.au
Tue Sep 30 14:44:09 EST 2003


Nick_Chi at manulife.com wrote:
> I try to install OpenSSH 3.7.1p1 on AIX 4.3.3, but I find the following
> problem.
[snip]
> The following warning appears at the end.
> =====================================================
> WARNING: you are using the builtin random number collection
> service.

That's normal.  AIX (up to but not including 5.2, I think) does not have a
/dev/random device.

> make[1]: Entering directory
> `/tech/src/SSH-3.7.1p1/openssh-3.7.1p1/openbsd-compat'
> gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./..
> -I/tech/OPENSSH-3.7.1p1/openssl/include -I/usr/tcpwrap -I/usr/local/include
> -I/usr/local/include -DHAVE_CONFIG_H -c bsd-arc4random.c
> In file included from /usr/include/sys/user.h:77,
>                  from /usr/include/sys/audit.h:38,
>                  from ../openbsd-compat/port-aix.h:35,
>                  from ../openbsd-compat/openbsd-compat.h:166,
>                  from ../includes.h:173,
>                  from bsd-arc4random.c:25:
> /usr/include/sys/proc.h:203: error: parse error before "crid_t"
> /usr/include/sys/proc.h:212: error: parse error before "p_class"
> /usr/include/sys/proc.h:355: error: parse error before '}' token
> make[1]: *** [bsd-arc4random.o] Error 1
> make[1]: Leaving directory
> `/tech/src/SSH-3.7.1p1/openssh-3.7.1p1/openbsd-compat'
> make: *** [openbsd-compat/libopenbsd-compat.a] Error 2

That's actually caused by a problem in the AIX system headers that trips
up earlier gcc's, but openssh-3.7.1p2 will work around it on AIX 4.3.3.

Your options are: use openssh-3.7.1p2, upgrade your gcc or edit the system
headers.

For details see:
http://bugzilla.mindrot.org/show_bug.cgi?id=640

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list