[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: no version of ldap seems to compile on Linux "Out-of-the box"



I'm *very* new to this list, and I realize that netiquette says I
should be quiet for a while. But I'm having the same problem
in that I can't get LDAP 1.0.1 (RELEASE) to compile on my
Caldera OpenLinux 1.2 system (Kernel is now 2.0.35).

For this sample, I simply copied Make-common.gmake to Make-common
and did a Make .make-platform. (It didn't seem to matter whether I
edited anything or not.)

The error output from make is at the end ("make 2>make.out") performed
from within the ~ldap directory.

Thanks for any tips. --Daryl

In file included from idl.c:5:
../slap.h:253: parse error before `pthread_cond_t'
../slap.h:253: warning: no semicolon at end of struct or union
../slap.h:262: parse error before `}'
../slap.h:262: warning: data definition has no type or storage class
In file included from ../slap.h:278,
                 from idl.c:5:
../proto-slap.h:8: parse error before `Connection'
../proto-slap.h:13: parse error before `Connection'
../proto-slap.h:17: parse error before `Connection'
../proto-slap.h:89: parse error before `*'
../proto-slap.h:114: parse error before `*'
../proto-slap.h:122: parse error before `Connection'
../proto-slap.h:136: parse error before `*'
../proto-slap.h:166: parse error before `*'
../proto-slap.h:168: parse error before `*'
../proto-slap.h:170: parse error before `*'
In file included from idl.c:7:
back-ldbm.h:68: parse error before `pthread_cond_t'
back-ldbm.h:68: warning: no semicolon at end of struct or union
back-ldbm.h:74: parse error before `}'
back-ldbm.h:106: field `li_dbcache' has incomplete type
back-ldbm.h:108: parse error before `pthread_cond_t'
back-ldbm.h:108: warning: no semicolon at end of struct or union
idl.c: In function `idl_store':
idl.c:176: dereferencing pointer to incomplete type
idl.c: In function `idl_insert_key':
idl.c:294: dereferencing pointer to incomplete type
idl.c:306: dereferencing pointer to incomplete type
idl.c:384: dereferencing pointer to incomplete type
idl.c:428: dereferencing pointer to incomplete type
idl.c:464: dereferencing pointer to incomplete type
make[5]: *** [idl.o] Error 1
make[4]: [all] Error 2 (ignored)
In file included from search.c:10:
../slap.h:253: parse error before `pthread_cond_t'
../slap.h:253: warning: no semicolon at end of struct or union
../slap.h:262: parse error before `}'
../slap.h:262: warning: data definition has no type or storage class
In file included from ../slap.h:278,
                 from search.c:10:
../proto-slap.h:8: parse error before `Connection'
../proto-slap.h:13: parse error before `Connection'
../proto-slap.h:17: parse error before `Connection'
../proto-slap.h:89: parse error before `*'
../proto-slap.h:114: parse error before `*'
../proto-slap.h:122: parse error before `Connection'
../proto-slap.h:136: parse error before `*'
../proto-slap.h:166: parse error before `*'
../proto-slap.h:168: parse error before `*'
../proto-slap.h:170: parse error before `*'
search.c:20: parse error before `Connection'
search.c: In function `passwd_back_search':
search.c:38: `tlimit' undeclared (first use this function)
search.c:38: (Each undeclared identifier is reported only once
search.c:38: for each function it appears in.)
search.c:38: `be' undeclared (first use this function)
search.c:40: `op' undeclared (first use this function)
search.c:41: `slimit' undeclared (first use this function)
search.c:51: `scope' undeclared (first use this function)
search.c:52: `base' undeclared (first use this function)
search.c:57: `conn' undeclared (first use this function)
search.c:63: `filter' undeclared (first use this function)
search.c:64: `attrs' undeclared (first use this function)
search.c:64: `attrsonly' undeclared (first use this function)
make[5]: *** [search.o] Error 1
make[4]: [all] Error 2 (ignored)
In file included from init.c:6:
../slap.h:253: parse error before `pthread_cond_t'
../slap.h:253: warning: no semicolon at end of struct or union
../slap.h:262: parse error before `}'
../slap.h:262: warning: data definition has no type or storage class
In file included from ../slap.h:278,
                 from init.c:6:
../proto-slap.h:8: parse error before `Connection'
../proto-slap.h:13: parse error before `Connection'
../proto-slap.h:17: parse error before `Connection'
../proto-slap.h:89: parse error before `*'
../proto-slap.h:114: parse error before `*'
../proto-slap.h:122: parse error before `Connection'
../proto-slap.h:136: parse error before `*'
../proto-slap.h:166: parse error before `*'
../proto-slap.h:168: parse error before `*'
../proto-slap.h:170: parse error before `*'
make[5]: *** [init.o] Error 1
make[4]: [all] Error 2 (ignored)
make[4]: *** No rule to make target `.backend', needed by `libbackends.a'.  Stop.
make[3]: *** [backendslib] Error 2
make[3]: *** No rule to make target `.backend', needed by `libbackends.a'.  Stop.
In file included from ldif2index.c:5:
../slap.h:253: parse error before `pthread_cond_t'
../slap.h:253: warning: no semicolon at end of struct or union
../slap.h:262: parse error before `}'
../slap.h:262: warning: data definition has no type or storage class
In file included from ../slap.h:278,
                 from ldif2index.c:5:
../proto-slap.h:8: parse error before `Connection'
../proto-slap.h:13: parse error before `Connection'
../proto-slap.h:17: parse error before `Connection'
../proto-slap.h:89: parse error before `*'
../proto-slap.h:114: parse error before `*'
../proto-slap.h:122: parse error before `Connection'
../proto-slap.h:136: parse error before `*'
../proto-slap.h:166: parse error before `*'
../proto-slap.h:168: parse error before `*'
../proto-slap.h:170: parse error before `*'
make[3]: *** [ldif2index.o] Error 1
make[2]: *** [all] Error 2
In file included from admin.c:22:
slurp.h:258: parse error before `pthread_cond_t'
slurp.h:258: warning: no semicolon at end of struct or union
slurp.h:273: parse error before `}'
slurp.h:273: warning: data definition has no type or storage class
slurp.h:340: parse error before `*'
In file included from admin.c:23:
globals.h:52: parse error before `Rq'
globals.h:52: warning: no semicolon at end of struct or union
globals.h:61: warning: data definition has no type or storage class
globals.h:64: parse error before `*'
globals.h:64: warning: data definition has no type or storage class
admin.c: In function `do_admin':
admin.c:39: request for member `rq' in something not a structure or union
admin.c:39: request for member `rq' in something not a structure or union
make[3]: *** [admin.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2