Python compiling error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Yeah this was a bug in rc1. Either wait for rc2 or get the version in SVN.

Thanks!

On Fri, Sep 5, 2008 at 1:22 PM, Agust?n M. Rodr?guez | Gmail <
ing.agustin.rodriguez at gmail.com> wrote:

> Hi, my name is Agustin and I've tried compile The Python modules source
> step by step:
>
> Using Python build script:
>
>    1. Build the PJSIP libraries first with the usual "./configure && make
>    dep && make" commands.
>    2. Go to pjsip-apps/src/python directory.
>    3. Run *'sudo python ./setup.py install'* or just *'sudo make'*
>
>
> ... but when I run '*sudo python ./setup.py install' ...
>
> python setup.py install
> running install
> running build
> running build_py
> creating build
> creating build/lib.linux-i686-2.5
> copying pjsua.py -> build/lib.linux-i686-2.5
> running build_ext
> building '_pjsua' extension
> creating build/temp.linux-i686-2.5
> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes
> -fPIC -DPJ_AUTOCONF=1 -Imake[1]: Entering directory
> `/home/arodriguez/pjproject-1.0-rc1/pjsip-apps/src/python'
> -I/home/arodriguez/pjproject-1.0-rc1/pjlib/include
> -I/home/arodriguez/pjproject-1.0-rc1/pjlib-util/include
> -I/home/arodriguez/pjproject-1.0-rc1/pjnath/include
> -I/home/arodriguez/pjproject-1.0-rc1/pjmedia/include
> -I/home/arodriguez/pjproject-1.0-rc1/pjsip/include -Imake[1]: Leaving
> directory `/home/arodriguez/pjproject-1.0-rc1/pjsip-apps/src/python'
> -I/usr/include/python2.5 -c _pjsua.c -o build/temp.linux-i686-2.5/_pjsua.o
> _pjsua.c: In function 'py_pjsua_codec_get_param':
> _pjsua.c:2850: error: 'struct <anonymous>' has no member named
> 'dec_fmtp_mode'
> _pjsua.c:2851: error: 'struct <anonymous>' has no member named
> 'enc_fmtp_mode'
> _pjsua.c: In function 'py_pjsua_codec_set_param':
> _pjsua.c:2891: error: 'struct <anonymous>' has no member named
> 'dec_fmtp_mode'
> _pjsua.c:2892: error: 'struct <anonymous>' has no member named
> 'enc_fmtp_mode'
> error: command 'gcc' failed with exit status 1
> make: *** [all] Error 1
>
> **Plataform:*
> OS: Linux Ubuntu 7.10
> Kernel version: 2.6.22-15
> gcc version: gcc version 4.1.3 20070929 (prerelease) (Ubuntu
> 4.1.2-16ubuntu2)
>
> Any suggest?
>
> Best regards
> Agustin
>
>
> _______________________________________________
> 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
>
>


-- 
Perry Ismangil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080905/2d3bb002/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux