[OpenIndiana-discuss] Compile nss_ldap
Ram Chander
ramquick at gmail.com
Mon Aug 13 10:31:25 UTC 2012
Hi,
Am trying to setup ldap client on OI. I get below error when tried to
compile nss_ldap-265 ( downloaded from padl.com ). Can I pls have steps to
compile it properly ?
~/nss_ldap-265# make
make all-am
if gcc -DHAVE_CONFIG_H -I. -I. -I. -DLDAP_REFERRALS -DLDAP_DEPRECATED
-D_REENTRANT -g -O2 -Wall -fPIC -MT ldap-nss.o -MD -MP -MF
".deps/ldap-nss.Tpo" -c -o ldap-nss.o ldap-nss.c; \
then mv -f ".deps/ldap-nss.Tpo" ".deps/ldap-nss.Po"; else rm -f
".deps/ldap-nss.Tpo"; exit 1; fi
ldap-nss.c: In function 'do_init_session':
ldap-nss.c:1026:7: warning: variable 'ldaps' set but not used
[-Wunused-but-set-variable]
ldap-nss.c: In function 'do_bind':
ldap-nss.c:1928:7: error: 'LDAP_SASL_QUIET' undeclared (first use in this
function)
ldap-nss.c:1928:7: note: each undeclared identifier is reported only once
for each function it appears in
ldap-nss.c: In function 'do_triple_permutations':
ldap-nss.c:2187:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2187:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2187:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2187:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2187:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2187:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2188:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2189:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2189:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2189:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2189:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2189:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2189:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2190:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2191:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2191:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2191:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2191:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2191:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2191:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2192:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
2) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c:2193:3: warning: null argument where non-null required (argument
1) [-Wnonnull]
ldap-nss.c: In function 'do_next_page':
ldap-nss.c:3270:7: warning: variable 'scope' set but not used
[-Wunused-but-set-variable]
ldap-nss.c: In function 'do_sasl_interact':
ldap-nss.c:4227:3: error: unknown type name 'sasl_interact_t'
ldap-nss.c:4227:32: error: 'sasl_interact_t' undeclared (first use in this
function)
ldap-nss.c:4227:49: error: expected expression before ')' token
ldap-nss.c:4229:18: error: request for member 'id' in something not a
structure or union
ldap-nss.c:4229:26: error: 'SASL_CB_LIST_END' undeclared (first use in this
function)
ldap-nss.c:4231:19: error: request for member 'id' in something not a
structure or union
ldap-nss.c:4231:27: error: 'SASL_CB_USER' undeclared (first use in this
function)
ldap-nss.c:4235:16: error: request for member 'result' in something not a
structure or union
ldap-nss.c:4236:16: error: request for member 'len' in something not a
structure or union
ldap-nss.c:4238:21: error: request for member 'defresult' in something not
a structure or union
ldap-nss.c:4240:16: error: request for member 'result' in something not a
structure or union
ldap-nss.c:4240:35: error: request for member 'defresult' in something not
a structure or union
ldap-nss.c:4241:16: error: request for member 'len' in something not a
structure or union
ldap-nss.c:4241:40: error: request for member 'defresult' in something not
a structure or union
ldap-nss.c:4245:16: error: request for member 'result' in something not a
structure or union
ldap-nss.c:4246:16: error: request for member 'len' in something not a
structure or union
ldap-nss.c:4249:12: error: request for member 'result' in something not a
structure or union
ldap-nss.c:4249:39: error: request for member 'result' in something not a
structure or union
ldap-nss.c:4250:16: error: request for member 'result' in something not a
structure or union
ldap-nss.c: At top level:
ldap-nss.c:21:13: warning: 'rcsId' defined but not used [-Wunused-variable]
ldap-nss.c:829:1: warning: 'do_dupfd' defined but not used
[-Wunused-function]
ldap-nss.c:714:1: warning: 'do_sockaddr_isequal' defined but not used
[-Wunused-function]
ldap-nss.c:860:1: warning: 'do_closefd' defined but not used
[-Wunused-function]
*** Error code 1
make: Fatal error: Command failed for target `ldap-nss.o'
Current working directory /root/nss_ldap-265
*** Error code 1
make: Fatal error: Command failed for target `all'
More information about the OpenIndiana-discuss
mailing list