: "../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error. openssh-5.3p1 on aix 5.3

phoebus phoebus frphoebus at yahoo.fr
Fri Feb 19 00:25:16 EST 2010

Hi all,

1. Environment:
Compiler: IBM XL C/C++ Enterprise Edition for AIX v9.0
Server: AIX 5.3 TL 10 SP1

2. What i did.
I use configure with the following option to configure the makefile.
export CC=cc
export CFLAGS="-I/opt/freeware/include/openssl/ -I/usr/local/include"
export LDFLAGS="-L/opt/freeware/lib/ -L/usr/local/lib"
./configure --prefix=/usr/local --sysconfdir=/usr/local/etc/ssh \
                --with-cflags="-O -D__STR31__ -qmaxmem=-1" --with-cflags="-DBROKEN_GETADDRINFO" \
                --with-tcp-wrappers=/usr/local/lib \
                --with-zlib=/opt/freeware \
                --with-ssl-dir=/opt/freeware \
                --with-xauth=/usr/bin/X11/xauth \
                --with-md5-passwords \
                --with-kerberos5 \
                --with-pam \

A resume of the ouput at the end of configure .
OpenSSH has been configured with the following options:
                     User binaries: /usr/local/bin
                   System binaries: /usr/local/sbin
               Configuration files: /usr/local/etc/ssh
                   Askpass program: /usr/local/libexec/ssh-askpass
                      Manual pages: /usr/local/share/man/manX
                          PID file: /var/run
  Privilege separation chroot path: /var/empty
            sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
                    Manpage format: man
                       PAM support: yes
                   OSF SIA support: no
                 KerberosV support: yes
                   SELinux support: no
                 Smartcard support: no
                     S/KEY support: no
              TCP Wrappers support: yes
              MD5 password support: yes
                   libedit support: no
  Solaris process contract support: no
       IP address in $DISPLAY hack: no
           Translate v4 in v6 hack: no
                  BSD Auth support: no
              Random number source: OpenSSL internal ONLY
              Host: powerpc-ibm-aix5.3.0.0
          Compiler: cc -qlanglvl=extc89
    Compiler flags: -I/opt/freeware/include/openssl/ -I/usr/local/include -DBROKEN_GETADDRINFO
Preprocessor flags: -I/opt/freeware/include -I/usr/local/lib -I/opt/freeware/include  -I/usr/local/include -I/usr/local/include/gssapi
      Linker flags: -L/opt/freeware/lib -L/usr/local/lib -L/opt/freeware/lib -L/opt/freeware/lib/ -L/usr/local/lib -L/usr/local/lib -blibpath:/usr/lib:/lib:/usr/local/lib
         Libraries: -lcrypto -lz  -lkrb5 -lk5crypto -lcom_err
         +for sshd:  -lwrap -lpam -ldl
PAM is enabled. You may need to install a PAM control file
for sshd, otherwise password authentication may fail.
Example PAM control files can be found in the contrib/
3. The error.
The ouput of make command is:
>        if test ! -z ""; then  /usr/bin/perl ./fixprogs ssh_prng_cmds ;  fi
>        (cd openbsd-compat && make)
>        cc -qlanglvl=extc89 -I/opt/freeware/include/openssl/ -I/usr/local/include -qmaxmem=-1  -I. -I.. -I. -I./.. -I/opt/freeware/include -I/usr/local/lib/libwrap.a  -DHAVE_CONFIG_H -c bsd-arc4random.c
>"../openbsd-compat/port-aix.h", line 92.44: 1506-046 (S) Syntax error.
>"../openbsd-compat/port-aix.h", line 94.69: 1506-046 (S) Syntax error.
>make: 1254-004 The error code from the last command is 1.
>make: 1254-004 The error code from the last command is 2.

I don't undestand why this error. Could you help or provides some advices?


More information about the openssh-unix-dev mailing list