Hello all,
After debian squeeze upgrade (as well as in new squeeze installation) it is impossible to build kamailio. All dep. packages were installed and I successfully done this task before. Does anybody have same problem ? Is there any solution ?
Part of the build log is shown below.
BR, Dmitri
devel-test:/usr/src/kamailio#make deb ~ ~ ~ /usr/bin/make every-module group_include="kpurple" Makefile.defs defs skipped make[2]: Entering directory `/usr/src/kamailio'
Makefile.defs defs skipped make[3]: Entering directory `/usr/src/kamailio/modules_k/purple' make[3]: Leaving directory `/usr/src/kamailio/modules_k/purple' Makefile.defs defs skipped make[3]: Entering directory `/usr/src/kamailio/modules_k/purple' gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -mtune=opteron -Wall -DNAME='"kamailio"' -DVERSION='"3.0.2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.4.4"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=3000002 -DCFG_DIR='"/etc/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DF_MALLOC -DUSE_TLS -DTLS_HOOKS -DSTATISTICS -DMALLOC_STATS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/libxml2 -DOPENSER_MOD_INTERFACE -DMOD_NAME='"purple"' -c clientaccount.c -o clientaccount.o -MMD -MP gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -mtune=opteron -Wall -DNAME='"kamailio"' -DVERSION='"3.0.2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.4.4"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=3000002 -DCFG_DIR='"/etc/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DF_MALLOC -DUSE_TLS -DTLS_HOOKS -DSTATISTICS -DMALLOC_STATS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/libxml2 -DOPENSER_MOD_INTERFACE -DMOD_NAME='"purple"' -c clientops.c -o clientops.o -MMD -MP gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -m64 -minline-all-stringops -falign-loops -ftree-vectorize -fno-strict-overflow -mtune=opteron -Wall -DNAME='"kamailio"' -DVERSION='"3.0.2"' -DARCH='"x86_64"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.4.4"' -D__CPU_x86_64 -D__OS_linux -DSER_VER=3000002 -DCFG_DIR='"/etc/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DF_MALLOC -DUSE_TLS -DTLS_HOOKS -DSTATISTICS -DMALLOC_STATS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/libxml2 -DOPENSER_MOD_INTERFACE -DMOD_NAME='"purple"' -c clientpipe.c -o clientpipe.o -MMD -MP In file included from purple.h:23, from clientpipe.c:27: /usr/include/libpurple/status.h:93: error: expected specifier-qualifier-list before 'gpointer' make[3]: *** [clientpipe.o] Error 1 make[3]: Leaving directory `/usr/src/kamailio/modules_k/purple' make[2]: *** [modules_k] Error 1 make[2]: Leaving directory `/usr/src/kamailio' make[1]: *** [build-stamp] Error 2 make[1]: Leaving directory `/usr/src/kamailio' dpkg-buildpackage: error: debian/rules build gave error exit status 2 devel-test:/usr/src/kamailio#
On Wednesday 16 June 2010, Dmitri Korotkov wrote:
After debian squeeze upgrade (as well as in new squeeze installation) it is impossible to build kamailio. All dep. packages were installed and I successfully done this task before. Does anybody have same problem ? Is there any solution ?
Part of the build log is shown below.
devel-test:/usr/src/kamailio#make deb [..] -I/usr/include/libxml2 -DOPENSER_MOD_INTERFACE -DMOD_NAME='"purple"' -c clientpipe.c -o clientpipe.o -MMD -MP In file included from purple.h:23, from clientpipe.c:27: /usr/include/libpurple/status.h:93: error: expected specifier-qualifier-list before 'gpointer'
Hi Dmitri,
i think i also saw a recent breakage in squeeze building, that time related to some missing package dependencies. But now it at least works for the default package set again.
But in this case it seems more like a general incompatiblity for the purple module to the new version of the development headers, or a bug in the purple package. In lenny there is 2.4.3, in squeeze they updated to 2.7.1. On my (ubuntu) system it works also, here 2.6.2 is present. Also possible that the packages misses some dependencies, like libglib2.0-dev?
Cheers,
Henning
El Wed, 16 Jun 2010 12:14:11 +0300 Dmitri Korotkov dmitri.korotkov@festart.ee escribió:
Hello all,
After debian squeeze upgrade (as well as in new squeeze installation) it is impossible to build kamailio. All dep. packages were installed and I successfully done this task before. Does anybody have same problem ? Is there any solution ?
Part of the build log is shown below.
BR, Dmitri
You can find Kamailio builds for debian squeeze at kamailio download page. http://www.kamailio.org/dokuwiki/doku.php/packages:debs
In your case, it is a problem with purple module which seems not to compile with libpurple 2.7 and above.
If you can fix that please report :)