nixp.ru v3.0

6 ноября 2024,
среда,
18:03:11 MSK

Аватар пользователя Zarg
Zarg написал 8 января 2005 года в 14:47 (804 просмотра) Ведет себя как мужчина; открыл 73 темы в форуме, оставил 120 комментариев на сайте.

Система FreeBSD5.3 поставил OpenLDAP, пытаюсь поставить pam_ldap и nss_ldap

делаю

./configure

aclocal

autoconf

automake

gmake

выпадает в следующую ошибку:

ldap-pwd.c: In function `_nss_ldap_parse_pw’:

ldap-pwd.c:127: error: `UID_NOBODY' undeclared (first use in this function)

ldap-pwd.c:127: error: (Each undeclared identifier is reported only once

ldap-pwd.c:127: error: for each function it appears in.)

ldap-pwd.c:168: error: structure has no member named `pw_comment'

ldap-pwd.c:175: error: structure has no member named `pw_comment'

ldap-pwd.c:177: error: structure has no member named `pw_age'

ldap-pwd.c: At top level:

ldap-pwd.c:188: error: conflicting types for '_nss_ldap_getpwnam_r'

ldap-pwd.h:33: error: previous declaration of '_nss_ldap_getpwnam_r' was here

ldap-pwd.c:188: error: conflicting types for '_nss_ldap_getpwnam_r'

ldap-pwd.h:33: error: previous declaration of '_nss_ldap_getpwnam_r' was here

ldap-pwd.c:190:38: macro «LOOKUP_NAME» passed 8 arguments, but takes just 4

ldap-pwd.c: In function `_nss_ldap_getpwnam_r’:

ldap-pwd.c:189: error: `LOOKUP_NAME' undeclared (first use in this function)

ldap-pwd.c: At top level:

ldap-pwd.c:205: error: conflicting types for '_nss_ldap_getpwuid_r'

ldap-pwd.h:34: error: previous declaration of '_nss_ldap_getpwuid_r' was here

ldap-pwd.c:205: error: conflicting types for '_nss_ldap_getpwuid_r'

ldap-pwd.h:34: error: previous declaration of '_nss_ldap_getpwuid_r' was here

ldap-pwd.c:207:33: macro «LOOKUP_NUMBER» passed 8 arguments, but takes just 5

ldap-pwd.c: In function `_nss_ldap_getpwuid_r’:

ldap-pwd.c:206: error: `LOOKUP_NUMBER' undeclared (first use in this function)

ldap-pwd.c: At top level:

ldap-pwd.c:250: error: conflicting types for '_nss_ldap_getpwent_r'

ldap-pwd.h:37: error: previous declaration of '_nss_ldap_getpwent_r' was here

ldap-pwd.c:250: error: conflicting types for '_nss_ldap_getpwent_r'

ldap-pwd.h:37: error: previous declaration of '_nss_ldap_getpwent_r' was here

ldap-pwd.c:252:58: macro «LOOKUP_GETENT» passed 8 arguments, but takes just 5

ldap-pwd.c: In function `_nss_ldap_getpwent_r’:

ldap-pwd.c:251: error: `LOOKUP_GETENT' undeclared (first use in this function)

ldap-pwd.c: At top level:

ldap-pwd.c:274: warning: initialization from incompatible pointer type

ldap-pwd.c:275: warning: initialization from incompatible pointer type

ldap-pwd.c:277: warning: initialization from incompatible pointer type

ldap-pwd.c:21: warning: 'rcsId' defined but not used

ldap-pwd.c:87: warning: '_nss_ldap_parse_pw' defined but not used

ldap-pwd.h:33: warning: '_nss_ldap_getpwnam_r' used but never defined

ldap-pwd.h:34: warning: '_nss_ldap_getpwuid_r' used but never defined

ldap-pwd.h:35: warning: '_nss_ldap_setpwent_r' used but never defined

ldap-pwd.h:36: warning: '_nss_ldap_endpwent_r' used but never defined

ldap-pwd.h:37: warning: '_nss_ldap_getpwent_r' used but never defined

И на этом стопорится. Подскажите чего ему еще надобно…

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.