[SIP SIMPLE client] sylkserver 1.1.0 does not start

Juha Heinanen jh at tutpro.com
Thu Mar 24 12:00:47 CET 2011


Saúl Ibarra Corretgé writes:

> The reason is that the PJSIP libraries will not be compiled again, but 
> some code changed there, because we added some patches, so in order to 
> trigger a full build you can do:
> 
> a) Remove the build directory and rebuild
> b) Rebuild by doing: python setup.py build_ext --pjsip-clean-compile
> 
> Please, let me know if it works for you after this.

saul,

i now tried this:

jh at rautu:/usr/src$ rm -r python-sipsimple
jh at rautu:/usr/src$ darcs get http://devel.ag-projects.com/repositories/python-sipsimple
Copying patches, to get lazy repository hit ctrl-C...                         
Finished getting.                                                              
jh at rautu:/usr/src$ cd python-sipsimple/
jh at rautu:/usr/src/python-sipsimple$ dpkg-buildpackage -rfakeroot -b -us -uc

and i still get the warnings:

...
PJSIP SVN tree found, checking SVN repository for updates
No updates in PJSIP SVN
Using SVN revision 2553
cythoning sipsimple/core/_core.pyx to sipsimple/core/_core.c
warning: /usr/src/python-sipsimple/sipsimple/core/_core.pxd:31:4: str already a builtin Cython type
warning: /usr/src/python-sipsimple/sipsimple/core/_core.pxd:35:4: dict already a builtin Cython type
warning: /usr/src/python-sipsimple/sipsimple/core/_core.pxd:39:4: list already a builtin Cython type
building 'sipsimple.core._core' extension
creating /usr/src/python-sipsimple/build/temp.linux-i686-2.5
creating /usr/src/python-sipsimple/build/temp.linux-i686-2.5/sipsimple
creating /usr/src/python-sipsimple/build/temp.linux-i686-2.5/sipsimple/core
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -g -Wall -O2 -fPIC -DPJ_AUTOCONF=1 -DPJ_SVN_REVISION=2553 -I/usr/src/pjsip/pjlib/include -I/usr/src/pjsip/pjlib-util/include -I/usr/src/pjsip/pjnath/include -I/usr/src/pjsip/pjmedia/include -I/usr/src/pjsip/pjsip/include -I/usr/include/python2.5 -c sipsimple/core/_core.c -o /usr/src/python-sipsimple/./build/temp.linux-i686-2.5/sipsimple/core/_core.o -Wno-unused-variable
sipsimple/core/_core.c: In function ‘__pyx_f_9sipsimple_4core_5_core__remove_headers_from_tdata’:
sipsimple/core/_core.c:32544: warning: implicit declaration of function ‘pjsip_msg_find_remove_hdr_by_name’
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_6SIPURI___init__’:
sipsimple/core/_core.c:57943: warning: assignment from incompatible pointer type
sipsimple/core/_core.c:57963: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_13ContactHeader___init__’:
...

> PS: The version on our Debian repo works for Squeeze as well, is there a 
> specific reason why you need to compile it? Just curious :-)

just a habit from lenny times.  i can try by installing the deb from
your archive, but it would be still nice to know why the above fails.

-- juha



More information about the SIPBeyondVoIP mailing list