From owner-freebsd-questions@FreeBSD.ORG  Sat Sep 20 06:29:43 2008
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
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 EEC771065672
	for <freebsd-questions@freebsd.org>;
	Sat, 20 Sep 2008 06:29:43 +0000 (UTC)
	(envelope-from gulenler@boun.edu.tr)
Received: from pelikan3.cc.boun.edu.tr (pelikan3.cc.boun.edu.tr
	[193.140.192.28])
	by mx1.freebsd.org (Postfix) with ESMTP id A0F0C8FC12
	for <freebsd-questions@freebsd.org>;
	Sat, 20 Sep 2008 06:29:42 +0000 (UTC)
	(envelope-from gulenler@boun.edu.tr)
Received: from pelikan3.cc.boun.edu.tr (unknown [127.0.0.1])
	by pelikan3.cc.boun.edu.tr (Symantec Mail Security) with ESMTP id
	C8EAEAE83BD for <freebsd-questions@freebsd.org>;
	Sat, 20 Sep 2008 09:22:18 +0300 (EEST)
X-AuditID: c18cc01c-ab25cba000000e26-79-48d4969a25e2 
Received: (qmail 19529 invoked from network); 20 Sep 2008 06:28:51 -0000
Received: from dsl88.241-33928.ttnet.net.tr (HELO [10.0.0.8])
	(gulenler@[88.241.132.136]) (envelope-sender <gulenler@boun.edu.tr>)
	by atmaca2.cc.boun.edu.tr (qmail-ldap-1.03) with SMTP
	for <dnelson@allantgroup.com>; 20 Sep 2008 06:28:51 -0000
Message-ID: <48D49609.4010808@boun.edu.tr>
Date: Sat, 20 Sep 2008 09:19:53 +0300
From: Berk Gulenler <gulenler@boun.edu.tr>
User-Agent: Thunderbird 2.0.0.16 (X11/20080720)
To: Dan Nelson <dnelson@allantgroup.com>
References: <48D39F46.7000708@boun.edu.tr>	<20080919153522.GF34468@dan.emsphone.com>	<48D3E160.5060900@boun.edu.tr>
	<20080919221244.GH34468@dan.emsphone.com>
In-Reply-To: <20080919221244.GH34468@dan.emsphone.com>
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: AAAAAA==
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
X-Content-Filtered-By: Mailman/MimeDel 2.1.5
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 <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
	<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Sep 2008 06:29:44 -0000


   Dan Nelson wrote:

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.

  

   Yes it is working but I already installed openldap version 2.2.6. If
   I'm gonna install it from ports it will overwrite my openldap client
   libraries. I am trying to install pam_ldap with openldap 2.2.6.
   Thanks.
-- 
Berk Gulenler
System Administrator
Bogazici University Computer Center

Phone:  +90 212 359 47 20
Fax:    +90 212 257 50 21
E-mail: [1]gulenler@boun.edu.tr

References

   1. mailto:gulenler@boun.edu.tr