[SIP SIMPLE client] PJSIP doesn't want to build

Ruud Klaver ruud at ag-projects.com
Wed Jan 28 10:00:54 CET 2009


Hi Andreas,

On 28 Jan 2009, at 02:18, Andreas Sikkema wrote:

>
> Guys,
>
> I've followed the (Linux) procedure from http://sipsimpleclient.com/wiki/SipInstallation 
> , but I seem to be stuck at the last hurdle, building PJSIP. For  
> some reason gcc doesn't like functions accessing the info parameter  
> in struct pjmedia_sdp_session. Is this a known issue or do I really  
> have to look into the problem? I'd rather go to sleep ;-)
>
> Here's the output on my (up to date) Ubuntu Intrepid machine:
>
> ramdyne at titanic:~/work/sipsimpleclient/sipsimpleclient$ sudo python  
> setup.py install
> [sudo] password for ramdyne:
> running install
> running build
> running build_py
> running build_ext
> PJSIP SVN tree found, updating from SVN repository
> Using SVN revision 2430
> building 'pypjua.core' extension
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall - 
> Wstrict-prototypes -fPIC -DPJ_AUTOCONF=1 -DPJ_SVN_REVISION=2430 -I/ 
> home/ramdyne/work/sipsimpleclient/sipsimpleclient/build/temp.linux- 
> i686-2.5/pjsip/pjlib/include -I/home/ramdyne/work/sipsimpleclient/ 
> sipsimpleclient/build/temp.linux-i686-2.5/pjsip/pjlib-util/include - 
> I/home/ramdyne/work/sipsimpleclient/sipsimpleclient/build/temp.linux- 
> i686-2.5/pjsip/pjnath/include -I/home/ramdyne/work/sipsimpleclient/ 
> sipsimpleclient/build/temp.linux-i686-2.5/pjsip/pjmedia/include -I/ 
> home/ramdyne/work/sipsimpleclient/sipsimpleclient/build/temp.linux- 
> i686-2.5/pjsip/pjsip/include -I/usr/include/python2.5 -c pypjua/ 
> core.c -o build/temp.linux-i686-2.5/pypjua/core.o -Wno-unused-variable
> pypjua/core.c: In function ‘__pyx_f_6pypjua_4core_10SDPSession__to_c’:
> pypjua/core.c:35907: error: ‘struct pjmedia_sdp_session’ has no  
> member named ‘info’
> pypjua/core.c:35919: error: ‘struct pjmedia_sdp_session’ has no  
> member named ‘info’
> pypjua/core.c: In function ‘__pyx_f_6pypjua_4core_8SDPMedia__to_c’:
> pypjua/core.c:37562: error: ‘c’ has no member named ‘info’
> pypjua/core.c:37574: error: ‘struct pjmedia_sdp_media’ has no member  
> named ‘info’
> pypjua/core.c: In function ‘__pyx_f_6pypjua_4core_c_make_SDPSession’:
> pypjua/core.c:39231: error: ‘pjmedia_sdp_session’ has no member  
> named ‘info’
> pypjua/core.c: In function ‘__pyx_f_6pypjua_4core_c_make_SDPMedia’:
> pypjua/core.c:39451: error: ‘struct pjmedia_sdp_media’ has no member  
> named ‘info’
> pypjua/core.c: In function ‘initcore’:
> pypjua/core.c:52428: error: ‘struct pjsip_inv_callback’ has no  
> member named ‘on_rx_reinvite’
> error: command 'gcc' failed with exit status 1
> ramdyne at titanic:~/work/sipsimpleclient/sipsimpleclient$

That's strange, it looks like it didn't apply our patches to the PJSIP  
tree. Can you recall if it displayed "Patching PJSIP" when you were  
first trying to build it?

Actually I see there is version 2431 in the SVN now. If you try to run  
the setup script now, it should check out the new version and apply  
the patches again. Could you try it?

Ruud Klaver
AG Projects



More information about the SIPBeyondVoIP mailing list