How to install python-pjsua with MinGW

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

 



I tried all way to compile python-pjsua on Windows (also on linux but  there
is no problem)
used visual studio2008 = failed
used visual c++ 2005 = failed

Use wingw
> python setup.py build_ext --compiler=mingw32 install

instruction from http://trac.pjsip.org/repos/wiki/Python_SIP/Build_Install ,
Seem i missed pjsua.h file but i found this file under
PJDIR\pjsip\include\pjsua-lib .
I don't knon what wrong.   i need python library to connect to trixbox that
run as sip server.
or There is pre compile package?
Dose one please help.
Thank.

Error message
============================
running build_ext
building '_pjsua' extension
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -DPJ_AUTOCONF=1
-IC:\Python26\include -IC:\Python26\PC -c _pjsua.c -o
build\temp.win32-2.6\Release\_pjsua.o
In file included from _pjsua.c:20:
_pjsua.h:27:29: pjsua-lib/pjsua.h: No such file or directory
In file included from _pjsua.c:20:
_pjsua.h:30: error: syntax error before "PyString_ToPJ"
_pjsua.h:31: warning: return type defaults to `int'
_pjsua.h: In function `PyString_ToPJ':
_pjsua.h:32: error: `pj_str_t' undeclared (first use in this function)
_pjsua.h:32: error: (Each undeclared identifier is reported only once
_pjsua.h:32: error: for each function it appears in.)
_pjsua.h:32: error: syntax error before "str"
_pjsua.h:35: error: `str' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:45: error: syntax error before "PyString_FromPJ"
_pjsua.h:45: warning: type defaults to `int' in declaration of `pj_str_t'
_pjsua.h:45: error: syntax error before '*' token
_pjsua.h:46: warning: return type defaults to `int'
_pjsua.h: In function `PyString_FromPJ':
_pjsua.h:47: error: `str' undeclared (first use in this function)
_pjsua.h:47: warning: return makes integer from pointer without a cast
_pjsua.h: At top level:
_pjsua.h:82: warning: type defaults to `int' in declaration of
`pjsip_cred_info'
_pjsua.h:82: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsip_cred_info_import':
_pjsua.h:84: error: `obj' undeclared (first use in this function)
_pjsua.h:85: error: `cfg' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:95: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsip_cred_info_export':
_pjsua.h:98: error: `cfg' undeclared (first use in this function)
_pjsua.h:98: error: `obj' undeclared (first use in this function)
_pjsua.h: In function `PyObj_pjsip_cred_info_new':
_pjsua.h:116: warning: implicit declaration of function `PJ_UNUSED_ARG'
_pjsua.h:124: error: `PJSIP_CRED_DATA_PLAIN_PASSWD' undeclared (first use in
this function)
_pjsua.h: At top level:
_pjsua.h:673: warning: type defaults to `int' in declaration of
`pjsua_media_config'
_pjsua.h:673: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_media_config_import':
_pjsua.h:675: error: `obj' undeclared (first use in this function)
_pjsua.h:675: error: `cfg' undeclared (first use in this function)
_pjsua.h:698: error: `PJ_STUN_AUTH_CRED_STATIC' undeclared (first use in
this function)
_pjsua.h:699: error: syntax error before '*' token
_pjsua.h:702: error: `cred' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:719: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_media_config_export':
_pjsua.h:722: error: `cfg' undeclared (first use in this function)
_pjsua.h:722: error: `obj' undeclared (first use in this function)
_pjsua.h:746: error: `PJ_STUN_AUTH_CRED_STATIC' undeclared (first use in
this function)
_pjsua.h: At top level:
_pjsua.h:835: warning: type defaults to `int' in declaration of
`pjsua_config'
_pjsua.h:835: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_config_import':
_pjsua.h:839: error: `obj' undeclared (first use in this function)
_pjsua.h:839: error: `cfg' undeclared (first use in this function)
_pjsua.h:855: warning: assignment makes pointer from integer without a cast
_pjsua.h: At top level:
_pjsua.h:863: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_config_export':
_pjsua.h:868: error: `cfg' undeclared (first use in this function)
_pjsua.h:868: error: `obj' undeclared (first use in this function)
_pjsua.h:877: warning: implicit declaration of function `PJ_ARRAY_SIZE'
_pjsua.h: At top level:
_pjsua.h:1046: warning: type defaults to `int' in declaration of
`pjsua_logging_config'
_pjsua.h:1046: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_logging_config_import':
_pjsua.h:1048: error: `obj' undeclared (first use in this function)
_pjsua.h:1048: error: `cfg' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:1056: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_logging_config_export':
_pjsua.h:1059: error: `cfg' undeclared (first use in this function)
_pjsua.h:1059: error: `obj' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:1337: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_transport_config_export':
_pjsua.h:1340: error: `cfg' undeclared (first use in this function)
_pjsua.h:1340: error: `obj' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:1347: warning: type defaults to `int' in declaration of
`pjsua_transport_config'
_pjsua.h:1347: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_transport_config_import':
_pjsua.h:1349: error: `obj' undeclared (first use in this function)
_pjsua.h:1350: error: `cfg' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:1500: warning: type defaults to `int' in declaration of
`pjsua_transport_info'
_pjsua.h:1500: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_transport_info_import':
_pjsua.h:1502: error: `obj' undeclared (first use in this function)
_pjsua.h:1502: error: `info' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:1684: warning: type defaults to `int' in declaration of
`pjsua_acc_config'
_pjsua.h:1684: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_acc_config_import':
_pjsua.h:1688: error: `obj' undeclared (first use in this function)
_pjsua.h:1688: error: `cfg' undeclared (first use in this function)
_pjsua.h:1700: warning: assignment makes pointer from integer without a cast
_pjsua.h: At top level:
_pjsua.h:1733: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_acc_config_export':
_pjsua.h:1738: error: `cfg' undeclared (first use in this function)
_pjsua.h:1738: error: `obj' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:2016: warning: type defaults to `int' in declaration of
`pjsua_acc_info'
_pjsua.h:2016: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_acc_info_import':
_pjsua.h:2018: error: `obj' undeclared (first use in this function)
_pjsua.h:2018: error: `info' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:2190: warning: type defaults to `int' in declaration of
`pjsua_buddy_config'
_pjsua.h:2190: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_buddy_config_import':
_pjsua.h:2192: error: `obj' undeclared (first use in this function)
_pjsua.h:2193: error: `cfg' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:2198: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_buddy_config_export':
_pjsua.h:2201: error: `cfg' undeclared (first use in this function)
_pjsua.h:2201: error: `obj' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:2336: warning: type defaults to `int' in declaration of
`pjsua_buddy_info'
_pjsua.h:2336: error: syntax error before '*' token
_pjsua.h: In function `PyObj_pjsua_buddy_info_import':
_pjsua.h:2338: error: `obj' undeclared (first use in this function)
_pjsua.h:2338: error: `info' undeclared (first use in this function)
_pjsua.h: At top level:
_pjsua.h:2499: error: syntax error before "pj_uint8_t"
_pjsua.h:2499: warning: no semicolon at end of struct or union
_pjsua.h:2500: warning: type defaults to `int' in declaration of
`PyObj_pjsua_codec_info'
_pjsua.h:2500: warning: data definition has no type or storage class
_pjsua.h:2507: error: syntax error before '*' token
_pjsua.h: In function `codec_info_dealloc':
_pjsua.h:2509: error: `self' undeclared (first use in this function)
_pjsua.h: In function `codec_info_new':
_pjsua.h:2521: error: `self' undeclared (first use in this function)
_pjsua.h:2526: error: syntax error before ')' token
_pjsua.h: At top level:
_pjsua.h:2541: error: syntax error before ')' token
_pjsua.h:2541: error: initializer element is not constant
_pjsua.h:2541: error: (near initialization for
`codec_info_members[0].offset')
_pjsua.h:2543: error: initializer element is not constant
_pjsua.h:2543: error: (near initialization for `codec_info_members[0]')
_pjsua.h:2546: error: syntax error before ')' token
_pjsua.h:2546: error: initializer element is not constant
_pjsua.h:2546: error: (near initialization for
`codec_info_members[1].offset')
_pjsua.h:2548: error: initializer element is not constant
_pjsua.h:2548: error: (near initialization for `codec_info_members[1]')
_pjsua.h:2550: error: initializer element is not constant
_pjsua.h:2550: error: (near initialization for `codec_info_members[2]')
_pjsua.h:2888: error: syntax error before "pj_uint32_t"
_pjsua.h:2888: warning: no semicolon at end of struct or union
_pjsua.h:2889: warning: type defaults to `int' in declaration of `frm_ptime'
_pjsua.h:2889: warning: data definition has no type or storage class
_pjsua.h:2890: error: syntax error before "pcm_bits_per_sample"
_pjsua.h:2890: warning: type defaults to `int' in declaration of
`pcm_bits_per_sample'
_pjsua.h:2890: warning: data definition has no type or storage class
_pjsua.h:2891: error: syntax error before "pt"
_pjsua.h:2891: warning: type defaults to `int' in declaration of `pt'
_pjsua.h:2891: warning: data definition has no type or storage class
_pjsua.h:2893: warning: type defaults to `int' in declaration of
`PyObj_pjmedia_codec_param_info'
_pjsua.h:2893: warning: data definition has no type or storage class
_pjsua.h:2904: error: syntax error before ')' token
_pjsua.h:2904: error: initializer element is not constant
_pjsua.h:2904: error: (near initialization for
`pjmedia_codec_param_info_members[0].offset')
_pjsua.h:2906: error: initializer element is not constant
_pjsua.h:2906: error: (near initialization for
`pjmedia_codec_param_info_members[0]')
_pjsua.h:2909: error: syntax error before ')' token
_pjsua.h:2909: error: initializer element is not constant
_pjsua.h:2909: error: (near initialization for
`pjmedia_codec_param_info_members[1].offset')
_pjsua.h:2911: error: initializer element is not constant
_pjsua.h:2911: error: (near initialization for
`pjmedia_codec_param_info_members[1]')
_pjsua.h:2914: error: syntax error before ')' token
_pjsua.h:2914: error: initializer element is not constant
_pjsua.h:2914: error: (near initialization for
`pjmedia_codec_param_info_members[2].offset')
_pjsua.h:2916: error: initializer element is not constant
_pjsua.h:2916: error: (near initialization for
`pjmedia_codec_param_info_members[2]')
_pjsua.h:2919: error: syntax error before ')' token
_pjsua.h:2919: error: initializer element is not constant
_pjsua.h:2919: error: (near initialization for
`pjmedia_codec_param_info_members[3].offset')
_pjsua.h:2921: error: initializer element is not constant
_pjsua.h:2921: error: (near initialization for
`pjmedia_codec_param_info_members[3]')
_pjsua.h:2924: error: syntax error before ')' token
_pjsua.h:2924: error: initializer element is not constant
_pjsua.h:2924: error: (near initialization for
`pjmedia_codec_param_info_members[4].offset')
_pjsua.h:2926: error: initializer element is not constant
_pjsua.h:2926: error: (near initialization for
`pjmedia_codec_param_info_members[4]')
_pjsua.h:2929: error: syntax error before ')' token
_pjsua.h:2929: error: initializer element is not constant
_pjsua.h:2929: error: (near initialization for
`pjmedia_codec_param_info_members[5].offset')
_pjsua.h:2931: error: initializer element is not constant
_pjsua.h:2931: error: (near initialization for
`pjmedia_codec_param_info_members[5]')
_pjsua.h:2933: error: initializer element is not constant
_pjsua.h:2933: error: (near initialization for
`pjmedia_codec_param_info_members[6]')
_pjsua.h:2985: error: syntax error before "pj_uint8_t"
_pjsua.h:2985: warning: no semicolon at end of struct or union
_pjsua.h:2995: error: syntax error before '}' token
_pjsua.h:2995: warning: type defaults to `int' in declaration of
`PyObj_pjmedia_codec_param_setting'
_pjsua.h:2995: warning: data definition has no type or storage class
_pjsua.h:3006: error: syntax error before ')' token
_pjsua.h:3006: error: initializer element is not constant
_pjsua.h:3006: error: (near initialization for
`pjmedia_codec_param_setting_members[0].offset')
_pjsua.h:3008: error: initializer element is not constant
_pjsua.h:3008: error: (near initialization for
`pjmedia_codec_param_setting_members[0]')
_pjsua.h:3011: error: syntax error before ')' token
_pjsua.h:3011: error: initializer element is not constant
_pjsua.h:3011: error: (near initialization for
`pjmedia_codec_param_setting_members[1].offset')
_pjsua.h:3013: error: initializer element is not constant
_pjsua.h:3013: error: (near initialization for
`pjmedia_codec_param_setting_members[1]')
_pjsua.h:3016: error: syntax error before ')' token
_pjsua.h:3016: error: initializer element is not constant
_pjsua.h:3016: error: (near initialization for
`pjmedia_codec_param_setting_members[2].offset')
_pjsua.h:3018: error: initializer element is not constant
_pjsua.h:3018: error: (near initialization for
`pjmedia_codec_param_setting_members[2]')
_pjsua.h:3021: error: syntax error before ')' token
_pjsua.h:3021: error: initializer element is not constant
_pjsua.h:3021: error: (near initialization for
`pjmedia_codec_param_setting_members[3].offset')
_pjsua.h:3023: error: initializer element is not constant
_pjsua.h:3023: error: (near initialization for
`pjmedia_codec_param_setting_members[3]')
_pjsua.h:3026: error: syntax error before ')' token
_pjsua.h:3026: error: initializer element is not constant
_pjsua.h:3026: error: (near initialization for
`pjmedia_codec_param_setting_members[4].offset')
_pjsua.h:3028: error: initializer element is not constant
_pjsua.h:3028: error: (near initialization for
`pjmedia_codec_param_setting_members[4]')
_pjsua.h:3042: error: initializer element is not constant
_pjsua.h:3042: error: (near initialization for
`pjmedia_codec_param_setting_members[5]')
_pjsua.h:3095: error: syntax error before "PyObj_pjmedia_codec_param_info"
_pjsua.h:3095: warning: no semicolon at end of struct or union
_pjsua.h:3096: warning: type defaults to `int' in declaration of `setting'
_pjsua.h:3096: warning: data definition has no type or storage class
_pjsua.h:3098: error: syntax error before '}' token
_pjsua.h:3098: warning: type defaults to `int' in declaration of
`PyObj_pjmedia_codec_param'
_pjsua.h:3098: warning: data definition has no type or storage class
_pjsua.h:3104: error: syntax error before '*' token
_pjsua.h: In function `pjmedia_codec_param_dealloc':
_pjsua.h:3106: error: `self' undeclared (first use in this function)
_pjsua.h: In function `pjmedia_codec_param_new':
_pjsua.h:3119: error: `self' undeclared (first use in this function)
_pjsua.h:3124: error: syntax error before ')' token
_pjsua.h:3126: error: syntax error before ')' token
_pjsua.h:3129: error: syntax error before ')' token
_pjsua.h: At top level:
_pjsua.h:3144: error: syntax error before ')' token
_pjsua.h:3144: error: initializer element is not constant
_pjsua.h:3144: error: (near initialization for
`pjmedia_codec_param_members[0].offset')
_pjsua.h:3147: error: initializer element is not constant
_pjsua.h:3147: error: (near initialization for
`pjmedia_codec_param_members[0]')
_pjsua.h:3150: error: syntax error before ')' token
_pjsua.h:3150: error: initializer element is not constant
_pjsua.h:3150: error: (near initialization for
`pjmedia_codec_param_members[1].offset')
_pjsua.h:3159: error: initializer element is not constant
_pjsua.h:3159: error: (near initialization for
`pjmedia_codec_param_members[1]')
_pjsua.h:3161: error: initializer element is not constant
_pjsua.h:3161: error: (near initialization for
`pjmedia_codec_param_members[2]')
_pjsua.c:34: error: syntax error before "pj_thread_desc"
_pjsua.c:34: warning: no semicolon at end of struct or union
_pjsua.c:35: warning: type defaults to `int' in declaration of
`py_thread_desc'
_pjsua.c:35: warning: data definition has no type or storage class
_pjsua.c: In function `clear_py_thread_desc':
_pjsua.c:57: error: request for member `next' in something not a structure
or union
_pjsua.c:59: warning: assignment from incompatible pointer type
_pjsua.c: In function `cb_log_cb':
_pjsua.c:74: warning: implicit declaration of function `pj_thread_local_get'
_pjsua.c: At top level:
_pjsua.c:103: error: syntax error before "call_id"
_pjsua.c: In function `cb_on_call_state':
_pjsua.c:105: error: `e' undeclared (first use in this function)
_pjsua.c:117: error: `call_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:133: error: syntax error before "acc_id"
_pjsua.c: In function `cb_on_incoming_call':
_pjsua.c:136: error: `rdata' undeclared (first use in this function)
_pjsua.c:148: error: `acc_id' undeclared (first use in this function)
_pjsua.c:149: error: `call_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:165: error: syntax error before "call_id"
_pjsua.c: In function `cb_on_call_media_state':
_pjsua.c:174: error: `call_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:187: error: syntax error before "call_id"
_pjsua.c: In function `cb_on_dtmf_digit':
_pjsua.c:194: warning: implicit declaration of function `pj_ansi_snprintf'
_pjsua.c:194: error: `digit' undeclared (first use in this function)
_pjsua.c:199: error: `call_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:213: error: syntax error before "call_id"
_pjsua.c: In function `cb_on_call_transfer_request':
_pjsua.c:223: error: `dst' undeclared (first use in this function)
_pjsua.c:223: warning: assignment makes pointer from integer without a cast
_pjsua.c:228: error: `call_id' undeclared (first use in this function)
_pjsua.c:230: error: `code' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:257: error: syntax error before "call_id"
_pjsua.c: In function `cb_on_call_transfer_status':
_pjsua.c:268: error: `status_text' undeclared (first use in this function)
_pjsua.c:268: warning: assignment makes pointer from integer without a cast
_pjsua.c:273: error: `call_id' undeclared (first use in this function)
_pjsua.c:274: error: `status_code' undeclared (first use in this function)
_pjsua.c:276: error: `final' undeclared (first use in this function)
_pjsua.c:277: error: `p_cont' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:303: error: syntax error before "call_id"
_pjsua.c: In function `cb_on_call_replace_request':
_pjsua.c:308: error: `rdata' undeclared (first use in this function)
_pjsua.c:316: error: `st_text' undeclared (first use in this function)
_pjsua.c:316: warning: assignment makes pointer from integer without a cast
_pjsua.c:322: error: `call_id' undeclared (first use in this function)
_pjsua.c:324: error: `st_code' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:353: error: syntax error before "old_call_id"
_pjsua.c: In function `cb_on_call_replaced':
_pjsua.c:362: error: `old_call_id' undeclared (first use in this function)
_pjsua.c:363: error: `new_call_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:376: error: syntax error before "acc_id"
_pjsua.c: In function `cb_on_reg_state':
_pjsua.c:384: error: `acc_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:395: error: syntax error before "acc_id"
_pjsua.c: In function `cb_on_incoming_subscribe':
_pjsua.c:406: error: `rdata' undeclared (first use in this function)
_pjsua.c:407: error: `msg_data' undeclared (first use in this function)
_pjsua.c:411: error: `pjsip_contact_hdr' undeclared (first use in this
function)
_pjsua.c:411: error: `contact_hdr' undeclared (first use in this function)
_pjsua.c:412: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:412: error: `pool' undeclared (first use in this function)
_pjsua.c:416: error: `from' undeclared (first use in this function)
_pjsua.c:416: warning: assignment makes pointer from integer without a cast
_pjsua.c:417: error: `srv_pres' undeclared (first use in this function)
_pjsua.c:419: error: syntax error before ')' token
_pjsua.c:426: warning: implicit declaration of function `pjsua_pool_create'
_pjsua.c:427: warning: implicit declaration of function `pj_pool_alloc'
_pjsua.c:427: error: `PJSIP_MAX_URL_SIZE' undeclared (first use in this
function)
_pjsua.c:428: warning: implicit declaration of function `pjsip_uri_print'
_pjsua.c:428: error: `PJSIP_URI_IN_CONTACT_HDR' undeclared (first use in
this function)
_pjsua.c:442: error: `acc_id' undeclared (first use in this function)
_pjsua.c:443: error: `buddy_id' undeclared (first use in this function)
_pjsua.c:451: warning: implicit declaration of function `pj_pool_release'
_pjsua.c:459: error: `code' undeclared (first use in this function)
_pjsua.c:462: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:462: error: syntax error before "tmp"
_pjsua.c:463: error: `tmp' undeclared (first use in this function)
_pjsua.c:464: error: `reason' undeclared (first use in this function)
_pjsua.c:465: warning: implicit declaration of function `pj_strncpy'
_pjsua.c: At top level:
_pjsua.c:483: error: syntax error before "buddy_id"
_pjsua.c: In function `cb_on_buddy_state':
_pjsua.c:491: error: `buddy_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:503: error: syntax error before "call_id"
_pjsua.c: In function `cb_on_pager':
_pjsua.c:508: error: `rdata' undeclared (first use in this function)
_pjsua.c:516: error: `from' undeclared (first use in this function)
_pjsua.c:516: warning: assignment makes pointer from integer without a cast
_pjsua.c:517: error: `to' undeclared (first use in this function)
_pjsua.c:517: warning: assignment makes pointer from integer without a cast
_pjsua.c:518: error: `contact' undeclared (first use in this function)
_pjsua.c:518: warning: assignment makes pointer from integer without a cast
_pjsua.c:519: error: `mime_type' undeclared (first use in this function)
_pjsua.c:519: warning: assignment makes pointer from integer without a cast
_pjsua.c:520: error: `body' undeclared (first use in this function)
_pjsua.c:520: warning: assignment makes pointer from integer without a cast
_pjsua.c:525: error: `call_id' undeclared (first use in this function)
_pjsua.c:531: error: `acc_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:550: error: syntax error before "call_id"
_pjsua.c: In function `cb_on_pager_status':
_pjsua.c:565: error: `tdata' undeclared (first use in this function)
_pjsua.c:566: error: `rdata' undeclared (first use in this function)
_pjsua.c:570: error: `call_id' undeclared (first use in this function)
_pjsua.c:571: error: `to' undeclared (first use in this function)
_pjsua.c:571: warning: assignment makes pointer from integer without a cast
_pjsua.c:572: error: `body' undeclared (first use in this function)
_pjsua.c:572: warning: assignment makes pointer from integer without a cast
_pjsua.c:573: error: `user_data' undeclared (first use in this function)
_pjsua.c:574: error: `status' undeclared (first use in this function)
_pjsua.c:575: error: `reason' undeclared (first use in this function)
_pjsua.c:575: warning: assignment makes pointer from integer without a cast
_pjsua.c:576: error: `acc_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:597: error: syntax error before "call_id"
_pjsua.c: In function `cb_on_typing':
_pjsua.c:608: error: `rdata' undeclared (first use in this function)
_pjsua.c:612: error: `call_id' undeclared (first use in this function)
_pjsua.c:613: error: `from' undeclared (first use in this function)
_pjsua.c:613: warning: assignment makes pointer from integer without a cast
_pjsua.c:614: error: `to' undeclared (first use in this function)
_pjsua.c:614: warning: assignment makes pointer from integer without a cast
_pjsua.c:615: error: `contact' undeclared (first use in this function)
_pjsua.c:615: warning: assignment makes pointer from integer without a cast
_pjsua.c:616: error: `is_typing' undeclared (first use in this function)
_pjsua.c:617: error: `acc_id' undeclared (first use in this function)
_pjsua.c: At top level:
_pjsua.c:639: error: syntax error before '*' token
_pjsua.c: In function `translate_hdr':
_pjsua.c:641: warning: implicit declaration of function `pj_list_init'
_pjsua.c:641: error: `hdr' undeclared (first use in this function)
_pjsua.c:643: error: `py_hdr_list' undeclared (first use in this function)
_pjsua.c:647: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:647: error: syntax error before "hname"
_pjsua.c:648: error: `pjsip_generic_string_hdr' undeclared (first use in
this function)
_pjsua.c:648: error: `new_hdr' undeclared (first use in this function)
_pjsua.c:653: error: `hname' undeclared (first use in this function)
_pjsua.c:657: error: `hvalue' undeclared (first use in this function)
_pjsua.c:666: warning: implicit declaration of function
`pjsip_generic_string_hdr_create'
_pjsua.c:666: error: `pool' undeclared (first use in this function)
_pjsua.c:667: warning: implicit declaration of function `pj_list_push_back'
_pjsua.c:667: error: `pj_list_type' undeclared (first use in this function)
_pjsua.c:667: error: syntax error before ')' token
_pjsua.c: In function `py_pjsua_thread_register':
_pjsua.c:677: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:677: error: syntax error before "status"
_pjsua.c:680: error: `pj_thread_t' undeclared (first use in this function)
_pjsua.c:680: error: `thread' undeclared (first use in this function)
_pjsua.c:689: error: invalid application of `sizeof' to incomplete type
`py_thread_desc'
_pjsua.c:690: error: dereferencing pointer to incomplete type
_pjsua.c:691: warning: assignment from incompatible pointer type
_pjsua.c:693: error: `status' undeclared (first use in this function)
_pjsua.c:693: warning: implicit declaration of function `pj_thread_register'
_pjsua.c:693: error: dereferencing pointer to incomplete type
_pjsua.c:695: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c:696: warning: implicit declaration of function
`pj_thread_local_set'
_pjsua.c: In function `py_pjsua_logging_config_default':
_pjsua.c:708: error: `pjsua_logging_config' undeclared (first use in this
function)
_pjsua.c:708: error: syntax error before "cfg"
_pjsua.c:713: warning: implicit declaration of function
`pjsua_logging_config_default'
_pjsua.c:713: error: `cfg' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_config_default':
_pjsua.c:729: error: `pjsua_config' undeclared (first use in this function)
_pjsua.c:729: error: syntax error before "cfg"
_pjsua.c:734: warning: implicit declaration of function
`pjsua_config_default'
_pjsua.c:734: error: `cfg' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_media_config_default':
_pjsua.c:750: error: `pjsua_media_config' undeclared (first use in this
function)
_pjsua.c:750: error: syntax error before "cfg"
_pjsua.c:755: warning: implicit declaration of function
`pjsua_media_config_default'
_pjsua.c:755: error: `cfg' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_reconfigure_logging':
_pjsua.c:784: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:784: error: syntax error before "status"
_pjsua.c:794: error: `pjsua_logging_config' undeclared (first use in this
function)
_pjsua.c:794: error: syntax error before "cfg"
_pjsua.c:797: error: `cfg' undeclared (first use in this function)
_pjsua.c:806: error: `status' undeclared (first use in this function)
_pjsua.c:806: warning: implicit declaration of function
`pjsua_reconfigure_logging'
_pjsua.c: In function `py_pjsua_perror':
_pjsua.c:822: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:822: error: syntax error before "status"
_pjsua.c:826: error: `status' undeclared (first use in this function)
_pjsua.c:830: warning: implicit declaration of function `pjsua_perror'
_pjsua.c: In function `py_pjsua_create':
_pjsua.c:841: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:841: error: syntax error before "status"
_pjsua.c:846: error: `status' undeclared (first use in this function)
_pjsua.c:846: warning: implicit declaration of function `pjsua_create'
_pjsua.c:848: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c:849: warning: implicit declaration of function
`pj_thread_local_alloc'
_pjsua.c:853: warning: implicit declaration of function `pj_atexit'
_pjsua.c: In function `py_pjsua_init':
_pjsua.c:865: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:865: error: syntax error before "status"
_pjsua.c:867: error: `pjsua_config' undeclared (first use in this function)
_pjsua.c:867: error: syntax error before "cfg_ua"
_pjsua.c:868: error: `pjsua_logging_config' undeclared (first use in this
function)
_pjsua.c:869: error: `pjsua_media_config' undeclared (first use in this
function)
_pjsua.c:877: error: `cfg_ua' undeclared (first use in this function)
_pjsua.c:878: error: `cfg_log' undeclared (first use in this function)
_pjsua.c:879: error: `cfg_media' undeclared (first use in this function)
_pjsua.c:905: error: `p_cfg_ua' undeclared (first use in this function)
_pjsua.c:923: error: `p_cfg_log' undeclared (first use in this function)
_pjsua.c:932: error: `p_cfg_media' undeclared (first use in this function)
_pjsua.c:938: error: `status' undeclared (first use in this function)
_pjsua.c:938: warning: implicit declaration of function `pjsua_init'
_pjsua.c: In function `py_pjsua_start':
_pjsua.c:949: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:949: error: syntax error before "status"
_pjsua.c:954: error: `status' undeclared (first use in this function)
_pjsua.c:954: warning: implicit declaration of function `pjsua_start'
_pjsua.c: In function `py_pjsua_destroy':
_pjsua.c:965: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:965: error: syntax error before "status"
_pjsua.c:970: error: `status' undeclared (first use in this function)
_pjsua.c:970: warning: implicit declaration of function `pjsua_destroy'
_pjsua.c: In function `py_pjsua_handle_events':
_pjsua.c:1002: warning: implicit declaration of function
`pjsua_handle_events'
_pjsua.c: In function `py_pjsua_verify_sip_url':
_pjsua.c:1017: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1017: error: syntax error before "status"
_pjsua.c:1026: error: `status' undeclared (first use in this function)
_pjsua.c:1026: warning: implicit declaration of function
`pjsua_verify_sip_url'
_pjsua.c: In function `py_pjsua_transport_config_default':
_pjsua.c:1123: error: `pjsua_transport_config' undeclared (first use in this
function)
_pjsua.c:1123: error: syntax error before "cfg"
_pjsua.c:1128: warning: implicit declaration of function
`pjsua_transport_config_default'
_pjsua.c:1128: error: `cfg' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_transport_create':
_pjsua.c:1142: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1142: error: syntax error before "status"
_pjsua.c:1145: error: `pjsua_transport_config' undeclared (first use in this
function)
_pjsua.c:1145: error: syntax error before "cfg"
_pjsua.c:1146: error: `pjsua_transport_id' undeclared (first use in this
function)
_pjsua.c:1158: error: `cfg' undeclared (first use in this function)
_pjsua.c:1159: error: `status' undeclared (first use in this function)
_pjsua.c:1159: warning: implicit declaration of function
`pjsua_transport_create'
_pjsua.c:1159: error: `id' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_enum_transports':
_pjsua.c:1173: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1173: error: syntax error before "status"
_pjsua.c:1175: error: `pjsua_transport_id' undeclared (first use in this
function)
_pjsua.c:1175: error: syntax error before "id"
_pjsua.c:1181: error: `id' undeclared (first use in this function)
_pjsua.c:1182: error: `status' undeclared (first use in this function)
_pjsua.c:1182: warning: implicit declaration of function
`pjsua_enum_transports'
_pjsua.c: In function `py_pjsua_transport_get_info':
_pjsua.c:1198: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1198: error: syntax error before "status"
_pjsua.c:1200: error: `pjsua_transport_info' undeclared (first use in this
function)
_pjsua.c:1200: error: syntax error before "info"
_pjsua.c:1208: error: `status' undeclared (first use in this function)
_pjsua.c:1208: warning: implicit declaration of function
`pjsua_transport_get_info'
_pjsua.c:1208: error: `info' undeclared (first use in this function)
_pjsua.c:1209: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_transport_set_enable':
_pjsua.c:1227: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1227: error: syntax error before "status"
_pjsua.c:1236: error: `status' undeclared (first use in this function)
_pjsua.c:1236: warning: implicit declaration of function
`pjsua_transport_set_enable'
_pjsua.c: In function `py_pjsua_transport_close':
_pjsua.c:1246: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1246: error: syntax error before "status"
_pjsua.c:1255: error: `status' undeclared (first use in this function)
_pjsua.c:1255: warning: implicit declaration of function
`pjsua_transport_close'
_pjsua.c: In function `py_pjsua_acc_config_default':
_pjsua.c:1302: error: `pjsua_acc_config' undeclared (first use in this
function)
_pjsua.c:1302: error: syntax error before "cfg"
_pjsua.c:1311: warning: implicit declaration of function
`pjsua_acc_config_default'
_pjsua.c:1311: error: `cfg' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_acc_get_count':
_pjsua.c:1329: warning: implicit declaration of function
`pjsua_acc_get_count'
_pjsua.c: In function `py_pjsua_acc_is_valid':
_pjsua.c:1347: warning: implicit declaration of function
`pjsua_acc_is_valid'
_pjsua.c: In function `py_pjsua_acc_set_default':
_pjsua.c:1364: warning: implicit declaration of function
`pjsua_acc_set_default'
_pjsua.c: In function `py_pjsua_acc_get_default':
_pjsua.c:1379: warning: implicit declaration of function
`pjsua_acc_get_default'
_pjsua.c: In function `py_pjsua_acc_add':
_pjsua.c:1401: error: `pjsua_acc_config' undeclared (first use in this
function)
_pjsua.c:1401: error: syntax error before "cfg"
_pjsua.c:1404: error: `cfg' undeclared (first use in this function)
_pjsua.c:1407: warning: implicit declaration of function `pjsua_acc_add'
_pjsua.c:1409: error: `PJ_EINVAL' undeclared (first use in this function)
_pjsua.c:1410: error: `PJSUA_INVALID_ID' undeclared (first use in this
function)
_pjsua.c: In function `py_pjsua_acc_add_local':
_pjsua.c:1432: warning: implicit declaration of function
`pjsua_acc_add_local'
_pjsua.c: In function `py_pjsua_acc_set_user_data':
_pjsua.c:1452: warning: implicit declaration of function
`pjsua_acc_get_user_data'
_pjsua.c:1454: warning: implicit declaration of function
`pjsua_acc_set_user_data'
_pjsua.c:1456: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_acc_del':
_pjsua.c:1501: warning: implicit declaration of function `pjsua_acc_del'
_pjsua.c: In function `py_pjsua_acc_modify':
_pjsua.c:1523: error: `pjsua_acc_config' undeclared (first use in this
function)
_pjsua.c:1523: error: syntax error before "cfg"
_pjsua.c:1525: error: `cfg' undeclared (first use in this function)
_pjsua.c:1529: warning: implicit declaration of function `pjsua_acc_modify'
_pjsua.c:1531: error: `PJ_EINVAL' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_acc_set_online_status':
_pjsua.c:1552: warning: implicit declaration of function
`pjsua_acc_set_online_status'
_pjsua.c: In function `py_pjsua_acc_set_online_status2':
_pjsua.c:1568: error: `pjrpid_element' undeclared (first use in this
function)
_pjsua.c:1568: error: syntax error before "rpid"
_pjsua.c:1569: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1579: warning: implicit declaration of function `pj_bzero'
_pjsua.c:1579: error: `rpid' undeclared (first use in this function)
_pjsua.c:1580: error: `PJRPID_ELEMENT_TYPE_PERSON' undeclared (first use in
this function)
_pjsua.c:1583: warning: implicit declaration of function `pj_str'
_pjsua.c:1588: error: `status' undeclared (first use in this function)
_pjsua.c:1588: warning: implicit declaration of function
`pjsua_acc_set_online_status2'
_pjsua.c: In function `py_pjsua_acc_set_registration':
_pjsua.c:1609: warning: implicit declaration of function
`pjsua_acc_set_registration'
_pjsua.c: In function `py_pjsua_acc_get_info':
_pjsua.c:1621: error: `pjsua_acc_info' undeclared (first use in this
function)
_pjsua.c:1621: error: syntax error before "info"
_pjsua.c:1630: warning: implicit declaration of function
`pjsua_acc_get_info'
_pjsua.c:1630: error: `info' undeclared (first use in this function)
_pjsua.c:1631: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_enum_accs':
_pjsua.c:1646: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1646: error: syntax error before "status"
_pjsua.c:1648: error: `pjsua_acc_id' undeclared (first use in this function)
_pjsua.c:1648: error: syntax error before "id"
_pjsua.c:1654: error: `id' undeclared (first use in this function)
_pjsua.c:1655: error: `status' undeclared (first use in this function)
_pjsua.c:1655: warning: implicit declaration of function `pjsua_enum_accs'
_pjsua.c:1656: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_acc_enum_info':
_pjsua.c:1672: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1672: error: syntax error before "status"
_pjsua.c:1674: error: `pjsua_acc_info' undeclared (first use in this
function)
_pjsua.c:1674: error: syntax error before "info"
_pjsua.c:1684: error: `info' undeclared (first use in this function)
_pjsua.c:1685: error: `status' undeclared (first use in this function)
_pjsua.c:1685: warning: implicit declaration of function
`pjsua_acc_enum_info'
_pjsua.c:1686: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_acc_set_transport':
_pjsua.c:1717: warning: implicit declaration of function
`pjsua_acc_set_transport'
_pjsua.c: In function `py_pjsua_acc_pres_notify':
_pjsua.c:1733: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:1733: error: syntax error before "msg_data"
_pjsua.c:1734: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:1735: error: `pj_bool_t' undeclared (first use in this function)
_pjsua.c:1736: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:1736: error: `pool' undeclared (first use in this function)
_pjsua.c:1748: error: `with_body' undeclared (first use in this function)
_pjsua.c:1748: error: `PJSIP_EVSUB_STATE_TERMINATED' undeclared (first use
in this function)
_pjsua.c:1751: error: `reason' undeclared (first use in this function)
_pjsua.c:1756: warning: implicit declaration of function
`pjsua_msg_data_init'
_pjsua.c:1756: error: `msg_data' undeclared (first use in this function)
_pjsua.c:1765: warning: implicit declaration of function `pjsua_pres_notify'
_pjsua.c:1765: error: `pjsua_srv_pres' undeclared (first use in this
function)
_pjsua.c:1765: error: syntax error before ')' token
_pjsua.c: In function `py_pjsua_buddy_config_default':
_pjsua.c:1844: error: `pjsua_buddy_config' undeclared (first use in this
function)
_pjsua.c:1844: error: syntax error before "cfg"
_pjsua.c:1849: warning: implicit declaration of function
`pjsua_buddy_config_default'
_pjsua.c:1849: error: `cfg' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_get_buddy_count':
_pjsua.c:1865: warning: implicit declaration of function
`pjsua_get_buddy_count'
_pjsua.c: In function `py_pjsua_buddy_is_valid':
_pjsua.c:1881: warning: implicit declaration of function
`pjsua_buddy_is_valid'
_pjsua.c: In function `py_pjsua_enum_buddies':
_pjsua.c:1891: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:1891: error: syntax error before "status"
_pjsua.c:1893: error: `pjsua_buddy_id' undeclared (first use in this
function)
_pjsua.c:1893: error: syntax error before "id"
_pjsua.c:1899: error: `id' undeclared (first use in this function)
_pjsua.c:1900: error: `status' undeclared (first use in this function)
_pjsua.c:1900: warning: implicit declaration of function
`pjsua_enum_buddies'
_pjsua.c:1901: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_buddy_find':
_pjsua.c:1918: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:1918: error: syntax error before "uri"
_pjsua.c:1919: error: `pjsua_buddy_id' undeclared (first use in this
function)
_pjsua.c:1928: error: `PJSUA_INVALID_ID' undeclared (first use in this
function)
_pjsua.c:1930: error: `uri' undeclared (first use in this function)
_pjsua.c:1931: error: `buddy_id' undeclared (first use in this function)
_pjsua.c:1931: warning: implicit declaration of function `pjsua_buddy_find'
_pjsua.c: In function `py_pjsua_buddy_get_info':
_pjsua.c:1942: error: `pjsua_buddy_info' undeclared (first use in this
function)
_pjsua.c:1942: error: syntax error before "info"
_pjsua.c:1951: warning: implicit declaration of function
`pjsua_buddy_get_info'
_pjsua.c:1951: error: `info' undeclared (first use in this function)
_pjsua.c:1952: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_buddy_add':
_pjsua.c:1981: error: `pjsua_buddy_config' undeclared (first use in this
function)
_pjsua.c:1981: error: syntax error before "cfg"
_pjsua.c:1986: error: `cfg' undeclared (first use in this function)
_pjsua.c:1989: warning: implicit declaration of function `pjsua_buddy_add'
_pjsua.c:1992: error: `PJ_EINVAL' undeclared (first use in this function)
_pjsua.c:1993: error: `PJSUA_INVALID_ID' undeclared (first use in this
function)
_pjsua.c: In function `py_pjsua_buddy_del':
_pjsua.c:2013: warning: implicit declaration of function
`pjsua_buddy_get_user_data'
_pjsua.c:2016: warning: implicit declaration of function `pjsua_buddy_del'
_pjsua.c: In function `py_pjsua_buddy_set_user_data':
_pjsua.c:2038: warning: implicit declaration of function
`pjsua_buddy_set_user_data'
_pjsua.c:2040: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_buddy_subscribe_pres':
_pjsua.c:2083: warning: implicit declaration of function
`pjsua_buddy_subscribe_pres'
_pjsua.c: In function `py_pjsua_pres_dump':
_pjsua.c:2101: warning: implicit declaration of function `pjsua_pres_dump'
_pjsua.c: In function `py_pjsua_im_send':
_pjsua.c:2113: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:2113: error: `mime_type' undeclared (first use in this function)
_pjsua.c:2113: error: `tmp_mime_type' undeclared (first use in this
function)
_pjsua.c:2113: warning: left-hand operand of comma expression has no effect
_pjsua.c:2114: error: syntax error before "to"
_pjsua.c:2118: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:2118: error: syntax error before "msg_data"
_pjsua.c:2121: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:2121: error: `pool' undeclared (first use in this function)
_pjsua.c:2138: error: `to' undeclared (first use in this function)
_pjsua.c:2139: error: `content' undeclared (first use in this function)
_pjsua.c:2141: error: `msg_data' undeclared (first use in this function)
_pjsua.c:2153: warning: implicit declaration of function `pjsua_im_send'
_pjsua.c:2113: warning: statement with no effect
_pjsua.c: In function `py_pjsua_im_typing':
_pjsua.c:2168: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:2168: error: syntax error before "to"
_pjsua.c:2171: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:2171: error: syntax error before "msg_data"
_pjsua.c:2173: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:2173: error: `pool' undeclared (first use in this function)
_pjsua.c:2183: error: `to' undeclared (first use in this function)
_pjsua.c:2185: error: `msg_data' undeclared (first use in this function)
_pjsua.c:2198: warning: implicit declaration of function `pjsua_im_typing'
_pjsua.c: In function `py_pjsua_conf_get_max_ports':
_pjsua.c:2256: warning: implicit declaration of function
`pjsua_conf_get_max_ports'
_pjsua.c: In function `py_pjsua_conf_get_active_ports':
_pjsua.c:2268: warning: implicit declaration of function
`pjsua_conf_get_active_ports'
_pjsua.c: In function `py_pjsua_enum_conf_ports':
_pjsua.c:2276: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:2276: error: syntax error before "status"
_pjsua.c:2278: error: `pjsua_conf_port_id' undeclared (first use in this
function)
_pjsua.c:2278: error: syntax error before "id"
_pjsua.c:2284: error: `id' undeclared (first use in this function)
_pjsua.c:2285: error: `status' undeclared (first use in this function)
_pjsua.c:2285: warning: implicit declaration of function
`pjsua_enum_conf_ports'
_pjsua.c:2286: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_conf_get_port_info':
_pjsua.c:2304: error: `pjsua_conf_port_info' undeclared (first use in this
function)
_pjsua.c:2304: error: syntax error before "info"
_pjsua.c:2314: warning: implicit declaration of function
`pjsua_conf_get_port_info'
_pjsua.c:2314: error: `info' undeclared (first use in this function)
_pjsua.c:2320: warning: assignment makes pointer from integer without a cast
_pjsua.c: In function `py_pjsua_conf_remove_port':
_pjsua.c:2346: warning: implicit declaration of function
`pjsua_conf_remove_port'
_pjsua.c: In function `py_pjsua_conf_connect':
_pjsua.c:2365: warning: implicit declaration of function
`pjsua_conf_connect'
_pjsua.c: In function `py_pjsua_conf_disconnect':
_pjsua.c:2384: warning: implicit declaration of function
`pjsua_conf_disconnect'
_pjsua.c: In function `py_pjsua_conf_set_tx_level':
_pjsua.c:2404: warning: implicit declaration of function
`pjsua_conf_adjust_tx_level'
_pjsua.c: In function `py_pjsua_conf_set_rx_level':
_pjsua.c:2424: warning: implicit declaration of function
`pjsua_conf_adjust_rx_level'
_pjsua.c: In function `py_pjsua_conf_get_signal_level':
_pjsua.c:2445: warning: implicit declaration of function
`pjsua_conf_get_signal_level'
_pjsua.c: In function `py_pjsua_player_create':
_pjsua.c:2459: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:2459: error: syntax error before "filename"
_pjsua.c:2468: error: `filename' undeclared (first use in this function)
_pjsua.c:2469: warning: implicit declaration of function
`pjsua_player_create'
_pjsua.c: In function `py_pjsua_playlist_create':
_pjsua.c:2482: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:2482: error: syntax error before "label"
_pjsua.c:2484: error: syntax error before "files"
_pjsua.c:2493: error: `label' undeclared (first use in this function)
_pjsua.c:2495: error: `PJ_EINVAL' undeclared (first use in this function)
_pjsua.c:2495: error: `PJSUA_INVALID_ID' undeclared (first use in this
function)
_pjsua.c:2499: error: `files' undeclared (first use in this function)
_pjsua.c:2504: warning: implicit declaration of function
`pjsua_playlist_create'
_pjsua.c: In function `py_pjsua_player_get_conf_port':
_pjsua.c:2524: warning: implicit declaration of function
`pjsua_player_get_conf_port'
_pjsua.c: In function `py_pjsua_player_set_pos':
_pjsua.c:2547: warning: implicit declaration of function
`pjsua_player_set_pos'
_pjsua.c: In function `py_pjsua_player_destroy':
_pjsua.c:2566: warning: implicit declaration of function
`pjsua_player_destroy'
_pjsua.c: In function `py_pjsua_recorder_create':
_pjsua.c:2579: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:2579: error: syntax error before "filename"
_pjsua.c:2592: error: `filename' undeclared (first use in this function)
_pjsua.c:2594: warning: implicit declaration of function
`pjsua_recorder_create'
_pjsua.c: In function `py_pjsua_recorder_get_conf_port':
_pjsua.c:2615: warning: implicit declaration of function
`pjsua_recorder_get_conf_port'
_pjsua.c: In function `py_pjsua_recorder_destroy':
_pjsua.c:2634: warning: implicit declaration of function
`pjsua_recorder_destroy'
_pjsua.c: In function `py_pjsua_enum_snd_devs':
_pjsua.c:2644: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:2644: error: syntax error before "status"
_pjsua.c:2646: error: `pjmedia_snd_dev_info' undeclared (first use in this
function)
_pjsua.c:2646: error: syntax error before "info"
_pjsua.c:2652: error: `info' undeclared (first use in this function)
_pjsua.c:2653: error: `status' undeclared (first use in this function)
_pjsua.c:2653: warning: implicit declaration of function
`pjsua_enum_snd_devs'
_pjsua.c:2654: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_get_snd_dev':
_pjsua.c:2686: warning: implicit declaration of function `pjsua_get_snd_dev'
_pjsua.c: In function `py_pjsua_set_snd_dev':
_pjsua.c:2705: warning: implicit declaration of function `pjsua_set_snd_dev'
_pjsua.c: In function `py_pjsua_set_null_snd_dev':
_pjsua.c:2720: warning: implicit declaration of function
`pjsua_set_null_snd_dev'
_pjsua.c: In function `py_pjsua_set_ec':
_pjsua.c:2740: warning: implicit declaration of function `pjsua_set_ec'
_pjsua.c: In function `py_pjsua_get_ec_tail':
_pjsua.c:2756: warning: implicit declaration of function `pjsua_get_ec_tail'
_pjsua.c:2757: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_enum_codecs':
_pjsua.c:2768: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:2768: error: syntax error before "status"
_pjsua.c:2770: error: `pjsua_codec_info' undeclared (first use in this
function)
_pjsua.c:2770: error: syntax error before "info"
_pjsua.c:2776: error: `info' undeclared (first use in this function)
_pjsua.c:2777: error: `status' undeclared (first use in this function)
_pjsua.c:2777: warning: implicit declaration of function `pjsua_enum_codecs'
_pjsua.c:2778: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c:2783: error: `obj' undeclared (first use in this function)
_pjsua.c:2784: error: syntax error before ')' token
_pjsua.c: In function `py_pjsua_codec_set_priority':
_pjsua.c:2802: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:2802: error: syntax error before "codec_id"
_pjsua.c:2811: error: `codec_id' undeclared (first use in this function)
_pjsua.c:2817: warning: implicit declaration of function
`pjsua_codec_set_priority'
_pjsua.c:2817: error: `pj_uint8_t' undeclared (first use in this function)
_pjsua.c:2817: error: syntax error before "priority"
_pjsua.c: In function `py_pjsua_codec_get_param':
_pjsua.c:2829: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:2829: error: syntax error before "codec_id"
_pjsua.c:2830: error: `pjmedia_codec_param' undeclared (first use in this
function)
_pjsua.c:2831: error: `ret' undeclared (first use in this function)
_pjsua.c:2839: error: `codec_id' undeclared (first use in this function)
_pjsua.c:2841: warning: implicit declaration of function
`pjsua_codec_get_param'
_pjsua.c:2841: error: `param' undeclared (first use in this function)
_pjsua.c:2842: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c:2845: error: syntax error before ')' token
_pjsua.c: In function `py_pjsua_codec_set_param':
_pjsua.c:2873: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:2873: error: syntax error before "codec_id"
_pjsua.c:2874: error: `pjmedia_codec_param' undeclared (first use in this
function)
_pjsua.c:2882: error: `codec_id' undeclared (first use in this function)
_pjsua.c:2885: error: `obj' undeclared (first use in this function)
_pjsua.c:2887: error: syntax error before ')' token
_pjsua.c:2889: error: `param' undeclared (first use in this function)
_pjsua.c:2902: warning: implicit declaration of function
`pjsua_codec_set_param'
_pjsua.c: In function `py_pjsua_call_get_max_count':
_pjsua.c:3021: warning: implicit declaration of function
`pjsua_call_get_max_count'
_pjsua.c: In function `py_pjsua_call_get_count':
_pjsua.c:3036: warning: implicit declaration of function
`pjsua_call_get_count'
_pjsua.c: In function `py_pjsua_enum_calls':
_pjsua.c:3046: error: `pj_status_t' undeclared (first use in this function)
_pjsua.c:3046: error: syntax error before "status"
_pjsua.c:3048: error: `pjsua_transport_id' undeclared (first use in this
function)
_pjsua.c:3048: error: syntax error before "id"
_pjsua.c:3054: error: `id' undeclared (first use in this function)
_pjsua.c:3055: error: `status' undeclared (first use in this function)
_pjsua.c:3055: warning: implicit declaration of function `pjsua_enum_calls'
_pjsua.c:3056: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_call_make_call':
_pjsua.c:3074: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:3074: error: syntax error before "dst_uri"
_pjsua.c:3077: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3077: error: syntax error before "msg_data"
_pjsua.c:3079: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3079: error: `pool' undeclared (first use in this function)
_pjsua.c:3089: error: `dst_uri' undeclared (first use in this function)
_pjsua.c:3090: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3105: warning: implicit declaration of function
`pjsua_call_make_call'
_pjsua.c:3111: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_call_is_active':
_pjsua.c:3132: warning: implicit declaration of function
`pjsua_call_is_active'
_pjsua.c: In function `py_pjsua_call_has_media':
_pjsua.c:3151: warning: implicit declaration of function
`pjsua_call_has_media'
_pjsua.c: In function `py_pjsua_call_get_conf_port':
_pjsua.c:3170: warning: implicit declaration of function
`pjsua_call_get_conf_port'
_pjsua.c: In function `py_pjsua_call_get_info':
_pjsua.c:3183: error: `pjsua_call_info' undeclared (first use in this
function)
_pjsua.c:3183: error: syntax error before "info"
_pjsua.c:3191: warning: implicit declaration of function
`pjsua_call_get_info'
_pjsua.c:3191: error: `info' undeclared (first use in this function)
_pjsua.c:3192: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c:3199: warning: assignment makes pointer from integer without a cast
_pjsua.c:3208: warning: assignment makes pointer from integer without a cast
_pjsua.c:3210: warning: assignment makes pointer from integer without a cast
_pjsua.c:3212: warning: assignment makes pointer from integer without a cast
_pjsua.c:3214: warning: assignment makes pointer from integer without a cast
_pjsua.c:3216: warning: assignment makes pointer from integer without a cast
_pjsua.c:3222: warning: assignment makes pointer from integer without a cast
_pjsua.c: In function `py_pjsua_call_set_user_data':
_pjsua.c:3242: warning: implicit declaration of function
`pjsua_call_get_user_data'
_pjsua.c:3245: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c:3251: warning: implicit declaration of function
`pjsua_call_set_user_data'
_pjsua.c: In function `py_pjsua_call_answer':
_pjsua.c:3285: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:3285: error: `reason' undeclared (first use in this function)
_pjsua.c:3285: error: `tmp_reason' undeclared (first use in this function)
_pjsua.c:3285: warning: left-hand operand of comma expression has no effect
_pjsua.c:3288: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3288: error: syntax error before "msg_data"
_pjsua.c:3290: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3290: error: `pool' undeclared (first use in this function)
_pjsua.c:3305: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3316: warning: implicit declaration of function `pjsua_call_answer'
_pjsua.c:3285: warning: statement with no effect
_pjsua.c: In function `py_pjsua_call_hangup':
_pjsua.c:3331: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:3331: error: `reason' undeclared (first use in this function)
_pjsua.c:3331: error: `tmp_reason' undeclared (first use in this function)
_pjsua.c:3331: warning: left-hand operand of comma expression has no effect
_pjsua.c:3334: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3334: error: syntax error before "msg_data"
_pjsua.c:3336: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3336: error: `pool' undeclared (first use in this function)
_pjsua.c:3353: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3364: warning: implicit declaration of function `pjsua_call_hangup'
_pjsua.c:3331: warning: statement with no effect
_pjsua.c: In function `py_pjsua_call_set_hold':
_pjsua.c:3378: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3378: error: syntax error before "msg_data"
_pjsua.c:3380: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3380: error: `pool' undeclared (first use in this function)
_pjsua.c:3388: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3399: warning: implicit declaration of function
`pjsua_call_set_hold'
_pjsua.c: In function `py_pjsua_call_reinvite':
_pjsua.c:3415: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3415: error: syntax error before "msg_data"
_pjsua.c:3417: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3417: error: `pool' undeclared (first use in this function)
_pjsua.c:3425: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3436: warning: implicit declaration of function
`pjsua_call_reinvite'
_pjsua.c: In function `py_pjsua_call_update':
_pjsua.c:3452: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3452: error: syntax error before "msg_data"
_pjsua.c:3454: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3454: error: `pool' undeclared (first use in this function)
_pjsua.c:3462: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3473: warning: implicit declaration of function `pjsua_call_update'
_pjsua.c: In function `py_pjsua_call_send_request':
_pjsua.c:3489: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:3489: error: syntax error before "method"
_pjsua.c:3490: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3492: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3492: error: `pool' undeclared (first use in this function)
_pjsua.c:3504: error: `method' undeclared (first use in this function)
_pjsua.c:3505: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3517: warning: implicit declaration of function
`pjsua_call_send_request'
_pjsua.c: In function `py_pjsua_call_xfer':
_pjsua.c:3532: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:3532: error: syntax error before "dest"
_pjsua.c:3534: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3534: error: syntax error before "msg_data"
_pjsua.c:3536: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3536: error: `pool' undeclared (first use in this function)
_pjsua.c:3547: error: `dest' undeclared (first use in this function)
_pjsua.c:3548: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3560: warning: implicit declaration of function `pjsua_call_xfer'
_pjsua.c: In function `py_pjsua_call_xfer_replaces':
_pjsua.c:3577: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3577: error: syntax error before "msg_data"
_pjsua.c:3579: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3579: error: `pool' undeclared (first use in this function)
_pjsua.c:3589: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3601: warning: implicit declaration of function
`pjsua_call_xfer_replaces'
_pjsua.c: In function `py_pjsua_call_dial_dtmf':
_pjsua.c:3617: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:3617: error: syntax error before "digits"
_pjsua.c:3627: error: `PJ_EINVAL' undeclared (first use in this function)
_pjsua.c:3629: error: `digits' undeclared (first use in this function)
_pjsua.c:3630: warning: implicit declaration of function
`pjsua_call_dial_dtmf'
_pjsua.c: In function `py_pjsua_call_send_im':
_pjsua.c:3642: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:3642: error: syntax error before "content"
_pjsua.c:3643: error: `mime_type' undeclared (first use in this function)
_pjsua.c:3643: error: `tmp_mime_type' undeclared (first use in this
function)
_pjsua.c:3643: warning: left-hand operand of comma expression has no effect
_pjsua.c:3645: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3645: error: syntax error before "msg_data"
_pjsua.c:3647: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3647: error: `pool' undeclared (first use in this function)
_pjsua.c:3658: error: `PJ_EINVAL' undeclared (first use in this function)
_pjsua.c:3660: error: `content' undeclared (first use in this function)
_pjsua.c:3669: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3680: warning: implicit declaration of function
`pjsua_call_send_im'
_pjsua.c:3643: warning: statement with no effect
_pjsua.c: In function `py_pjsua_call_send_typing_ind':
_pjsua.c:3698: error: `pjsua_msg_data' undeclared (first use in this
function)
_pjsua.c:3698: error: syntax error before "msg_data"
_pjsua.c:3700: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3700: error: `pool' undeclared (first use in this function)
_pjsua.c:3708: error: `msg_data' undeclared (first use in this function)
_pjsua.c:3719: warning: implicit declaration of function
`pjsua_call_send_typing_ind'
_pjsua.c: In function `py_pjsua_call_hangup_all':
_pjsua.c:3735: warning: implicit declaration of function
`pjsua_call_hangup_all'
_pjsua.c: In function `py_pjsua_call_dump':
_pjsua.c:3765: warning: implicit declaration of function `pjsua_call_dump'
_pjsua.c:3766: error: `PJ_SUCCESS' undeclared (first use in this function)
_pjsua.c: In function `py_pjsua_dump':
_pjsua.c:3791: warning: implicit declaration of function `pjsua_dump'
_pjsua.c: In function `py_pj_strerror':
_pjsua.c:3803: error: `PJ_ERR_MSG_SIZE' undeclared (first use in this
function)
_pjsua.c:3804: error: `pj_str_t' undeclared (first use in this function)
_pjsua.c:3804: error: syntax error before "ret"
_pjsua.c:3812: error: `ret' undeclared (first use in this function)
_pjsua.c:3812: warning: implicit declaration of function `pj_strerror'
_pjsua.c:3803: warning: unused variable `err_msg'
_pjsua.c: In function `py_pj_parse_simple_sip':
_pjsua.c:3824: error: `pj_pool_t' undeclared (first use in this function)
_pjsua.c:3824: error: `pool' undeclared (first use in this function)
_pjsua.c:3825: error: `PJSIP_MAX_URL_SIZE' undeclared (first use in this
function)
_pjsua.c:3826: error: `pjsip_uri' undeclared (first use in this function)
_pjsua.c:3826: error: `uri' undeclared (first use in this function)
_pjsua.c:3827: error: `pjsip_sip_uri' undeclared (first use in this
function)
_pjsua.c:3827: error: `sip_uri' undeclared (first use in this function)
_pjsua.c:3840: warning: implicit declaration of function `pjsip_parse_uri'
_pjsua.c:3842: warning: implicit declaration of function
`PJSIP_URI_SCHEME_IS_SIP'
_pjsua.c:3843: warning: implicit declaration of function
`PJSIP_URI_SCHEME_IS_SIPS'
_pjsua.c:3849: error: syntax error before ')' token
_pjsua.c:3852: warning: implicit declaration of function
`pjsip_uri_get_scheme'
_pjsua.c:3852: warning: assignment makes pointer from integer without a cast
_pjsua.c:3856: warning: assignment makes pointer from integer without a cast
_pjsua.c:3860: warning: assignment makes pointer from integer without a cast
_pjsua.c:3871: warning: implicit declaration of function `pj_stricmp2'
_pjsua.c:3875: warning: assignment makes pointer from integer without a cast
_pjsua.c:3825: warning: unused variable `tmp'
error: command 'gcc' failed with exit status 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090818/7fdb6e9a/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