From owner-freebsd-questions@FreeBSD.ORG Fri Sep 19 22:12:47 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 BC4961065673 for ; Fri, 19 Sep 2008 22:12:47 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id 81A318FC0A for ; Fri, 19 Sep 2008 22:12:47 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id m8JMCkcI073352 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 Sep 2008 17:12:46 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id m8JMCink073351; Fri, 19 Sep 2008 17:12:44 -0500 (CDT) (envelope-from dan) Date: Fri, 19 Sep 2008 17:12:44 -0500 From: Dan Nelson To: Berk Gulenler Message-ID: <20080919221244.GH34468@dan.emsphone.com> References: <48D39F46.7000708@boun.edu.tr> <20080919153522.GF34468@dan.emsphone.com> <48D3E160.5060900@boun.edu.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48D3E160.5060900@boun.edu.tr> X-OS: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: PAM_AUTHTOK_RECOVER_ERR 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: Fri, 19 Sep 2008 22:12:47 -0000 In the last episode (Sep 19), Berk Gulenler said: > Dan Nelson wrote: > > In the last episode (Sep 19), Berk Gulenler said: >> I'm trying to install pam_ldap 1.84 to FreeBSD version 6.3 AMD64. But >> I'm getting this error message from gmake compiler. I think the >> problem is an undeclared function. About this any help would be >> appreciated. >> >> Related log: >> >> gcc -DHAVE_CONFIG_H -I/usr/local/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -DPIC -D_REENTRANT -g -O2 -Wall -fPIC -c pam_ldap.c >> pam_ldap.c:3569: error: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first use in this function) >> pam_ldap.c:3569: error: (Each undeclared identifier is reported only once >> pam_ldap.c:3569: error: for each function it appears in.) >> >> Are you building the security/pam_ldap port? That should build with no >> errors. > > No I'm not trying to build it from port tree because the ports > says my openldap version is not compatible with pam_ldap (a new > version is required). But I have to use an older version of > openldap so, I'm trying to compile pam_ldap for my self. Thanks. Try editing /etc/make.conf and put WANT_OPENLDAP_VER=23 and see if the port builds. -- Dan Nelson dnelson@allantgroup.com