Latest 6.7p1 building failed on AIX 5.3

Darren Tucker dtucker at
Wed Jan 7 04:04:18 AEDT 2015

On Tue, Jan 6, 2015 at 6:51 AM, Kai Cui <wooozdoook at> wrote:

> Hi!
> I try to build latest openssh 6.7p1 on AIX 5.3, but failed with the
> following error msg:
> # make
>         echo
>         (cd openbsd-compat && make)
> Target "all" is up to date.
>         cc -qlanglvl=extc89 -o ssh ssh.o readconf.o clientloop.o sshtty.o
>  sshconnect.o sshconnect1.o sshconnect2.o mux.o  roaming_common.o
> roaming_client.o -L. -Lopenbsd-compat/  -blibpath:/usr/lib:/lib -lssh
> -lopenbsd-compat  -lcrypto -lz
> ld: 0711-317 ERROR: Undefined symbol: .va_copy
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more

That should have picked up the definition from defines.h:

#ifndef HAVE_VA_COPY
# ifdef HAVE___VA_COPY
#  define va_copy(dest, src) __va_copy(dest, src)
# else
#  define va_copy(dest, src) (dest) = (src)
# endif

What is HAVE_VA_COPY set to in config.h ?

Also, which object file has va_copy (I think it'll be sshbuf-getput-basic.o
but I could be wrong).

Darren Tucker (dtucker at
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