[pjsip] Problem linking python_pjsua project

Tóth Csaba csaba.toth at davidnet.hu
Wed May 13 18:23:46 EDT 2009


hi,

for 1.0 and 1.1 you can find precompiled binaries on my webspace:
http://dev.davidnet.hu/python-pjsua/

for 1.2 i will have time at weekend do compile them..

br,
tsabi



Ricardo O. Souza írta:
> Hi Benny,
> 
> I was using 1.1 version and i download pjlib new version 1.2 follow
> yours instructions, and now thats link errors ocurrs.
> 
> Compiling...
> _pjsua.c
> Linking...
>    Creating library
> .\output\python_pjsua-i386-win32-vc8-release/_pjsua.lib and object
> .\output\python_pjsua-i386-win32-vc8-release/_pjsua.exp
> libpjproject-i386-win32-vc8-release.lib(guid_win32.obj) : error LNK2019:
> unresolved external symbol __imp__CoCreateGuid at 4 referenced in function
> _pj_generate_unique_string
> libpjproject-i386-win32-vc8-release.lib(pa_win_ds.obj) : error LNK2019:
> unresolved external symbol __imp__CoUninitialize at 0 referenced in
> function _Terminate
> libpjproject-i386-win32-vc8-release.lib(pa_win_ds.obj) : error LNK2019:
> unresolved external symbol __imp__GetDesktopWindow at 0 referenced in
> function _InitOutputBuffer
> libpjproject-i386-win32-vc8-release.lib(pa_win_ds.obj) : error LNK2019:
> unresolved external symbol __imp__CoInitialize at 4 referenced in function
> _PaWinDs_Initialize
> ..\lib\_pjsua.pyd : fatal error LNK1120: 4 unresolved externals
> Creating browse information file...
> Microsoft Browse Information Maintenance Utility Version 8.00.50727
> Copyright (C) Microsoft Corporation. All rights reserved.
> Build log was saved at
> "file://c:\pjsip\pjproject-1.2\pjsip-apps\build\output\python_pjsua-i386-win32-vc8-release\BuildLog.htm"
> python_pjsua - 5 error(s), 0 warning(s)
> ========== Build: 19 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> 
> what´s happen now ?
> 
> thanks,
> 
> Ricardo O. Souza
> 
> 
> 
> Wed, 13 May 2009 22:20:18 +0100, Benny Prijono escreveu:
> 
>     Are you using the latest 1.2?
> 
>      -benny
> 
>     On Wed, May 13, 2009 at 9:21 PM, Ricardo O. Souza
>     <ros at bravoip.com.br <mailto:ros at bravoip.com.br>> wrote:
> 
>         I´m trying compiling python_pjsua project using VS2005 with PSDK
>         2003 SP1, but link errors occurs. All anothers  libraries was
>         sucessful compiled. Follow below.
> 
>         ------ Build started: Project: python_pjsua, Configuration:
>         Release Win32 ------
>         Linking...
>           Creating library
>         .\output\python_pjsua-i386-win32-vc6-release/_pjsua.lib and
>         object .\output\python_pjsua-i386-win32-vc6-release/_pjsua.exp
>         pjsua-lib-i386-win32-vc6-release.lib(pjsua_media.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_dev_get_info
>         referenced in function _pjsua_enum_aud_devs
>         pjmedia-i386-win32-vc6-release.lib(conference.obj) : error
>         LNK2001: unresolved external symbol _pjmedia_aud_dev_get_info
>         pjmedia-i386-win32-vc6-release.lib(sound_port.obj) : error
>         LNK2001: unresolved external symbol _pjmedia_aud_dev_get_info
>         pjsua-lib-i386-win32-vc6-release.lib(pjsua_media.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_dev_count
>         referenced in function _pjsua_enum_aud_devs
>         pjsua-lib-i386-win32-vc6-release.lib(pjsua_media.obj) : error
>         LNK2019: unresolved external symbol
>         _pjmedia_aud_dev_default_param referenced in function
>         _create_aud_param
>         pjmedia-i386-win32-vc6-release.lib(sound_port.obj) : error
>         LNK2001: unresolved external symbol _pjmedia_aud_dev_default_param
>         pjsua-lib-i386-win32-vc6-release.lib(pjsua_media.obj) : error
>         LNK2019: unresolved external symbol
>         _pjmedia_aud_stream_get_param referenced in function
>         _update_initial_aud_param
>         pjmedia-i386-win32-vc6-release.lib(conference.obj) : error
>         LNK2001: unresolved external symbol _pjmedia_aud_stream_get_param
>         pjmedia-i386-win32-vc6-release.lib(sound_port.obj) : error
>         LNK2001: unresolved external symbol _pjmedia_aud_stream_get_param
>         pjsua-lib-i386-win32-vc6-release.lib(pjsua_media.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_param_set_cap
>         referenced in function _pjsua_snd_set_setting
>         pjsua-lib-i386-win32-vc6-release.lib(pjsua_media.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_stream_set_cap
>         referenced in function _pjsua_snd_set_setting
>         pjmedia-i386-win32-vc6-release.lib(sound_port.obj) : error
>         LNK2001: unresolved external symbol _pjmedia_aud_stream_set_cap
>         pjsua-lib-i386-win32-vc6-release.lib(pjsua_media.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_param_get_cap
>         referenced in function _pjsua_snd_get_setting
>         pjsua-lib-i386-win32-vc6-release.lib(pjsua_media.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_stream_get_cap
>         referenced in function _pjsua_snd_get_setting
>         pjmedia-i386-win32-vc6-release.lib(sound_port.obj) : error
>         LNK2001: unresolved external symbol _pjmedia_aud_stream_get_cap
>         pjmedia-i386-win32-vc6-release.lib(endpoint.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_subsys_shutdown
>         referenced in function _pjmedia_endpt_destroy
>         pjmedia-i386-win32-vc6-release.lib(endpoint.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_subsys_init
>         referenced in function _pjmedia_endpt_create
>         pjmedia-i386-win32-vc6-release.lib(sound_port.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_stream_destroy
>         referenced in function _stop_sound_device
>         pjmedia-i386-win32-vc6-release.lib(sound_port.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_stream_stop
>         referenced in function _stop_sound_device
>         pjmedia-i386-win32-vc6-release.lib(sound_port.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_stream_start
>         referenced in function _start_sound_device
>         pjmedia-i386-win32-vc6-release.lib(sound_port.obj) : error
>         LNK2019: unresolved external symbol _pjmedia_aud_stream_create
>         referenced in function _start_sound_device
>         pjlib-i386-win32-vc6-release.lib(guid_win32.obj) : error
>         LNK2019: unresolved external symbol __imp__CoCreateGuid at 4
>         referenced in function _pj_generate_unique_string
>         ..\lib\_pjsua.pyd : fatal error LNK1120: 15 unresolved externals
> 
>         What´s wrong ?
> 
>         Thanks all.
> 
>         _______________________________________________
>         Visit our blog: http://blog.pjsip.org <http://blog.pjsip.org/>
> 
>         pjsip mailing list
>         pjsip at lists.pjsip.org <mailto: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




More information about the pjsip mailing list