El Tue, 5 Oct 2010 23:54:06 +0200
Jon Bonilla (Manwe) <manwe(a)aholab.ehu.es> escribió:
El Tue, 05 Oct 2010 23:42:09 +0200
Daniel-Constantin Mierla <miconda(a)gmail.com> escribió:
- I needed to install libsasl2-dev for
compilation although it's not in
the dependency list. Can anybody confirm this?
which part threw error?
I'll try to reproduce it later, in a fresh chroot. I think it was something
related to ldap.
Here's the error reproduced (when you don't have libsasl2-dev)
/usr/bin/make every-module group_include="kldap"
make[1]: se ingresa al directorio `/usr/src/kamailio/kama31'
CC (gcc) [M ldap.so] ld_cfg.o
CC (gcc) [M ldap.so] ld_cmd.o
CC (gcc) [M ldap.so] ld_con.o
ld_con.c:43:23: warning: sasl/sasl.h: No existe el fichero o el directorio
ld_con.c: In function ‘lutil_sasl_interact’:
ld_con.c:131: error: ‘sasl_interact_t’ undeclared (first use in this function)
ld_con.c:131: error: (Each undeclared identifier is reported only once
ld_con.c:131: error: for each function it appears in.)
ld_con.c:131: error: ‘interact’ undeclared (first use in this function)
ld_con.c:138: error: ‘SASL_CB_LIST_END’ undeclared (first use in this function)
ld_con.c:141: error: ‘SASL_CB_AUTHNAME’ undeclared (first use in this function)
ld_con.c:146: error: ‘SASL_CB_PASS’ undeclared (first use in this function)
ld_con.c:151: error: ‘SASL_CB_GETREALM’ undeclared (first use in this function)
ld_con.c:153: error: ‘SASL_CB_USER’ undeclared (first use in this function)
ld_con.c:155: error: ‘SASL_CB_NOECHOPROMPT’ undeclared (first use in this
function) ld_con.c:157: error: ‘SASL_CB_ECHOPROMPT’ undeclared (first use in
this function) ld_con.c: In function ‘ld_con_connect’:
ld_con.c:241: warning: implicit declaration of function ‘ldap_simple_bind_s’
make[2]: *** [ld_con.o] Error 1
make[1]: *** [modules_s] Error 1
make[1]: se sale del directorio `/usr/src/kamailio/kama31'
make: *** [build-stamp] Error 2
dpkg-buildpackage: fallo: debian/rules build devolvió un estado de salida de
error 2