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

Re: installation problems (ITS#128)



hi,
could you please tell me why do i have these
errors when installing openldap ?
(after the make command)
the only variables i set are : CPPFLAGSand LDFLAGS

thank you very much for your help
regards,
sihem amer-yahia

main.c:934: `MAIL500_TIMEOUT' undeclared (first use in this function)
main.c:936: `ld' undeclared (first use in this function)
main.c: In function `send_message':
main.c:1080: `MAIL500_SENDMAIL' undeclared (first use in this function)
main.c: In function `send_group':
main.c:1102: `MAIL500_SENDMAIL' undeclared (first use in this function)
main.c: In function `send_errors':
main.c:1162: `MAIL500_SENDMAIL' undeclared (first use in this function)
main.c: In function `do_noemail':
main.c:1306: `ld' undeclared (first use in this function)
main.c: In function `do_ambiguous':
main.c:1386: `ld' undeclared (first use in this function)
main.c: In function `isgroup':
main.c:1469: `ld' undeclared (first use in this function)
main.c: In function `unbind_and_exit':
main.c:1548: `ld' undeclared (first use in this function)
main.c: In function `has_attributes':
main.c:1595: `ld' undeclared (first use in this function)
main.c: In function `get_attributes_mail_dn':
main.c:1621: `ld' undeclared (first use in this function)
main.c:1628: `MAIL500_TIMEOUT' undeclared (first use in this function)
make[2]: *** [main.o] Error 1
In file included from rp500.c:36:
../../include/ldapconfig.h:28: parse error before `_LDAP_CONFIG_H'
rp500.c: In function `main':
rp500.c:61: `FILTERFILE' undeclared (first use in this function)
rp500.c:61: (Each undeclared identifier is reported only once
rp500.c:61: for each function it appears in.)
rp500.c:84: `debug' undeclared (first use in this function)
make[2]: *** [rp500.o] Error 1
In file included from main.c:20:
../../include/ldapconfig.h:28: parse error before `_LDAP_CONFIG_H'
In file included from main.c:21:
rcpt500.h:20: parse error before `}'
rcpt500.h:25: warning: `struct msginfo' declared inside parameter list
rcpt500.h:25: warning: its scope is only this definition or declaration,
rcpt500.h:25: warning: which is probably not what you want.
rcpt500.h:35: warning: `struct msginfo' declared inside parameter list
rcpt500.h:36: warning: `struct msginfo' declared inside parameter list
main.c:29: `RCPT500_SIZELIMIT' undeclared here (not in a function)
main.c:30: `RCPT500_RDNCOUNT' undeclared here (not in a function)
main.c:35: `FILTERFILE' undeclared here (not in a function)
main.c:36: `TEMPLATEFILE' undeclared here (not in a function)
main.c:37: `RCPT500_LISTLIMIT' undeclared here (not in a function)
main.c:37: size of array `reply' has non-integer type
main.c:43: warning: `struct msginfo' declared inside parameter list
main.c:45: warning: `struct msginfo' declared inside parameter list
main.c: In function `main':
main.c:56: storage size of `msg' isn't known
main.c: At top level:
main.c:174: warning: `struct msginfo' declared inside parameter list
main.c:175: conflicting types for `read_msg'
main.c:43: previous declaration of `read_msg'
main.c: In function `read_msg':
main.c:179: dereferencing pointer to incomplete type
main.c:179: dereferencing pointer to incomplete type
main.c:179: dereferencing pointer to incomplete type
main.c:194: dereferencing pointer to incomplete type
main.c:195: dereferencing pointer to incomplete type
main.c:197: dereferencing pointer to incomplete type
main.c:199: dereferencing pointer to incomplete type
main.c:200: dereferencing pointer to incomplete type
main.c:202: dereferencing pointer to incomplete type
main.c:204: dereferencing pointer to incomplete type
main.c:206: dereferencing pointer to incomplete type
main.c:208: dereferencing pointer to incomplete type
main.c:208: dereferencing pointer to incomplete type
main.c:221: dereferencing pointer to incomplete type
main.c:225: dereferencing pointer to incomplete type
main.c:229: dereferencing pointer to incomplete type
main.c: At top level:
main.c:271: warning: `struct msginfo' declared inside parameter list
main.c:272: conflicting types for `send_reply'
main.c:45: previous declaration of `send_reply'
main.c: In function `send_reply':
main.c:277: `RCPT500_PIPEMAILCMD' undeclared (first use in this function)
main.c:277: (Each undeclared identifier is reported only once
main.c:277: for each function it appears in.)
main.c:288: `RCPT500_FROM' undeclared (first use in this function)
main.c:292: dereferencing pointer to incomplete type
main.c:293: dereferencing pointer to incomplete type
main.c:300: dereferencing pointer to incomplete type
main.c:304: dereferencing pointer to incomplete type
main.c:306: dereferencing pointer to incomplete type
main.c:310: dereferencing pointer to incomplete type
main.c:310: dereferencing pointer to incomplete type
main.c:316: dereferencing pointer to incomplete type
make[2]: *** [main.o] Error 1
In file included from idl.c:10:
../../../include/ldapconfig.h:28: parse error before `_LDAP_CONFIG_H'
In file included from ../slap.h:6,
                 from idl.c:11:
/usr/include/stdlib.h:27: parse error before `}'
/usr/include/stdlib.h:27: warning: data definition has no type or storage class
/usr/include/stdlib.h:101: parse error before `div'
/usr/include/stdlib.h:101: warning: data definition has no type or storage class
idl.c: In function `idl_notin':
idl.c:933: `SLAPD_LDBM_MIN_MAXIDS' undeclared (first use in this function)idl.c:933: (Each undeclared identifier is reported only once
idl.c:933: for each function it appears in.)
make[7]: *** [idl.o] Error 1
make[6]: *** [all-local-srv] Error 2
make[5]: *** [all-common] Error 2
make[5]: *** No rule to make target `.backend', needed by `libbackends.a'.  Stop.
make[4]: *** [backendslib] Error 2
make[3]: *** [all-local-srv] Error 2
make[2]: *** [all-common] Error 2
In file included from slurp.h:32,
                 from admin.c:24:
../../include/ldapconfig.h:28: parse error before `_LDAP_CONFIG_H'
make[3]: *** [admin.o] Error 1
make[2]: *** [all-common] Error 2