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

Andreas Sikkema ASikkema at office.unet.nl
Wed Jan 28 02:18:41 CET 2009


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$

-- 
Andreas Sikkema
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20090128/63b717eb/attachment-0001.html>


More information about the SIPBeyondVoIP mailing list