Building py_pjsua

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

 



Hello,

my mistake. Thanks for the help, the build succeeds.

Cheers,

Andr?

On Mon, Jul 14, 2008 at 11:05 AM, Benny Prijono <bennylp at pjsip.org> wrote:

> On Mon, Jul 14, 2008 at 2:58 PM, Andr? Gon?alves <andre.rigon at gmail.com>
> wrote:
>
>> Hello,
>>
>> thanks for the very fast reply. I was already using the svn version.
>>
>> I try to use $pjsip_home/src/python, and had the error below:
>>
>> andre at andre-desktop:~/Desktop/pjsip/trunk/pjsip-apps/src/python$ sudo
>> make all
>> python setup.py install
>> helper.mak:1: ../../../build.mak: Arquivo ou diret?rio inexistente
>> make[1]: *** Sem regra para processar o alvo `../../../build.mak'.  Pare.
>>
>
> I suppose that means "build.mak" doesn't exist. Please build the main
> libraries first (the usual ./configure && make cycle) before building the
> Python module.
>
>  -benny
>
>
>
>> helper.mak:1: ../../../build.mak: Arquivo ou diret?rio inexistente
>> make[1]: *** Sem regra para processar o alvo `../../../build.mak'.  Pare.
>> helper.mak:1: ../../../build.mak: Arquivo ou diret?rio inexistente
>> make[1]: *** Sem regra para processar o alvo `../../../build.mak'.  Pare.
>> running install
>> running build
>> running build_ext
>> building '_pjsua' extension
>> creating build
>> creating build/temp.linux-i686-2.5
>> gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
>> -Wstrict-prototypes -fPIC -DPJ_AUTOCONF=1 -Imake[1]: Entrando no diret?rio
>> `/home/andre/?rea de Trabalho/pjsip/trunk/pjsip-apps/src/python' -Imake[1]:
>> Saindo do diret?rio `/home/andre/?rea de
>> Trabalho/pjsip/trunk/pjsip-apps/src/python' -I/usr/include/python2.5 -c
>> _pjsua.c -o build/temp.linux-i686-2.5/_pjsua.o
>> _pjsua.c: Na fun??o 'py_pjsua_init':
>> _pjsua.c:915: aviso: assignment from incompatible pointer type
>> _pjsua.c:916: aviso: assignment from incompatible pointer type
>> _pjsua.c:917: erro: 'pjsua_callback' has no member named 'on_typing2'
>> error: command 'gcc' failed with exit status 1
>> make: ** [all] Erro 1
>>
>> Any suggestion?
>>
>> thanks in advance,
>>
>> Andr?
>>
>>
>> On Mon, Jul 14, 2008 at 10:49 AM, Benny Prijono <bennylp at pjsip.org>
>> wrote:
>>
>>> On Mon, Jul 14, 2008 at 2:43 PM, Andr? Gon?alves <andre.rigon at gmail.com>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm trying to build the py_pjsua lib.
>>>> I think that build/install process is OK, cause I get no errors.
>>>> But when I try to use the py_pjsua module I get this error:
>>>>
>>>>
>>> Which pjsip version did you use (svn or 0.9 release)?
>>>
>>> If you use the latest SVN, then please use the new pjsua module in
>>> pjsip-apps/src/python directory. See my post few days ago about the new
>>> Python module in the list archive.
>>>
>>> If you use the 0.9 release version, then please use the SVN instead
>>> (since py_pjsua will be deprecated anyway). :)
>>>
>>> Cheers
>>>  Benny
>>>
>>>
>>>
>>>> Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
>>>> [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>> >>> import py_pjsua
>>>> Traceback (most recent call last):
>>>>   File "<stdin>", line 1, in <module>
>>>> ImportError: /usr/lib/python2.5/site-packages/py_pjsua.so: undefined
>>>> symbol: pjsua_get_buddy_count
>>>>
>>>> Any help?
>>>>
>>>> thanks in advance,
>>>>
>>>> Andre
>>>>
>>>> --
>>>> Andr? Ribeiro Gon?alves
>>>> CTBC Multimedia
>>>> Bacharelado em Ci?ncia da Computa??o
>>>> Universidade Federal de Uberl?ndia
>>>> Linux User: #439488
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Andr? Ribeiro Gon?alves
>> CTBC Multim?dia
>> Bacharel em Ci?ncia da Computa??o
>>
>> Universidade Federal de Uberl?ndia
>> Linux User: #439488
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>


-- 
Andr? Ribeiro Gon?alves
CTBC Multim?dia
Bacharel em Ci?ncia da Computa??o
Universidade Federal de Uberl?ndia
Linux User: #439488
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080714/0688267c/attachment-0001.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