From owner-freebsd-questions@FreeBSD.ORG Wed Jul 30 17:07:34 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60EA71065670 for ; Wed, 30 Jul 2008 17:07:34 +0000 (UTC) (envelope-from vmutu@snowball.pcbi.upenn.edu) Received: from snowball.pcbi.upenn.edu (SNOWBALL.PCBI.upenn.edu [128.91.62.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2ABE08FC1E for ; Wed, 30 Jul 2008 17:07:33 +0000 (UTC) (envelope-from vmutu@snowball.pcbi.upenn.edu) Received: from snowball.pcbi.upenn.edu (localhost.localdomain [127.0.0.1]) by snowball.pcbi.upenn.edu (8.12.11.20060308/8.12.11) with ESMTP id m6UGeW63007845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 30 Jul 2008 12:40:32 -0400 Received: (from vmutu@localhost) by snowball.pcbi.upenn.edu (8.12.11.20060308/8.12.11/Submit) id m6UGeW79007843 for freebsd-questions@freebsd.org; Wed, 30 Jul 2008 12:40:32 -0400 Date: Wed, 30 Jul 2008 12:40:32 -0400 From: Valeriu Mutu To: FreeBSD-questions list Message-ID: <20080730164031.GA6262@snowball.pcbi.upenn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: GNU/Linux Organization: Penn Center for Bioinformatics Subject: Problem building openssh-portable with KERBEROS, GSSAPI, KERB_GSSAPI. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2008 17:07:34 -0000 Hi all, I am trying to build 'openssh-portable' from ports (security/openssh-portable/) with the following configuration options: PAM=on "Enable pam(3) support" TCP_WRAPPERS=on "Enable tcp_wrappers support" LIBEDIT=on "Enable readline support to sftp(1)" KERBEROS=on "Enable kerberos (autodetection)" SUID_SSH=off "Enable suid SSH (Recommended off)" GSSAPI=on "Enable GSSAPI support (req: KERBEROS)" KERB_GSSAPI=on "Enable Kerberos/GSSAPI patch (req: GSSAPI)" OPENSSH_CHROOT=off "Enable CHROOT support" OPENSC=off "Enable OpenSC smartcard support" OPENSCPINPATCH=off "Enable OpenSC PIN patch" HPN=off "Enable HPN-SSH patch" LPK=off "Enable LDAP Public Key (LPK) patch" OVERWRITE_BASE=off "OpenSSH overwrite base" and get the following error on 'make': ----------------------------------------------------------------------- ... if test ! -z ""; then /usr/bin/perl5 ./fixprogs ssh_prng_cmds ; fi (cd openbsd-compat && make) cc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/local/lib -rpath=/usr/local/lib -L/lib -lssh -lopenbsd-compat -lcrypto -lutil -lz -lcrypt -lgssapi -lkrb5 -lk5crypto -lcom_err ./libssh.a(gss-genr.o)(.text+0xa8c): In function `ssh_gssapi_import_name': /usr/ports/security/openssh-portable/work/openssh-5.0p1/gss-genr.c:369: undefined reference to `gss_nt_service_name' *** Error code 1 Stop in /usr/ports/security/openssh-portable/work/openssh-5.0p1. *** Error code 1 Stop in /usr/ports/security/openssh-portable. *** Error code 1 Stop in /usr/ports/security/openssh-portable. ----------------------------------------------------------------------- I am running a GENERIC kernel on FreeBSD 7.0-RELEASE (i386). ps: Searched the internet and found some hints that the problem might be caused by the definition of GSS_C_NT_HOSTBASED_SERVICE . Any ideas as to what is causing this problem and how could this be fixed? Thanks, Valeriu -- Valeriu Mutu