[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sipwitch-devel] Can not compile last sipwitch
From: |
Anton |
Subject: |
Re: [Sipwitch-devel] Can not compile last sipwitch |
Date: |
Thu, 31 Jan 2013 09:37:21 +0700 |
Yes, You was right. I had ucommon-5.5.0 -- this is archlinux distribution
package. After update ucommon to latest 6.0.3
version sipwitch has compiled with no errors.
Thanks.
On Wed, 30 Jan 2013 12:51:33 -0500
David Sugar <address@hidden> wrote:
> I am guessing you are using a ucommon release older than 6.0. You simply
> need the most current ucommon release, which I believe is now 6.0.3.
>
> Anton wrote:
>
> > Hello.
> >
> > Today I've tried to compile sipwitch with no success. I get the following
> > error:
> >
> > sipwitch-1.5.0]$ make
> > make all-recursive
> > make[1]: Entering directory `/home/warm/AUR/sipwitch/sipwitch-1.5.0'
> > Making all in common
> > make[2]: Entering directory `/home/warm/AUR/sipwitch/sipwitch-1.5.0/common'
> > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
> > -I../inc -DOSIP_MT -DHAVE_SYS_SEM_H
> > -Wno-long-long -DNEW_STDCPP -pthread -fno-check-new -finline
> > -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -g -O2 -MT
> > service.lo -MD -MP -MF .deps/service.Tpo -c -o service.lo service.cpp
> > libtool: compile: g++ -DHAVE_CONFIG_H -I.
> > -I.. -I../inc -DOSIP_MT -DHAVE_SYS_SEM_H -Wno-long-long -DNEW_STDCPP
> > -pthread -fno-check-new -finline
> > -fvisibility=hidden -DUCOMMON_VISIBILITY=1 -g -O2 -MT service.lo -MD -MP
> > -MF .deps/service.Tpo -c service.cpp
> > -fPIC -DPIC -o .libs/service.o In file included from service.cpp:20:0:
> > ../inc/sipwitch/service.h: In member
> > function 'void sipwitch::service::keyclone::reset(const char*)':
> > ../inc/sipwitch/service.h:111:14: error: 'Id' was
> > not declared in this scope service.cpp: In member function 'void
> > sipwitch::service::keyclone::splice(sipwitch::service::keyclone*)':
> > service.cpp:217:5: error: 'Parent' was not
> > declared in this scope service.cpp:219:28: error: 'class
> > sipwitch::service::keyclone' has no member named 'Child'
> > service.cpp: In destructor 'virtual sipwitch::service::~service()':
> > service.cpp:242:5: error: 'reset_unsafe' was
> > not declared in this scope service.cpp:242:25: error: expected
> > primary-expression before '>' token make[2]: ***
> > [service.lo] Error 1 make[2]: Leaving directory
> > `/home/warm/AUR/sipwitch/sipwitch-1.5.0/common'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/warm/AUR/sipwitch/sipwitch-1.5.0'
> > make: *** [all] Error 2
> >
> > I have gcc version 4.7.2 (fresh Archlinux)
> >
> > Can someone help to compile sipwitch-1.5.0 ?
> >
--
Anton [WARM-RIPE]
MT NOC division head
tel. 8 (3822) 555-797