[SIP SIMPLE client] error while cythoning under archlinux x86_64

Adrian Georgescu ag at ag-projects.com
Sat Dec 11 11:24:19 CET 2010


Also the SDK was not thoroughly tested agains Python 2.7. I recommend that you use 2.6 instead.

Adrian

On Dec 11, 2010, at 11:16 AM, David Wulliamoz wrote:

> Hello, 
> 
> I tried to build python-sipsimple under Archlinux x86_64.
> I have the following error. Any idea how to solve this?
> Thanks for your help
> 
> 
> I'm using cython 0.13 and the error is occuring after the command:
> sudo python2 setup.py build_ext --pjsip-clean-compile
> 
> 
> cythoning sipsimple/core/_core.pyx to sipsimple/core/_core.c
> warning: /media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/sipsimple/core/_core.pxd:31:4: str already a builtin Cython type
> warning: /media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/sipsimple/core/_core.pxd:35:4: dict already a builtin Cython type
> warning: /media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/sipsimple/core/_core.pxd:39:4: list already a builtin Cython type
> 
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
>         if rtp_transport_void != NULL:
>             rtp_transport = (<object> rtp_transport_void)()
>             if rtp_transport is None:
>                 return
>             _reason = reason
>             if _reason != "media stop requested":
>                       ^
> ------------------------------------------------------------
> 
> /media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/sipsimple/core/_core.mediatransport.pxi:1100:23: Comparisons between bytes/unicode and str are not portable to Python 3
> building 'sipsimple.core._core' extension
> creating build/temp.linux-x86_64-2.7/sipsimple
> creating build/temp.linux-x86_64-2.7/sipsimple/core
> gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DPJ_AUTOCONF=1 -DPJ_SVN_REVISION=2830 -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjlib/include -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjlib-util/include -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjnath/include -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjmedia/include -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjsip/include -I/usr/include/python2.7 -c sipsimple/core/_core.c -o build/temp.linux-x86_64-2.7/sipsimple/core/_core.o -Wno-unused-variable
> sipsimple/core/_core.c:1:2: erreur: #error Do not use this file, it is the result of a failed Cython compilation.
> error: command 'gcc' failed with exit status 1
> 
> 
> -- 
> 
> _______________________________
> Wulliamoz David
> Valentin 89
> 1400 Yverdon-les-Bains
> 078 778 2654
> david at wulliamoz.ch
> 
> _______________________________________________
> SIPclient mailing list
> SIPclient at lists.ag-projects.com
> http://lists.ag-projects.com/mailman/listinfo/sipclient

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20101211/24517000/attachment-0001.html>


More information about the SIPBeyondVoIP mailing list