RSS feed

Re: nss-ldapd-0.6.11 on RedHat

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: nss-ldapd-0.6.11 on RedHat

On Fri, 2012-04-27 at 12:10 -0300, Felipe wrote:
> But when I tried make I got these errors:
> [root@dig1 nss-pam-ldapd-0.7.16]# make
> Making all in compat
> make[2]: Entering directory `/root/tmp/nss-pam-ldapd-0.7.16/compat'
> gcc -DHAVE_CONFIG_H -I. -I..  -I..  -fPIC -g -O2 -MT pam_get_authtok.o -MD 
> -MP -MF .deps/pam_get_authtok.Tpo -c -o pam_get_authtok.o pam_get_authtok.c
> pam_get_authtok.c: In function `pam_get_authtok':
> pam_get_authtok.c:74: error: `PAM_AUTHTOK_RECOVERY_ERR' undeclared (first use 
> in this function)
> pam_get_authtok.c:74: error: (Each undeclared identifier is reported only once
> pam_get_authtok.c:74: error: for each function it appears in.)
> make[2]: *** [pam_get_authtok.o] Error 1
> make[2]: Leaving directory `/root/tmp/nss-pam-ldapd-0.7.16/compat'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/tmp/nss-pam-ldapd-0.7.16'
> make: *** [all] Error 2

Thanks for pointing this out. You need to add the following code to the
top of compat/pam_get_authtok.c after the includes. This code is from
the 0.8 branch:

#define PAM_AUTHTOK_RECOVERY_ERR 21 /* not defined anywhere */

I will add these compatibility changes to the next 0.7 release.

-- arthur - - --
To unsubscribe send an email to or see