From owner-freebsd-questions@FreeBSD.ORG Wed Sep 24 18:25:45 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 E0107106568E for ; Wed, 24 Sep 2008 18:25:45 +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 5766E8FC1D for ; Wed, 24 Sep 2008 18:25:45 +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 5F5C4AE840F for ; Wed, 24 Sep 2008 21:17:20 +0300 (EEST) X-AuditID: c18cc01c-ab25cba000000e26-09-48da8430b2f9 Received: (qmail 53490 invoked from network); 24 Sep 2008 18:24:37 -0000 Received: from unknown (HELO [10.0.0.8]) (gulenler@[78.176.58.100]) (envelope-sender ) by atmaca2.cc.boun.edu.tr (qmail-ldap-1.03) with SMTP for ; 24 Sep 2008 18:24:37 -0000 Message-ID: <48DA866E.1070609@boun.edu.tr> Date: Wed, 24 Sep 2008 21:26:54 +0300 From: Berk Gulenler Organization: Bogazici University Computer Center User-Agent: Thunderbird 2.0.0.16 (X11/20080720) To: Dan Nelson 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> X-Enigmail-Version: 0.95.7 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 Reply-To: gulenler@boun.edu.tr List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 18:25:46 -0000 Hi Dan, Sorry my last mail was bounced back to me. That's what I wrote to you: 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. 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. -- 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