gcc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o auth.o auth1.o auth2.o auth-options.o session.o auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o auth2-jpake.o monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o auth-krb5.o auth2-gss.o gss-serv.o gss-serv-krb5.o loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o roaming_common.o roaming_serv.o -L. -Lopenbsd-compat/ -pie -z relro -z now -lnsl -lpcre -lcdb -fstack-protector-all -static -static-libgcc -lssh -lopenbsd-compat -lcrypto -lcrypt -ldl -lutil -lz -lresolv /usr/lib/libcrypto.a(fips.o): In function `FIPSCHECK_verify': (.text+0x20): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking groupaccess.o: In function `ga_init': /builddir/build/BUILD/openssh-5.6p1/groupaccess.c:66: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking session.o: In function `do_setusercontext': /builddir/build/BUILD/openssh-5.6p1/session.c:1509: warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking groupaccess.o: In function `ga_init': /builddir/build/BUILD/openssh-5.6p1/groupaccess.c:69: warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking sshpty.o: In function `pty_setowner': /builddir/build/BUILD/openssh-5.6p1/sshpty.c:211: warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking session.o: In function `do_setusercontext': /builddir/build/BUILD/openssh-5.6p1/session.c:1513: warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking sshd.o: In function `main': /builddir/build/BUILD/openssh-5.6p1/sshd.c:1545: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking loginrec.o: In function `login_get_lastlog': /builddir/build/BUILD/openssh-5.6p1/loginrec.c:312: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking sshd.o: In function `main': /builddir/build/BUILD/openssh-5.6p1/sshd.c:1555: warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking servconf.o: In function `add_one_listen_addr': /builddir/build/BUILD/openssh-5.6p1/servconf.c:515: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ./libssh.a(canohost.o): In function `check_ip_options': /builddir/build/BUILD/openssh-5.6p1/canohost.c:168: warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0xb4): undefined reference to `NSSLOW_Init' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0xd0): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0xdc): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0xec): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0xfc): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x10c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x118): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x124): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x134): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x144): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x158): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x16c): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x174): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x194): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x1b8): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x1dc): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x1f8): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x200): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x24c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x260): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x26c): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x280): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x28c): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x2a8): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x2cc): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x2fc): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x308): undefined reference to `NSSLOW_Shutdown' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x674): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(md5-crypt.o): In function `__md5_crypt_r': (.text+0x6d8): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0xc0): undefined reference to `NSSLOW_Init' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0xd8): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0xe4): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0xf4): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x104): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x110): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x11c): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x12c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x13c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x14c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x160): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x168): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x188): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x1ac): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x1cc): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x1e8): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x1f0): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x1fc): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x208): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x228): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x248): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x250): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x2d0): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x2dc): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x2f0): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x318): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x320): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x3ec): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x400): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x408): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x424): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x430): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x44c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x470): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x4a0): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0x4b4): undefined reference to `NSSLOW_Shutdown' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0xae4): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0xb78): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0xbc0): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha256-crypt.o): In function `__sha256_crypt_r': (.text+0xbc8): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0xc0): undefined reference to `NSSLOW_Init' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0xd8): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0xe4): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0xf4): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x104): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x110): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x11c): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x12c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x13c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x14c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x160): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x168): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x188): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x1ac): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x1cc): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x1e8): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x1f0): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x1fc): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x208): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x228): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x248): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x250): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x2e0): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x2ec): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x300): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x328): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x330): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x410): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x424): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x430): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x444): undefined reference to `NSSLOWHASH_NewContext' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x450): undefined reference to `NSSLOWHASH_Begin' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x46c): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x494): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x4c4): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x4dc): undefined reference to `NSSLOW_Shutdown' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0xfd4): undefined reference to `NSSLOWHASH_Destroy' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x1088): undefined reference to `NSSLOWHASH_Update' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x10d0): undefined reference to `NSSLOWHASH_End' /usr/lib/libcrypt.a(sha512-crypt.o): In function `__sha512_crypt_r': (.text+0x10d8): undefined reference to `NSSLOWHASH_Destroy' /usr/bin/ld: /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.6.1/../../../libc.a(inet_ntoa.o)(.text+0x54): R_ARM_TLS_LE32 relocation not permitted in shared object /usr/bin/ld: /usr/lib/gcc/armv5tel-redhat-linux-gnueabi/4.6.1/../../../libc.a(dl-tsd.o)(.text+0x14): R_ARM_TLS_LE32 relocation not permitted in shared object collect2: ld returned 1 exit status