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#