[SIP SIMPLE client] python-sipsimple build fails on debian squeeze

Juha Heinanen jh at tutpro.com
Mon May 24 14:44:29 CEST 2010


Saúl Ibarra Corretgé writes:

> Looks like some patch was not applied correctly. Can you remove the 
> 'build' directory and try to build the core again with python setup.py 
> build_ext --pjsip-clean-compile ?

saul,

i removed 'build' dir and then gave the command you asked in above.  the
command succeeded after printing some warnings (below).  also,
dpkg-buildpackage now worked.

-- thanks, juha

jh at rautu:/usr/src/python-sipsimple$ rm -r build
jh at rautu:/usr/src/python-sipsimple$ python setup.py  build_ext --pjsip-clean-compile 
running build_ext
PJSIP SVN tree found, checking SVN repository for updates
Fetching updates from PJSIP SVN repository
Using SVN revision 2830
Patching PJSIP
Patching PortAudio
Configuring PJSIP
Cleaning PJSIP
Compiling PJSIP
building 'sipsimple.core._core' extension
creating build
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/sipsimple
creating build/temp.linux-i686-2.5/sipsimple/core
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DPJ_AUTOCONF=1 -DPJ_SVN_REVISION=2830 -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 build/temp.linux-i686-2.5/sipsimple/core/_core.o -Wno-unused-variable
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_6SIPURI___init__’:
sipsimple/core/_core.c:54523: warning: assignment from incompatible pointer type
sipsimple/core/_core.c:54543: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_13ContactHeader___init__’:
sipsimple/core/_core.c:59184: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_10FromHeader___init__’:
sipsimple/core/_core.c:62175: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_8ToHeader___init__’:
sipsimple/core/_core.c:62723: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_11RouteHeader___init__’:
sipsimple/core/_core.c:63271: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_17RecordRouteHeader___init__’:
sipsimple/core/_core.c:63616: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_16RetryAfterHeader___init__’:
sipsimple/core/_core.c:64821: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_9ViaHeader___init__’:
sipsimple/core/_core.c:66642: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_11EventHeader___init__’:
sipsimple/core/_core.c:71319: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_23SubscriptionStateHeader___init__’:
sipsimple/core/_core.c:72879: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_12ReasonHeader___init__’:
sipsimple/core/_core.c:74909: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_10Invitation_send_reinvite’:
sipsimple/core/_core.c:93182: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_10SDPSession___init__’:
sipsimple/core/_core.c:103198: warning: assignment from incompatible pointer type
sipsimple/core/_core.c:103218: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_16FrozenSDPSession___init__’:
sipsimple/core/_core.c:106270: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_14SDPMediaStream___init__’:
sipsimple/core/_core.c:107954: warning: assignment from incompatible pointer type
sipsimple/core/_core.c:107992: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_20FrozenSDPMediaStream___init__’:
sipsimple/core/_core.c:110192: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_12RTPTransport_24local_rtp_candidate_type___get__’:
sipsimple/core/_core.c:118382: warning: assignment from incompatible pointer type
sipsimple/core/_core.c: In function ‘__pyx_pf_9sipsimple_4core_5_core_12RTPTransport_25remote_rtp_candidate_type___get__’:
sipsimple/core/_core.c:118422: warning: assignment from incompatible pointer type
creating build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/sipsimple
creating build/lib.linux-i686-2.5/sipsimple/core
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/sipsimple/core/_core.o -L/usr/src/pjsip/pjlib/lib -L/usr/src/pjsip/pjlib-util/lib -L/usr/src/pjsip/pjnath/lib -L/usr/src/pjsip/pjmedia/lib -L/usr/src/pjsip/pjsip/lib -L/usr/src/pjsip/third_party/lib -lpjsip-ua-i686-pc-linux-gnu -lpjsip-simple-i686-pc-linux-gnu -lpjsip-i686-pc-linux-gnu -lpjmedia-codec-i686-pc-linux-gnu -lpjmedia-i686-pc-linux-gnu -lpjnath-i686-pc-linux-gnu -lpjlib-util-i686-pc-linux-gnu -lresample-i686-pc-linux-gnu -lmilenage-i686-pc-linux-gnu -lsrtp-i686-pc-linux-gnu -lgsmcodec-i686-pc-linux-gnu -lspeex-i686-pc-linux-gnu -lilbccodec-i686-pc-linux-gnu -lportaudio-i686-pc-linux-gnu -lpj-i686-pc-linux-gnu -lm -lnsl -lrt -lpthread -lasound -lssl -lcrypto -o build/lib.linux-i686-2.5/sipsimple/core/_core.so
jh at rautu:/usr/src/python-sipsimple$ 



More information about the SIPBeyondVoIP mailing list