[SIP Beyond VoIP] Compiling issues with sipsimple
Gurjeet Clair
gurjeet.clair at newpace.com
Tue Nov 14 19:51:55 CET 2017
Hi there,
I'm trying to build and install sip-simple from the github source and I'm running into compile errors. Am I looking at the wrong location for the latest update or version? I've tried googling around and couldn't see anything related to this error, hoping someone here may have seen this or know what the issue might be?
Thanks,
Gurjeet Clair
-----------------------------
$ pip install .
..
..
..
Compiling Cython extension sipsimple.core._core
Compiling PJSIP
cythoning sipsimple/core/_core.pyx to sipsimple/core/_core.c
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 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPJ_AUTOCONF=1 -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1 -DPJMEDIA_HAS_LIBAVFORMAT=1 -DPJMEDIA_HAS_LIBAVCODEC=1 -DPJMEDIA_HAS_LIBSWSCALE=1 -DPJMEDIA_HAS_LIBAVUTIL=1 -DPJMEDIA_HAS_LIBVPX=1 -DPJ_SVN_REVISION=5249 -D__PYX_FORCE_INIT_THREADS=1 -I/usr/include/ffmpeg -I/home/gurjeet.clair/sip-simple/python-sipsimple/deps/pjsip/pjlib/include -I/home/gurjeet.clair/sip-simple/python-sipsimple/deps/pjsip/pjlib-util/include -I/home/gurjeet.clair/sip-simple/python-sipsimple/deps/pjsip/pjnath/include -I/home/gurjeet.clair/sip-simple/python-sipsimple/deps/pjsip/pjmedia/include -I/home/gurjeet.clair/sip-simple/python-sipsimple/deps/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-function
sipsimple/core/_core.c: In function '__pyx_pf_9sipsimple_4core_5_core_14AudioTransport_8start':
sipsimple/core/_core.c:292682:31: error: 'struct pjmedia_stream_info' has no member named 'use_ka'
__pyx_v_self->_stream_info.use_ka = 1;
^
sipsimple/core/_core.c: In function '__pyx_pf_9sipsimple_4core_5_core_14VideoTransport_8start':
sipsimple/core/_core.c:301866:31: error: 'struct pjmedia_vid_stream_info' has no member named 'use_ka'
__pyx_v_self->_stream_info.use_ka = 1;
^
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-_0K7QV-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-MC2IpS-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-_0K7QV-build/
More information about the SIPBeyondVoIP
mailing list