[Freeswitch-users] installing mod_curl

Brian West brian at freeswitch.org
Fri Aug 22 21:20:30 MSD 2014


Sounds like you need to nuke your tree and check it out again.


On Fri, Aug 22, 2014 at 11:51 AM, Kamrul Khan <dodul at live.com> wrote:

> Hi,
>
> Tried to make mod_curl using,
>
> make mod_curl from
>
> freeswitch-source/src/mod/applications/mod_curl/
>
> and got all these errors. how to fix it ?
>
> cc     mod_curl.c   -o mod_curl
> mod_curl.c:34:20: error: switch.h: No such file or directory
> mod_curl.c:35:25: error: switch_curl.h: No such file or directory
> mod_curl.c:36:18: error: json.h: No such file or directory
> mod_curl.c:45: warning: data definition has no type or storage class
> mod_curl.c:45: warning: parameter names (without types) in function
> declaration
> mod_curl.c:46: warning: data definition has no type or storage class
> mod_curl.c:46: warning: parameter names (without types) in function
> declaration
> mod_curl.c:47: warning: data definition has no type or storage class
> mod_curl.c:47: warning: parameter names (without types) in function
> declaration
> mod_curl.c:52: error: expected â)â before â(â token
> mod_curl.c:60: error: expected specifier-qualifier-list before
> âswitch_memory_pool_tâ
> mod_curl.c:70: error: expected specifier-qualifier-list before
> âswitch_stream_handle_tâ
> mod_curl.c:82: error: expected specifier-qualifier-list before
> âswitch_memory_pool_tâ
> mod_curl.c:105: error: expected specifier-qualifier-list before
> âswitch_memory_pool_tâ
> mod_curl.c: In function âfile_callbackâ:
> mod_curl.c:121: error: âhttp_data_tâ has no member named âbytesâ
> mod_curl.c:123: error: âhttp_data_tâ has no member named âbytesâ
> mod_curl.c:123: error: âhttp_data_tâ has no member named âmax_bytesâ
> mod_curl.c:124: error: âSWITCH_CHANNEL_LOGâ undeclared (first use in this
> function)
> mod_curl.c:124: error: (Each undeclared identifier is reported only once
> mod_curl.c:124: error: for each function it appears in.)
> mod_curl.c:124: error: âSWITCH_LOG_ERRORâ undeclared (first use in this
> function)
> mod_curl.c:124: error: âhttp_data_tâ has no member named âbytesâ
> mod_curl.c:125: error: âhttp_data_tâ has no member named âerrâ
> mod_curl.c:129: error: âhttp_data_tâ has no member named âstreamâ
> mod_curl.c:129: error: âhttp_data_tâ has no member named âstreamâ
> mod_curl.c: In function âheader_callbackâ:
> mod_curl.c:139: error: âhttp_data_tâ has no member named âpoolâ
> mod_curl.c:139: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:143: error: âhttp_data_tâ has no member named âheadersâ
> mod_curl.c:143: error: âhttp_data_tâ has no member named âheadersâ
> mod_curl.c: At top level:
> mod_curl.c:148: error: expected â)â before â*â token
> mod_curl.c:225: error: expected â)â before â*â token
> mod_curl.c: In function âhttp_sendfile_response_callbackâ:
> mod_curl.c:294: error: âhttp_sendfile_data_tâ has no member named
> âsendfile_response_countâ
> mod_curl.c:297: error: âhttp_sendfile_data_tâ has no member named
> âsendfile_responseâ
> mod_curl.c:297: error: âhttp_sendfile_data_tâ has no member named
> âsendfile_response_countâ
> mod_curl.c:298: error: âhttp_sendfile_data_tâ has no member named
> âsendfile_response_countâ
> mod_curl.c:302: error: âSWITCH_CHANNEL_LOGâ undeclared (first use in this
> function)
> mod_curl.c:302: error: âSWITCH_LOG_ERRORâ undeclared (first use in this
> function)
> mod_curl.c: In function âhttp_sendfile_initialize_curlâ:
> mod_curl.c:312: error: âuint8_tâ undeclared (first use in this function)
> mod_curl.c:312: error: expected â;â before âcountâ
> mod_curl.c:313: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:315: error: âhttp_sendfile_data_tâ has no member named âurlâ
> mod_curl.c:317: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:317: error: âCURLOPT_SSL_VERIFYPEERâ undeclared (first use in
> this function)
> mod_curl.c:318: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:318: error: âCURLOPT_SSL_VERIFYHOSTâ undeclared (first use in
> this function)
> mod_curl.c:330: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:330: error: âCURLOPT_FOLLOWLOCATIONâ undeclared (first use in
> this function)
> mod_curl.c:331: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:331: error: âCURLOPT_MAXREDIRSâ undeclared (first use in this
> function)
> mod_curl.c:332: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:332: error: âCURLOPT_URLâ undeclared (first use in this
> function)
> mod_curl.c:332: error: âhttp_sendfile_data_tâ has no member named âurlâ
> mod_curl.c:333: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:333: error: âCURLOPT_NOSIGNALâ undeclared (first use in this
> function)
> mod_curl.c:334: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:334: error: âCURLOPT_USERAGENTâ undeclared (first use in this
> function)
> mod_curl.c:336: error: âhttp_sendfile_data_tâ has no member named
> âsendfile_responseâ
> mod_curl.c:336: error: âhttp_sendfile_data_tâ has no member named âpoolâ
> mod_curl.c:337: warning: incompatible implicit declaration of built-in
> function âmemsetâ
> mod_curl.c:337: error: âhttp_sendfile_data_tâ has no member named
> âsendfile_responseâ
> mod_curl.c:340: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:340: error: âCURLOPT_WRITEFUNCTIONâ undeclared (first use in
> this function)
> mod_curl.c:341: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:341: error: âCURLOPT_WRITEDATAâ undeclared (first use in this
> function)
> mod_curl.c:344: error: âhttp_sendfile_data_tâ has no member named
> âformpostâ
> mod_curl.c:344: error: âhttp_sendfile_data_tâ has no member named âlastptrâ
> mod_curl.c:344: error: âCURLFORM_COPYNAMEâ undeclared (first use in this
> function)
> mod_curl.c:344: error: âhttp_sendfile_data_tâ has no member named
> âfilename_element_nameâ
> mod_curl.c:344: error: âCURLFORM_FILEâ undeclared (first use in this
> function)
> mod_curl.c:344: error: âhttp_sendfile_data_tâ has no member named
> âfilename_elementâ
> mod_curl.c:344: error: âCURLFORM_ENDâ undeclared (first use in this
> function)
> mod_curl.c:346: error: âhttp_sendfile_data_tâ has no member named
> âextrapost_elementsâ
> mod_curl.c:350: error: âuint32_tâ undeclared (first use in this function)
> mod_curl.c:350: error: expected â;â before âargcâ
> mod_curl.c:351: error: âhttp_sendfile_data_tâ has no member named âpoolâ
> mod_curl.c:351: error: âhttp_sendfile_data_tâ has no member named
> âextrapost_elementsâ
> mod_curl.c:351: warning: initialization makes pointer from integer without
> a cast
> mod_curl.c:353: error: âargcâ undeclared (first use in this function)
> mod_curl.c:355: error: âcountâ undeclared (first use in this function)
> mod_curl.c:358: error: expected â;â before âargc2â
> mod_curl.c:360: error: âargc2â undeclared (first use in this function)
> mod_curl.c:361: error: âhttp_sendfile_data_tâ has no member named
> âformpostâ
> mod_curl.c:361: error: âhttp_sendfile_data_tâ has no member named âlastptrâ
> mod_curl.c:361: error: âCURLFORM_COPYCONTENTSâ undeclared (first use in
> this function)
> mod_curl.c:366: error: âhttp_sendfile_data_tâ has no member named
> âformpostâ
> mod_curl.c:366: error: âhttp_sendfile_data_tâ has no member named âlastptrâ
> mod_curl.c:369: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:369: error: âCURLOPT_HTTPPOSTâ undeclared (first use in this
> function)
> mod_curl.c:369: error: âhttp_sendfile_data_tâ has no member named
> âformpostâ
> mod_curl.c:372: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:373: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:373: error: âCURLINFO_RESPONSE_CODEâ undeclared (first use in
> this function)
> mod_curl.c:373: error: âhttp_sendfile_data_tâ has no member named
> âhttp_response_codeâ
> mod_curl.c:375: error: âhttp_sendfile_data_tâ has no member named
> âcurl_handleâ
> mod_curl.c:378: error: âhttp_sendfile_data_tâ has no member named
> âformpostâ
> mod_curl.c: At top level:
> mod_curl.c:381: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
> before âhttp_sendfile_test_file_openâ
> mod_curl.c:410: error: expected declaration specifiers or â...â before
> âswitch_event_tâ
> mod_curl.c: In function âhttp_sendfile_success_reportâ:
> mod_curl.c:414: error: âeventâ undeclared (first use in this function)
> mod_curl.c:414: error: âSWITCH_EVENT_CUSTOMâ undeclared (first use in this
> function)
> mod_curl.c:414: error: âSWITCH_STATUS_SUCCESSâ undeclared (first use in
> this function)
> mod_curl.c:416: error: âhttp_sendfile_data_tâ has no member named âpoolâ
> mod_curl.c:416: warning: initialization makes pointer from integer without
> a cast
> mod_curl.c:417: warning: incompatible implicit declaration of built-in
> function âmemsetâ
> mod_curl.c:418: error: âhttp_sendfile_data_tâ has no member named
> âhttp_response_codeâ
> mod_curl.c:420: error: âSWITCH_STACK_BOTTOMâ undeclared (first use in this
> function)
> mod_curl.c:420: error: âhttp_sendfile_data_tâ has no member named
> âidentifier_strâ
> mod_curl.c:421: error: âhttp_sendfile_data_tâ has no member named
> âfilename_elementâ
> mod_curl.c:424: error: âhttp_sendfile_data_tâ has no member named
> âsendfile_responseâ
> mod_curl.c:430: error: âSWITCH_CHANNEL_LOGâ undeclared (first use in this
> function)
> mod_curl.c:430: error: âSWITCH_LOG_ERRORâ undeclared (first use in this
> function)
> mod_curl.c:433: error: âhttp_sendfile_data_tâ has no member named âstreamâ
> mod_curl.c:435: error: âhttp_sendfile_data_tâ has no member named
> âhttp_response_codeâ
> mod_curl.c:436: error: âhttp_sendfile_data_tâ has no member named âstreamâ
> mod_curl.c:436: error: âhttp_sendfile_data_tâ has no member named âstreamâ
> mod_curl.c:438: error: âhttp_sendfile_data_tâ has no member named âstreamâ
> mod_curl.c:438: error: âhttp_sendfile_data_tâ has no member named âstreamâ
> mod_curl.c:438: error: âhttp_sendfile_data_tâ has no member named
> âhttp_response_codeâ
> mod_curl.c:440: error: âhttp_sendfile_data_tâ has no member named
> âsendfile_response_countâ
> mod_curl.c:441: error: âhttp_sendfile_data_tâ has no member named âstreamâ
> mod_curl.c:441: error: âhttp_sendfile_data_tâ has no member named âstreamâ
> mod_curl.c:441: error: âhttp_sendfile_data_tâ has no member named
> âsendfile_responseâ
> mod_curl.c:444: error: âhttp_sendfile_data_tâ has no member named âstreamâ
> mod_curl.c:445: error: âSWITCH_LOG_INFOâ undeclared (first use in this
> function)
> mod_curl.c:445: error: âhttp_sendfile_data_tâ has no member named
> âfilename_elementâ
> mod_curl.c:445: error: âhttp_sendfile_data_tâ has no member named âurlâ
> mod_curl.c:445: error: âhttp_sendfile_data_tâ has no member named
> âhttp_response_codeâ
> mod_curl.c: In function âSWITCH_STANDARD_APPâ:
> mod_curl.c:451: error: âswitch_event_tâ undeclared (first use in this
> function)
> mod_curl.c:451: error: âeventâ undeclared (first use in this function)
> mod_curl.c:455: error: âswitch_memory_pool_tâ undeclared (first use in
> this function)
> mod_curl.c:455: error: âpoolâ undeclared (first use in this function)
> mod_curl.c:455: error: âsessionâ undeclared (first use in this function)
> mod_curl.c:456: error: âswitch_channel_tâ undeclared (first use in this
> function)
> mod_curl.c:456: error: âchannelâ undeclared (first use in this function)
> mod_curl.c:460: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:461: warning: incompatible implicit declaration of built-in
> function âmemsetâ
> mod_curl.c:463: error: âhttp_sendfile_data_tâ has no member named âpoolâ
> mod_curl.c:466: error: âdataâ undeclared (first use in this function)
> mod_curl.c:468: error: âhttp_sendfile_data_tâ has no member named âmydataâ
> mod_curl.c:468: error: âhttp_sendfile_data_tâ has no member named âpoolâ
> mod_curl.c:470: error: âhttp_sendfile_data_tâ has no member named âmydataâ
> mod_curl.c:472: error: âuint8_tâ undeclared (first use in this function)
> mod_curl.c:472: error: expected â;â before âiâ
> mod_curl.c:477: error: âhttp_sendfile_data_tâ has no member named âurlâ
> mod_curl.c:477: error: âhttp_sendfile_data_tâ has no member named âpoolâ
> mod_curl.c:477: error: âiâ undeclared (first use in this function)
> mod_curl.c:484: error: âhttp_sendfile_data_tâ has no member named
> âfilename_element_nameâ
> mod_curl.c:485: error: âhttp_sendfile_data_tâ has no member named
> âfilename_elementâ
> mod_curl.c:492: error: âhttp_sendfile_data_tâ has no member named
> âextrapost_elementsâ
> mod_curl.c:499: error: âSWITCH_CHANNEL_LOGâ undeclared (first use in this
> function)
> mod_curl.c:499: error: âSWITCH_LOG_INFOâ undeclared (first use in this
> function)
> mod_curl.c:505: error: âhttp_sendfile_data_tâ has no member named
> âidentifier_strâ
> mod_curl.c:507: error: âhttp_sendfile_data_tâ has no member named
> âidentifier_strâ
> mod_curl.c:515: error: âSWITCH_TRUEâ undeclared (first use in this
> function)
> mod_curl.c:518: error: âhttp_sendfile_data_tâ has no member named âurlâ
> mod_curl.c:519: error: âhttp_sendfile_data_tâ has no member named
> âfilename_element_nameâ
> mod_curl.c:520: error: âhttp_sendfile_data_tâ has no member named
> âfilename_elementâ
> mod_curl.c:521: error: âhttp_sendfile_data_tâ has no member named
> âextrapost_elementsâ
> mod_curl.c:524: error: âhttp_sendfile_data_tâ has no member named âurlâ
> mod_curl.c:524: error: âhttp_sendfile_data_tâ has no member named
> âfilename_elementâ
> mod_curl.c:524: error: âhttp_sendfile_data_tâ has no member named
> âfilename_element_nameâ
> mod_curl.c:548: error: âhttp_sendfile_data_tâ has no member named
> âidentifier_strâ
> mod_curl.c:550: error: âhttp_sendfile_data_tâ has no member named
> âidentifier_strâ
> mod_curl.c:554: error: âhttp_sendfile_data_tâ has no member named
> âfilename_element_nameâ
> mod_curl.c:555: error: âhttp_sendfile_data_tâ has no member named
> âfilename_elementâ
> mod_curl.c:558: error: âSWITCH_STATUS_SUCCESSâ undeclared (first use in
> this function)
> mod_curl.c:561: error: âhttp_sendfile_data_tâ has no member named
> âfile_handleâ
> mod_curl.c:563: error: âhttp_sendfile_data_tâ has no member named âurlâ
> mod_curl.c:567: error: too many arguments to function
> âhttp_sendfile_success_reportâ
> mod_curl.c:572: error: âSWITCH_LOG_ERRORâ undeclared (first use in this
> function)
> mod_curl.c:575: error: âhttp_sendfile_data_tâ has no member named âheadersâ
> mod_curl.c:577: error: âhttp_sendfile_data_tâ has no member named âheadersâ
> mod_curl.c: In function âSWITCH_STANDARD_APIâ:
> mod_curl.c:586: error: âswitch_status_tâ undeclared (first use in this
> function)
> mod_curl.c:586: error: expected â;â before âstatusâ
> mod_curl.c:587: error: âswitch_bool_tâ undeclared (first use in this
> function)
> mod_curl.c:587: error: expected â;â before ânew_memory_poolâ
> mod_curl.c:591: error: âswitch_memory_pool_tâ undeclared (first use in
> this function)
> mod_curl.c:591: error: âpoolâ undeclared (first use in this function)
> mod_curl.c:592: error: âswitch_event_tâ undeclared (first use in this
> function)
> mod_curl.c:592: error: âeventâ undeclared (first use in this function)
> mod_curl.c:594: error: âcmdâ undeclared (first use in this function)
> mod_curl.c:596: error: âstatusâ undeclared (first use in this function)
> mod_curl.c:596: error: âSWITCH_STATUS_SUCCESSâ undeclared (first use in
> this function)
> mod_curl.c:599: error: âsessionâ undeclared (first use in this function)
> mod_curl.c:602: error: âSWITCH_CHANNEL_LOGâ undeclared (first use in this
> function)
> mod_curl.c:602: error: âSWITCH_LOG_DEBUGâ undeclared (first use in this
> function)
> mod_curl.c:607: error: ânew_memory_poolâ undeclared (first use in this
> function)
> mod_curl.c:607: error: âSWITCH_TRUEâ undeclared (first use in this
> function)
> mod_curl.c:610: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:611: warning: incompatible implicit declaration of built-in
> function âmemsetâ
> mod_curl.c:613: error: âhttp_sendfile_data_tâ has no member named âmydataâ
> mod_curl.c:614: error: âhttp_sendfile_data_tâ has no member named âstreamâ
> mod_curl.c:614: error: âstreamâ undeclared (first use in this function)
> mod_curl.c:615: error: âhttp_sendfile_data_tâ has no member named âpoolâ
> mod_curl.c:619: error: âhttp_sendfile_data_tâ has no member named âmydataâ
> mod_curl.c:621: error: âuint8_tâ undeclared (first use in this function)
> mod_curl.c:621: error: expected â;â before âiâ
> mod_curl.c:629: error: âhttp_sendfile_data_tâ has no member named âurlâ
> mod_curl.c:629: error: âiâ undeclared (first use in this function)
> mod_curl.c:636: error: âhttp_sendfile_data_tâ has no member named
> âfilename_element_nameâ
> mod_curl.c:637: error: âhttp_sendfile_data_tâ has no member named
> âfilename_elementâ
> mod_curl.c:642: error: âhttp_sendfile_data_tâ has no member named
> âfilename_element_nameâ
> mod_curl.c:643: error: âhttp_sendfile_data_tâ has no member named
> âfilename_elementâ
> mod_curl.c:647: error: âhttp_sendfile_data_tâ has no member named
> âextrapost_elementsâ
> mod_curl.c:663: error: âSWITCH_LOG_INFOâ undeclared (first use in this
> function)
> mod_curl.c:671: error: âhttp_sendfile_data_tâ has no member named
> âidentifier_strâ
> mod_curl.c:681: error: âhttp_sendfile_data_tâ has no member named
> âfile_handleâ
> mod_curl.c:683: error: âhttp_sendfile_data_tâ has no member named âurlâ
> mod_curl.c:687: error: too many arguments to function
> âhttp_sendfile_success_reportâ
> mod_curl.c:697: error: âhttp_sendfile_data_tâ has no member named âheadersâ
> mod_curl.c:699: error: âhttp_sendfile_data_tâ has no member named âheadersâ
> mod_curl.c: At top level:
> mod_curl.c:711: error: redefinition of âSWITCH_STANDARD_APPâ
> mod_curl.c:450: error: previous definition of âSWITCH_STANDARD_APPâ was
> here
> mod_curl.c: In function âSWITCH_STANDARD_APPâ:
> mod_curl.c:712: error: âswitch_status_tâ undeclared (first use in this
> function)
> mod_curl.c:712: error: expected â;â before âstatusâ
> mod_curl.c:718: error: âswitch_memory_pool_tâ undeclared (first use in
> this function)
> mod_curl.c:718: error: âpoolâ undeclared (first use in this function)
> mod_curl.c:718: error: âsessionâ undeclared (first use in this function)
> mod_curl.c:719: error: âswitch_channel_tâ undeclared (first use in this
> function)
> mod_curl.c:719: error: âchannelâ undeclared (first use in this function)
> mod_curl.c:724: error: âswitch_bool_tâ undeclared (first use in this
> function)
> mod_curl.c:724: error: expected â;â before âdo_headersâ
> mod_curl.c:725: error: expected â;â before âdo_jsonâ
> mod_curl.c:727: error: âswitch_curl_slist_tâ undeclared (first use in this
> function)
> mod_curl.c:727: error: âslistâ undeclared (first use in this function)
> mod_curl.c:728: error: âswitch_stream_handle_tâ undeclared (first use in
> this function)
> mod_curl.c:728: error: expected â;â before âstreamâ
> mod_curl.c:733: error: âdataâ undeclared (first use in this function)
> mod_curl.c:733: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:739: error: âSWITCH_STATUS_SUCCESSâ undeclared (first use in
> this function)
> mod_curl.c:739: error: âusageâ undeclared (first use in this function)
> mod_curl.c:742: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:746: error: âdo_headersâ undeclared (first use in this function)
> mod_curl.c:746: error: âSWITCH_TRUEâ undeclared (first use in this
> function)
> mod_curl.c:748: error: âdo_jsonâ undeclared (first use in this function)
> mod_curl.c:750: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:754: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:761: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:767: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:771: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:776: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:780: error: âstreamâ undeclared (first use in this function)
> mod_curl.c:782: error: âhttp_data_tâ has no member named âheadersâ
> mod_curl.c:789: error: âhttp_data_tâ has no member named âhttp_responseâ
> mod_curl.c:789: error: âhttp_data_tâ has no member named âhttp_responseâ
> mod_curl.c:792: error: âhttp_data_tâ has no member named
> âhttp_response_codeâ
> mod_curl.c:795: error: âdoneâ undeclared (first use in this function)
> mod_curl.c:798: error: âSWITCH_LOG_ERRORâ undeclared (first use in this
> function)
> mod_curl.c:799: error: âstatusâ undeclared (first use in this function)
> mod_curl.c:803: error: âhttp_data_tâ has no member named âheadersâ
> mod_curl.c:804: error: âhttp_data_tâ has no member named âheadersâ
> mod_curl.c: At top level:
> mod_curl.c:812: error: redefinition of âSWITCH_STANDARD_APIâ
> mod_curl.c:585: error: previous definition of âSWITCH_STANDARD_APIâ was
> here
> mod_curl.c: In function âSWITCH_STANDARD_APIâ:
> mod_curl.c:813: error: âswitch_status_tâ undeclared (first use in this
> function)
> mod_curl.c:813: error: expected â;â before âstatusâ
> mod_curl.c:821: error: âswitch_bool_tâ undeclared (first use in this
> function)
> mod_curl.c:821: error: expected â;â before âdo_headersâ
> mod_curl.c:822: error: expected â;â before âdo_jsonâ
> mod_curl.c:823: error: âswitch_curl_slist_tâ undeclared (first use in this
> function)
> mod_curl.c:823: error: âslistâ undeclared (first use in this function)
> mod_curl.c:827: error: âswitch_memory_pool_tâ undeclared (first use in
> this function)
> mod_curl.c:827: error: âpoolâ undeclared (first use in this function)
> mod_curl.c:830: error: âcmdâ undeclared (first use in this function)
> mod_curl.c:831: error: âSWITCH_STATUS_SUCCESSâ undeclared (first use in
> this function)
> mod_curl.c:831: error: âusageâ undeclared (first use in this function)
> mod_curl.c:834: error: âsessionâ undeclared (first use in this function)
> mod_curl.c:840: warning: incompatible implicit declaration of built-in
> function âstrdupâ
> mod_curl.c:846: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:850: error: âdo_headersâ undeclared (first use in this function)
> mod_curl.c:850: error: âSWITCH_TRUEâ undeclared (first use in this
> function)
> mod_curl.c:852: error: âdo_jsonâ undeclared (first use in this function)
> mod_curl.c:854: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:858: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:865: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:874: error: âSWITCH_LOG_WARNINGâ undeclared (first use in this
> function)
> mod_curl.c:880: warning: assignment makes pointer from integer without a
> cast
> mod_curl.c:882: error: âstreamâ undeclared (first use in this function)
> mod_curl.c:885: error: âhttp_data_tâ has no member named âheadersâ
> mod_curl.c:892: error: âhttp_data_tâ has no member named âhttp_responseâ
> mod_curl.c:892: error: âhttp_data_tâ has no member named âhttp_responseâ
> mod_curl.c:895: error: âdoneâ undeclared (first use in this function)
> mod_curl.c:899: error: âstatusâ undeclared (first use in this function)
> mod_curl.c:902: error: âhttp_data_tâ has no member named âheadersâ
> mod_curl.c:903: error: âhttp_data_tâ has no member named âheadersâ
> mod_curl.c: In function âSWITCH_MODULE_LOAD_FUNCTIONâ:
> mod_curl.c:915: error: âswitch_api_interface_tâ undeclared (first use in
> this function)
> mod_curl.c:915: error: âapi_interfaceâ undeclared (first use in this
> function)
> mod_curl.c:916: error: âswitch_application_interface_tâ undeclared (first
> use in this function)
> mod_curl.c:916: error: âapp_interfaceâ undeclared (first use in this
> function)
> mod_curl.c:918: error: âmodule_interfaceâ undeclared (first use in this
> function)
> mod_curl.c:918: error: âpoolâ undeclared (first use in this function)
> mod_curl.c:918: error: âmodnameâ undeclared (first use in this function)
> mod_curl.c:920: warning: incompatible implicit declaration of built-in
> function âmemsetâ
> mod_curl.c:922: error: âstruct <anonymous>â has no member named âpoolâ
> mod_curl.c:924: error: âcurl_functionâ undeclared (first use in this
> function)
> mod_curl.c:926: error: âcurl_app_functionâ undeclared (first use in this
> function)
> mod_curl.c:926: error: âSAF_SUPPORT_NOMEDIAâ undeclared (first use in this
> function)
> mod_curl.c:926: error: âSAF_ROUTING_EXECâ undeclared (first use in this
> function)
> mod_curl.c:928: error: âhttp_sendfile_functionâ undeclared (first use in
> this function)
> mod_curl.c:930: error: âhttp_sendfile_app_functionâ undeclared (first use
> in this function)
> mod_curl.c:932: error: âSWITCH_STATUS_SUCCESSâ undeclared (first use in
> this function)
> mod_curl.c: In function âSWITCH_MODULE_SHUTDOWN_FUNCTIONâ:
> mod_curl.c:941: error: âSWITCH_STATUS_SUCCESSâ undeclared (first use in
> this function)
> make: *** [mod_curl] Error 1
>
>
> From: freeswitch-users-request at lists.freeswitch.org
> Subject: FreeSWITCH-users Digest, Vol 98, Issue 173
> To: freeswitch-users at lists.freeswitch.org
> Date: Fri, 22 Aug 2014 19:41:09 +0400
>
> Send FreeSWITCH-users mailing list submissions to
> 	freeswitch-users at lists.freeswitch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> or, via email, send a message with subject or body 'help' to
> 	freeswitch-users-request at lists.freeswitch.org
>
> You can reach the person managing the list at
> 	freeswitch-users-owner at lists.freeswitch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FreeSWITCH-users digest..."
>
>
>
> --Forwarded Message Attachment--
> From: shabbirabbasi92 at gmail.com
> To: freeswitch-users at lists.freeswitch.org
> Date: Fri, 22 Aug 2014 17:48:40 +0500
> Subject: Re: [Freeswitch-users] mod_skypopen new documentation is ready !
>
> Giovanni Maruzzelli  i am very thankfull to u for this work and i can
> confirm this is working
> but i am unable to find this file in centos 6.5
> edit /etc/init/pulseaudio.conf
> # uncomment "start on ..."
>
> and 2nd problum is it is using much cpu how to lower cpu usage
>
> below is  output from  6 active skype calls
> total 12 interfaces of skype all diffrent usernames
>
> top - 17:36:25 up  7:02,  3 users,  load average: 2.88, 2.89, 2.98
> Tasks: 227 total,   2 running, 225 sleeping,   0 stopped,   0 zombie
> Cpu(s): 27.1%us, 10.6%sy,  0.0%ni, 60.6%id,  1.4%wa,  0.0%hi,  0.2%si,
> 0.0%st
> Mem:   2041824k total,  1904288k used,   137536k free,     6176k buffers
> Swap:  4095996k total,   395428k used,  3700568k free,   157360k cached
>
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+
> COMMAND
>  1891 pulse      9 -11 79644 6704 1728 S 15.7  0.3  39:35.80
> pulseaudio
>  2257 root      20   0  316m  90m  10m S 13.8  4.5  13:34.14
> skype
>  2515 root      20   0  355m 153m  10m S 11.8  7.7  26:37.42
> skype
>  2637 root      20   0  319m 125m  10m S 11.8  6.3  19:15.48
> skype
>  1949 root      20   0  355m 108m  10m S  9.8  5.4  24:28.94
> skype
>  2023 root      20   0  365m 110m  10m S  9.8  5.6  22:55.65
> skype
>  2152 root      20   0  319m  79m  10m S  9.8  4.0  21:47.23
> skype
> 10396 root      -2 -10  241m  43m 5808 S  7.9  2.2  15:00.11
> freeswitch
>  2327 root      20   0  310m 112m  10m S  3.9  5.7  23:36.86
> skype
>  2388 root      20   0  303m  79m  10m R  3.9  4.0   9:46.91
> skype
>  2452 root      20   0  306m  98m  10m S  3.9  5.0  12:21.81
> skype
>  3193 root      20   0 62776  21m 5764 S  3.9  1.1  11:45.45
> asterisk
>  2090 root      20   0  335m  88m  10m S  2.0  4.5  20:55.37
> skype
>  2498 root      20   0 18004 5756 1644 S  2.0  0.3   0:03.22 Xvfb
>
>
> hardware   is  dell optiplex 755 core 2 du cpu 2.66ghz
> how to lower cpu usage?
>
>
>
>
> On Fri, Aug 22, 2014 at 3:41 PM, Giovanni Maruzzelli <gmaruzz at gmail.com>
> wrote:
>
> Dear FreeSWITCHers,
>
> new documentation on how to build and operate, using latest Skype client,
> the Skype FreeSWITCH endpoint mod_skypopen is out in Confluence.
>
> Please find it at:
>
> https://confluence.freeswitch.org/display/FREESWITCH/mod_skypopen
>
> Let us know if there is something to clarify, add, or correct.
>
> Ciao,
>
> -giovanni
>
> Sincerely,
>
> Giovanni Maruzzelli
> Cell : +39-347-2665618
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> --Forwarded Message Attachment--
> From: krice at freeswitch.org
> To: freeswitch-users at lists.freeswitch.org;
> freeswitch-dev at lists.freeswitch.org
> Date: Fri, 22 Aug 2014 14:01:52 +0000
> Subject: [Freeswitch-users] FreeSWITCH Friday BugHunt Reminder!
>
> FreeSWITCHers, Do not forget to join us at 2PM CST for the FreeSWITCH
> Friday BugHunt
> Call sip:888 at conference.freeswitch.org or see http://ift.tt/1prwIZL for
> access info! -- Ken http://ift.tt/vGSsGm http://www.ClueCon.com
> http://www.OSTAG.org irc.freenode.net #freeswitch Twitter: @FreeSWITCH
> @ClueCon
>
> --Forwarded Message Attachment--
> From: gmaruzz at gmail.com
> To: freeswitch-users at lists.freeswitch.org
> Date: Fri, 22 Aug 2014 16:14:15 +0200
> Subject: Re: [Freeswitch-users] mod_skypopen new documentation is ready !
>
> On Fri, Aug 22, 2014 at 2:48 PM, Shabbir abbasi <shabbirabbasi92 at gmail.com
> > wrote:
>
> but i am unable to find this file in centos 6.5
> edit /etc/init/pulseaudio.conf
> # uncomment "start on ..."
>
>
> You right, it does not exist :))
> Just corrected it in confluence
>
>
>
> and 2nd problum is it is using much cpu how to lower cpu usage
>
>
> At the moment no way in my (very limited) knowledge to lower the cpu
> usage. You can try changing values in /etc/pulse/daemon.conf , maybe you
> find something better for your machine, maybe.
>
> Sooner or later I will try again to port my skypopen.ko to work with
> portaudio, maybe through portaudio's module-oss, but I gave it a (long)
> try, and was not easy.
>
> Also modify portaudio's module-null-sink to use skypopen.ko as a source of
> timing was not working correctly.
>
> Anyway, the only way we have to lower cpu usage is to act on portaudio
> (that is used uniquely as a source of timing by skype client, eg: its reads
> and writes on portaudio are moving blank samples, just to clocking the
> reads and writes on TCP socket of the real audio packets). Portaudio uses
> realtime kernel timers from userland, and is not optimized at all for using
> many of them concurrently.
> That is the only moving wheel we can modify. We cannot modify the Skype
> client itself (unfortunately :) ).
>
> I hope to have time in future to look again into that.
>
> If someone is in touch with a portaudio core programmer (*core*, not
> application level), let's ask her/him, or let me be in touch with.
>
> -giovanni
>
>
> --Forwarded Message Attachment--
> From: gmaruzz at gmail.com
> To: freeswitch-users at lists.freeswitch.org
> Date: Fri, 22 Aug 2014 16:20:56 +0200
> Subject: Re: [Freeswitch-users] mod_skypopen new documentation is ready !
>
> Just to be clear: making portaudio clocking to be more efficient not only
> will lower portaudio itself to use less cpu, but will lower the cpu usage
> of the skype clients, and probably of freeswitch too, because there will be
> less taxing on the timers at the kernel level, and so all applications will
> have less contention, less blocking, etc.
>
>
> Anyway, the only way we have to lower cpu usage is to act on portaudio
> (that is used uniquely as a source of timing by skype client, eg: its reads
> and writes on portaudio are moving blank samples, just to clocking the
> reads and writes on TCP socket of the real audio packets). Portaudio uses
> realtime kernel timers from userland, and is not optimized at all for using
> many of them concurrently.
> That is the only moving wheel we can modify. We cannot modify the Skype
> client itself (unfortunately :) ).
>
>
>
>
> --Forwarded Message Attachment--
> From: devin.fee at gmail.com
> To: freeswitch-users at lists.freeswitch.org
> Date: Fri, 22 Aug 2014 10:39:34 -0500
> Subject: [Freeswitch-users] configure: error: python2.7 is unusable
>
> When configuring the FreeSWITCH package, I get the following error and
> then the process halts:
>
> ./configure --enable-core-pgsql-support
> --with-python=/usr/local/bin/python2.7
>
>> checking for python... /usr/bin/python
> checking python version... 2.7.5+
> checking for python distutils... yes
> checking location of site-packages... /usr/lib/python2.7/dist-packages
> checking python libdir... /usr/lib
> checking for main in -lpython2.7… no
> configure: error: python2.7 is unusable
>
>
> Looking at the config.log file, this seemed to be most relevant (and it
> was the same in every failure, regardless of platform or version).
>
> ...
> | #define HAVE_LIBSSL 1
> | #define HAVE_OPENSSL 1
> | #define HAVE_TLS 1
> | #define HAVE_OPENSSL_DTLS_SRTP 1
> | #define HAVE_OPENSSL_DTLS 1
> | /* end confdefs.h.  */
> |
> |
> | int
> | main ()
> | {
> | return main ();
> |   ;
> |   return 0;
> | }
> configure:23841: result: no
> configure:23855: error: python2.7 is unusable
>
>
>
> I had this problem across two platforms: Ubuntu as a guest VM on my
> computer and a fresh CentOS EC2 instance, across two versions (git checkout
> of v1.2 and v1.4), and across three versions of Python. Here were my
> efforts:
>
> Ubuntu 14.04
> ------------------
> [x] FS v1.2 - Python 2.7.5 [stock]
> [x] FS v1.4 - Python 2.7.5 [stock]
> [x] FS v1.4 -Python 3.3.2 [installed from source]
>
> CentOS 6.5
> ----------------
> [x] FS v1.4 - Python 2.6.6 [stock]
> [+] FS v1.4 - Python 2.7.6 [installed from source]
> [x] FS v1.4 - Python 3.3.3 [installed from source]
>
> For five out of my six configurations attempts (five permutations listed
> above failed [x], one succeed [√]). Why was pythonX.Y unusable? What
> versions of Python are supported?
>
> I installed Python from source on CentOS, using the instructions posted by
> Digital Ocean, here:
> https://www.digitalocean.com/community/tutorials/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-4
> The only change I made was to add the compilation flag “—enable-shared”
> during configure of the Python which led to a successful installation. That
> however, was almost certainly a different bug.
>
> Thanks,
> Devin
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140822/35532c49/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list