Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jul 2008 16:26:43 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Valeriu Mutu <vmutu@pcbi.upenn.edu>
Cc:        FreeBSD-questions list <freebsd-questions@freebsd.org>
Subject:   Re: Problem building openssh-portable with KERBEROS, GSSAPI, KERB_GSSAPI.
Message-ID:  <4463qlztoc.fsf@be-well.ilk.org>
In-Reply-To: <20080730164031.GA6262@snowball.pcbi.upenn.edu> (Valeriu Mutu's message of "Wed\, 30 Jul 2008 12\:40\:32 -0400")
References:  <20080730164031.GA6262@snowball.pcbi.upenn.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Valeriu Mutu <vmutu@pcbi.upenn.edu> writes:

> 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.

For what it's worth, I can't reproduce the problem on a 6-week-old
version of 7-STABLE, with ports a couple of days old.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4463qlztoc.fsf>