[SIP Beyond VoIP] build error: python-sipsimple (for sylkserver)

Stuart Marsden stuart at myphones.com
Tue Jun 9 16:13:17 CEST 2015


Hi

I wanted to try sylkserver

running on Centos 6.6  I have installed ffmpeg 2.6.3
I am trying to install python-sipsimple 2.4

I get this far.

thanks in advance

Stuart

Configuring PJSIP
Compiling PJSIP
cythoning sipsimple/core/_core.pyx to sipsimple/core/_core.c
building 'sipsimple.core._core' extension
creating build/temp.linux-x86_64-2.6/sipsimple
creating build/temp.linux-x86_64-2.6/sipsimple/core
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -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_VIDEO_DEV_HAS_V4L2=1 -DPJ_SVN_REVISION=4961 -D__PYX_FORCE_INIT_THREADS=1 -I/usr/local/include -I/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjlib/include -I/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjlib-util/include -I/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjnath/include -I/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjmedia/include -I/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjsip/include -I/usr/include/python2.6 -c sipsimple/core/_core.c -o build/temp.linux-x86_64-2.6/sipsimple/core/_core.o -Wno-unused-function
gcc -pthread -shared build/temp.linux-x86_64-2.6/sipsimple/core/_core.o -L/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjlib/lib -L/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjlib-util/lib -L/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjnath/lib -L/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjmedia/lib -L/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/pjsip/lib -L/root/sylkserver_install/python-sipsimple-2.4.0/build/temp.linux-x86_64-2.6/pjsip/third_party/lib -L/usr/local/lib -L/usr/lib64 -lpjsip-ua-x86_64-unknown-linux-gnu -lpjsip-simple-x86_64-unknown-linux-gnu -lpjsip-x86_64-unknown-linux-gnu -lpjmedia-codec-x86_64-unknown-linux-gnu -lpjmedia-videodev-x86_64-unknown-linux-gnu -lpjmedia-x86_64-unknown-linux-gnu -lpjmedia-audiodev-x86_64-unknown-linux-gnu -lpjnath-x86_64-unknown-linux-gnu -lpjlib-util-x86_64-unknown-linux-gnu -lresample-x86_64-unknown-linux-gnu -lsrtp-x86_64-unknown-linux-gnu -lwebrtcaec-x86_64-unknown-linux-gnu -lopuscodec-x86_64-unknown-linux-gnu -lzsrtp-x86_64-unknown-linux-gnu -lsqlite3 -lstdc++ -lgsmcodec-x86_64-unknown-linux-gnu -lspeex-x86_64-unknown-linux-gnu -lilbccodec-x86_64-unknown-linux-gnu -lpj-x86_64-unknown-linux-gnu -luuid -lm -lrt -lpthread -lasound -lavformat -lavcodec -lxcb-shm -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lX11 -lasound -lSDL -lpthread -lbz2 -lz -lswresample -lswscale -lavutil -lrt -lm -lv4l2 -lcrypto -lssl -lpython2.6 -o build/lib.linux-x86_64-2.6/sipsimple/core/_core.so
/usr/bin/ld: /usr/local/lib/libavformat.a(allformats.o): relocation R_X86_64_32 against `ff_a64_muxer' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libavformat.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20150609/c7b4964a/attachment.html>


More information about the SIPBeyondVoIP mailing list