lists.arthurdejong.org
RSS feed

Erros Compiling nss-pam-ldapd on Solaris 10/x86

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

Erros Compiling nss-pam-ldapd on Solaris 10/x86



Dear list members!

This is my first post to this list.

I want to compile just the nss_ldap part from this package for using
it for username lookup via ldap on a Sol10/x86 machine. I configured
it like this:

CC=gcc ./configure --prefix=/<PATH>/nss-pam-ldapd-0.7.10
--disable-kerberos --disable-nslcd --disable-pam

Compiling failed with the following errors:

make  all-recursive
Making all in compat
Making all in common
Making all in nss
gcc -DHAVE_CONFIG_H -I. -I..  -I..   -fPIC  -MT aliases.o -MD -MP -MF
.deps/aliases.Tpo -c -o aliases.o aliases.c
aliases.c:34: error: return type is an incomplete type
aliases.c: In function `read_aliasent':
aliases.c:38: error: `NSS_STATUS_UNAVAIL' undeclared (first use in this
function)
aliases.c:38: error: (Each undeclared identifier is reported only once
aliases.c:38: error: for each function it appears in.)
aliases.c:38: warning: `return' with a value, in function returning void
aliases.c:38: error: `NSS_STATUS_TRYAGAIN' undeclared (first use in this
function)
...many many more...

Where does these come from. I haven't found the descriptions neither in
the code nor in the system includes. Is there something missing on
my machine?

With regards,

Peter Ohlerich.

-- 
----------------------------------------------------------------------
HRZ der Universitaet Bielefeld  Phone: +49 521 106-00
Dipl.-Inf. Peter Ohlerich      Email: Peter.Ohlerich@uni-bielefeld.de
P.O.Box 100131                   WWW: http://www.uni-bielefeld.de/hrz/
D-33501 Bielefeld (Germany)

--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users