[pjsip] py_pjsua build errors

Benny Prijono bennylp at pjsip.org
Mon Sep 17 08:56:29 EDT 2007


Sorry, my bad. It should be alright now in r1437.

  -benny

Gideon Klompje wrote:
> Hi,
> 
>  
> 
> I checked out the SVN repository this morning (revision 1436), and it 
> compiles successfully.  However, I’m having trouble with py_pjsua.  
> Here’s what happens:
> 
>  
> 
> *<some_user>@<some_hostname>:<some_directory>/pjproject/pjsip-apps/src/py_pjsua*
> 
> # python setup.py install
> 
> Building py_pjsua module for i686-pc-linux-gnu
> 
> running install
> 
> running build
> 
> running build_ext
> 
> building 'py_pjsua' extension
> 
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall 
> -Wstrict-prototypes -fPIC -I../../../pjsip/include 
> -I../../../pjlib/include -I../../../pjlib-util/include 
> -I../../../pjmedia/include -I/usr/include/python2.5 -c py_pjsua.c -o 
> build/temp.linux-i686-2.5/py_pjsua.o
> 
> In file included from ../../../pjmedia/include/pjmedia/sound.h:28,
> 
>                  from ../../../pjmedia/include/pjmedia/endpoint.h:40,
> 
>                  from ../../../pjmedia/include/pjmedia.h:36,
> 
>                  from ../../../pjsip/include/pjsua-lib/pjsua.h:32,
> 
>                  from py_pjsua.h:24,
> 
>                  from py_pjsua.c:19:
> 
> ../../../pjlib/include/pj/pool.h:625: warning: function declaration 
> isn't a prototype
> 
> In file included from ../../../pjmedia/include/pjmedia.h:56,
> 
>                  from ../../../pjsip/include/pjsua-lib/pjsua.h:32,
> 
>                  from py_pjsua.h:24,
> 
>                  from py_pjsua.c:19:
> 
> ../../../pjmedia/include/pjmedia/transport_ice.h:29:31: error: 
> pjnath/ice_strans.h: No such file or directory
> 
> In file included from ../../../pjmedia/include/pjmedia.h:56,
> 
>                  from ../../../pjsip/include/pjsua-lib/pjsua.h:32,
> 
>                  from py_pjsua.h:24,
> 
>                  from py_pjsua.c:19:
> 
> ../../../pjmedia/include/pjmedia/transport_ice.h:74: error: expected 
> declaration specifiers or '...' before 'pj_stun_config'
> 
> ../../../pjmedia/include/pjmedia/transport_ice.h:154: error: expected 
> declaration specifiers or '...' before 'pj_ice_strans_comp'
> 
> ../../../pjmedia/include/pjmedia/transport_ice.h:168: error: expected 
> declaration specifiers or '...' before 'pj_ice_sess_role'
> 
> In file included from ../../../pjsip/include/pjsip-ua/sip_xfer.h:28,
> 
>                  from ../../../pjsip/include/pjsip_ua.h:25,
> 
>                  from ../../../pjsip/include/pjsua-lib/pjsua.h:38,
> 
>                  from py_pjsua.h:24,
> 
>                  from py_pjsua.c:19:
> 
> ../../../pjsip/include/pjsip-simple/evsub.h:217: warning: function 
> declaration isn't a prototype
> 
> ../../../pjsip/include/pjsip-simple/evsub.h:222: warning: function 
> declaration isn't a prototype
> 
> In file included from ../../../pjsip/include/pjsip_ua.h:25,
> 
>                  from ../../../pjsip/include/pjsua-lib/pjsua.h:38,
> 
>                  from py_pjsua.h:24,
> 
>                  from py_pjsua.c:19:
> 
> ../../../pjsip/include/pjsip-ua/sip_xfer.h:68: warning: function 
> declaration isn't a prototype
> 
> In file included from ../../../pjlib/include/pjlib.h:37,
> 
>                  from ../../../pjsip/include/pjsua-lib/pjsua.h:47,
> 
>                  from py_pjsua.h:24,
> 
>                  from py_pjsua.c:19:
> 
> ../../../pjlib/include/pj/guid.h:67: warning: function declaration isn't 
> a prototype
> 
> error: command 'gcc' failed with exit status 1
> 
>  
> 
> I’m running Ubuntu 7.04 “Feisty Fawn” with Python 2.5.1 and GCC 4.1.2.  
> Any guidance would be appreciated.
> 
>  
> 
> Thanks,
> 
>  
> 
> **_____________**
> *Gideon Klompje*
> Engineer
> *Biz**Call** **
> *Subsidiary of **Vox Telecom Limited**
> Block B, Rutherford Estate
> 1 Scott Street
> Waverley
> **tel:** +27 800 BIZCALL
> **direct: **+27 11 809 1656
> **mobile:** +27 84 560 0200
> **fax:** +27 86 524 2014
> **email:** gideonk at bizcall.co.za <mailto:gideonk at bizcall.co.za>
> http://www.bizcall.co.za <http://www.bizcall.co.za/>
> 
> *Disclaimer:* BizCall does not accept responsibility or liability for 
> the unauthorised use of its e-mail facility and/or opinions relating to 
> bona fide company matters.  Save for statements and/or opinions relating 
> to bona fide company matters, Bizcall denies responsibility or liability 
> for the contents of this communication.
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


-- 
Benny Prijono
http://www.pjsip.org





More information about the pjsip mailing list