[Asterisk-video] Compiling the MCU

Sergio Garcia Murillo sergio.garcia at fontventa.com
Wed May 18 10:28:52 CDT 2011


Hi Khairul,

I have just moved from version 1.1 of the xmlrpc-c to the latest super 
stable (1.16) you will need to install it.

Best regards
Sergio

El 18/05/2011 16:56, Khairul Nadzmi Mohd Yusof escribió:
> anyone can help me?
>
> Khairul Nadzmi b Mohd Yusof
>
> Analyst, Secure Technology Services (STS)
> Cyber Responsive Services
> CyberSecurity Malaysia
> An Agency Under the Ministry of Science, Technology & Innovation (MOSTI)
>
> General Line : +603 8992 6888
> Direct Line : +603 8992 6967
> General Fax : +603 8945 3205
> Mobile : +601 2249 4416
> Email : nadzmi at cybersecurity.my
>
> Website : http://www.cybersecurity.my
>
>     ------------------------------------------------------------------------
>     *From:* Khairul Nadzmi Mohd Yusof [mailto:nadzmi at cybersecurity.my]
>     *To:* Development discussion of video media support in Asterisk
>     [mailto:asterisk-video at lists.digium.com]
>     *Sent:* Wed, 18 May 2011 08:51:17 +0800
>     *Subject:* Re: [Asterisk-video] Compiling the MCU
>
>     Hi All,
>
>     While compiling i got another error, it seems that it cannot
>     locate xmlrpc.h and also the xmlrpc-c folder which is being
>     declared inside xmlrpcserver.h
>
>     #include<xmlrpc.h>
>     #include<xmlrpc-c/abyss.h>
>     #include<xmlrpc-c/server_abyss.h>
>
>     This is the compilation error
>
>
>
>     In file included from
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:5:
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:3:20: error:
>     xmlrpc.h: No such file or directory
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:4:26: error:
>     xmlrpc_abyss.h: No such file or directory
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:12: error:
>     âTSessionâ has not been declared
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:26: error:
>     âTSessionâ has not been declared
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:27: error:
>     âTSessionâ has not been declared
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:28: error:
>     âTSessionâ has not been declared
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:29: error:
>     âTSessionâ has not been declared
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:30: error:
>     âTSessionâ has not been declared
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:33: error:
>     âTSessionâ has not been declared
>     /usr/src/asterisk/mcu/media/include/xmlrpcserver.h:38: error:
>     âTServerâ does not name a type
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp: In constructor
>     âXmlRpcServer::XmlRpcServer(int)â:
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:18: error:
>     âDateInitâ was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:21: error:
>     âMIMETypeInitâ was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:27: error: âsrvâ
>     was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:27: error:
>     âDEFAULT_DOCSâ was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:27: error:
>     âServerCreateâ was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:33: error:
>     âServerDefaultHandlerâ was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:36: error:
>     âServerInitâ was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp: In member
>     function âint XmlRpcServer::Run()â:
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:67: error: âsrvâ
>     was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:67: error:
>     âServerRunâ was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp: At global scope:
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:98: error: âint
>     XmlRpcServer::RequestHandlerâ is not a static member of âclass
>     XmlRpcServerâ
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:98: error:
>     âTSessionâ was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:98: error:
>     expected primary-expression before âconstâ
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:99: error:
>     expected â,â or â;â before â{â token
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:114: error: âint
>     XmlRpcServer::DispatchRequestâ is not a static member of âclass
>     XmlRpcServerâ
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:114: error:
>     âTSessionâ was not declared in this scope
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:114: error:
>     expected primary-expression before âconstâ
>     /usr/src/asterisk/mcu/media/src/xmlrpcserver.cpp:115: error:
>     expected â,â or â;â before â{â token
>     make[1]: *** [xmlrpcserver.o] Error 1
>     make[1]: Leaving directory `/usr/src/asterisk/mcu/media'
>     make: *** [all] Error 2
>
>
>     Khairul Nadzmi b Mohd Yusof
>
>     Analyst, Secure Technology Services (STS)
>     Cyber Responsive Services
>     CyberSecurity Malaysia
>     An Agency Under the Ministry of Science, Technology & Innovation
>     (MOSTI)
>
>     General Line : +603 8992 6888
>     Direct Line : +603 8992 6967
>     General Fax : +603 8945 3205
>     Mobile : +601 2249 4416
>     Email : nadzmi at cybersecurity.my
>
>     Website : http://www.cybersecurity.my
>
>         ------------------------------------------------------------------------
>         *From:* Sergio Garcia Murillo [mailto:sergio.garcia at fontventa.com]
>         *To:* Development discussion of video media support in
>         Asterisk [mailto:asterisk-video at lists.digium.com]
>         *Sent:* Mon, 16 May 2011 18:00:22 +0800
>         *Subject:* Re: [Asterisk-video] Compiling the MCU
>
>         No, leave the FLASHSTREAMER set to "no"
>
>         BR
>         Sergio
>
>         El 16/05/2011 11:48, nadzmi at cybersecurity.my escribió:
>>
>>         Thank you. Do gnash is required to be installed?
>>         - Via blackberry -
>>
>>         ------------------------------------------------------------------------
>>
>>          ----- Original Message -----
>>         *  From: *Sergio Garcia Murillo [sergio.garcia at fontventa.com]
>>         *  Sent: *05/16/2011 11:44 AM ZE2
>>         *  To: *Development discussion of video media support in
>>         Asterisk <asterisk-video at lists.digium.com>
>>         *  Subject: *Re: [Asterisk-video] Compiling the MCU
>>
>>
>>         Change the
>>
>>         SRCDIR          = /usr/local/src/mcu
>>
>>         In the config.mk in your mcu directory.
>>
>>         BR
>>         sergio
>>
>>         El 16/05/2011 11:41, amit anand escribió:
>>>         Hi
>>>
>>>         i dont remember exactly but you need to modify the makefile
>>>
>>>         On Mon, May 16, 2011 at 14:59, Khairul Nadzmi Mohd Yusof
>>>         <nadzmi at cybersecurity.my> wrote:
>>>
>>>             Hi All,
>>>
>>>             I was trying to compile the MCU, but i got this
>>>             compilation error during make. What did i miss? it seems
>>>             that it cannot locate the mcu.cpp to compile it to be
>>>             mcu.o . but the file is inside the src file. I'm not
>>>             sure what is the requirement for this mcu to be installed
>>>
>>>             mkdir -p bin
>>>             make -C media
>>>             make[1]: Entering directory `/usr/src/asterisk/mcu/media'
>>>             mkdir -p /usr/local/src/mcu/media/build/debug
>>>             mkdir -p /usr/local/src/mcu/bin//debug
>>>             make[1]: *** No rule to make target `mcu.o', needed by
>>>             `mcu'.  Stop.
>>>             make[1]: Leaving directory `/usr/src/asterisk/mcu/media'
>>>             make: *** [all] Error 2
>>>
>>>
>>>             Khairul Nadzmi b Mohd Yusof
>>>
>>>             Analyst, Secure Technology Services (STS)
>>>             Cyber Responsive Services
>>>             CyberSecurity Malaysia
>>>             An Agency Under the Ministry of Science, Technology &
>>>             Innovation (MOSTI)
>>>
>>>             General Line : +603 8992 6888
>>>             Direct Line : +603 8992 6967
>>>             General Fax : +603 8945 3205
>>>             Mobile : +601 2249 4416
>>>             Email : nadzmi at cybersecurity.my
>>>
>>>             Website : http://www.cybersecurity.my
>>>
>>>             ------------------------------------------------------------------------
>>>             Disclaimer:
>>>
>>>             “This email (and any attachment to it) is confidential and intended solely for the use of the individual or entity to whom it is addressed. CyberSecurity Malaysia assumes no liability whatsoever for the content of this email or for the consequences of actions taken based on such content unless it is subsequently confirmed in writing. Unintended recipients are notified that disclosing, copying or distributing of this email, or acting based on its contents, is strictly prohibited; and you are to immediately and permanently delete or destroy this email and notify the sender forthwith.
>>>
>>>             --
>>>             _____________________________________________________________________
>>>             -- Bandwidth and Colocation Provided by
>>>             http://www.api-digital.com --
>>>
>>>             asterisk-video mailing list
>>>             To UNSUBSCRIBE or update options visit:
>>>             http://lists.digium.com/mailman/listinfo/asterisk-video
>>>
>>>
>>>
>>>
>>>         -- 
>>>
>>>         Amit Anand
>>>
>>>
>>>           +1 774 264-8024
>>>
>>>         +91 9013223047
>>>
>>>
>>>
>>>         --
>>>         _____________________________________________________________________
>>>         -- Bandwidth and Colocation Provided byhttp://www.api-digital.com  --
>>>
>>>         asterisk-video mailing list
>>>         To UNSUBSCRIBE or update options visit:
>>>             http://lists.digium.com/mailman/listinfo/asterisk-video
>>
>>
>>
>>         ------------------------------------------------------------------------
>>         Disclaimer:
>>
>>         “This email (and any attachment to it) is confidential and intended solely for the use of the individual or entity to whom it is addressed. CyberSecurity Malaysia assumes no liability whatsoever for the content of this email or for the consequences of actions taken based on such content unless it is subsequently confirmed in writing. Unintended recipients are notified that disclosing, copying or distributing of this email, or acting based on its contents, is strictly prohibited; and you are to immediately and permanently delete or destroy this email and notify the sender forthwith.
>>
>>
>>         --
>>         _____________________________________________________________________
>>         -- Bandwidth and Colocation Provided byhttp://www.api-digital.com  --
>>
>>         asterisk-video mailing list
>>         To UNSUBSCRIBE or update options visit:
>>             http://lists.digium.com/mailman/listinfo/asterisk-video
>>
>>
>>         --
>>         _____________________________________________________________________
>>         -- Bandwidth and Colocation Provided byhttp://www.api-digital.com  --
>>
>>         asterisk-video mailing list
>>         To UNSUBSCRIBE or update options visit:
>>             http://lists.digium.com/mailman/listinfo/asterisk-video
>
>
>
>     ------------------------------------------------------------------------
>     Disclaimer:
>
>     “This email (and any attachment to it) is confidential and intended solely for the use of the individual or entity to whom it is addressed. CyberSecurity Malaysia assumes no liability whatsoever for the content of this email or for the consequences of actions taken based on such content unless it is subsequently confirmed in writing. Unintended recipients are notified that disclosing, copying or distributing of this email, or acting based on its contents, is strictly prohibited; and you are to immediately and permanently delete or destroy this email and notify the sender forthwith.
>
>
>
> ------------------------------------------------------------------------
> Disclaimer:
>
> “This email (and any attachment to it) is confidential and intended solely for the use of the individual or entity to whom it is addressed. CyberSecurity Malaysia assumes no liability whatsoever for the content of this email or for the consequences of actions taken based on such content unless it is subsequently confirmed in writing. Unintended recipients are notified that disclosing, copying or distributing of this email, or acting based on its contents, is strictly prohibited; and you are to immediately and permanently delete or destroy this email and notify the sender forthwith.
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-video mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-video

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-video/attachments/20110518/26b6fe8f/attachment-0001.htm>


More information about the asterisk-video mailing list