Compiling Issues: Opal with Latest SVN Builds 6-19-09
Hello, all. I'm currently playing around with a new install of Freeswitch and wanted to try out mod_opal. Below are the current SVN builds for opal, ptlib, and freeswitch. I end up with the following errors when compiling. making all mod_opal Compiling mod_opal.cpp... Compiling mod_opal.cpp ... In file included from mod_opal.cpp:25: mod_opal.h:151: error: conflicting return type specified for âvirtual OpalLocalConnection* FSEndPoint::CreateConnection(OpalCall&, void*)â /usr/include/opal/opal/localep.h:267: error: overriding âvirtual ptlib_virtual_function_changed_or_removed****** OpalLocalEndPoint::CreateConnection(OpalCall&, void*)â mod_opal.cpp: In constructor âFSConnection::FSConnection(OpalCall&, FSEndPoint&, switch_caller_profile_t*, switch_core_session_t*, switch_channel_t*)â: mod_opal.cpp:564: error: no matching function for call to âOpalLocalConnection::OpalLocalConnection(OpalCall&, FSEndPoint&, NULL)â /usr/include/opal/opal/localep.h:290: note: candidates are: OpalLocalConnection::OpalLocalConnection(OpalCall&, OpalLocalEndPoint&, void*, unsigned int, OpalConnection::StringOptions*, char) /usr/include/opal/opal/localep.h:276: note: OpalLocalConnection::OpalLocalConnection(const OpalLocalConnection&) make[4]: *** [mod_opal.lo] Error 1 make[3]: *** [all] Error 1 make[2]: *** [mod_opal-all] Error 1 make[1]: *** [mod_opal] Error 2 make: *** [mod_opal] Error 2 root@Freeswitch1:~/opal# svn info Path: . URL: https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/trunk Repository Root: https://opalvoip.svn.sourceforge.net/svnroot/opalvoip Repository UUID: 023b2edf-31b2-4de3-b41e-bca80c47788f Revision: 22909 Node Kind: directory Schedule: normal Last Changed Author: rjongbloed Last Changed Rev: 22909 Last Changed Date: 2009-06-16 07:09:41 -0400 (Tue, 16 Jun 2009) root@Freeswitch1:~/opal# cd .. root@Freeswitch1:~# cd ptlib/ root@Freeswitch1:~/ptlib# svn info Path: . URL: https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk Repository Root: https://opalvoip.svn.sourceforge.net/svnroot/opalvoip Repository UUID: 023b2edf-31b2-4de3-b41e-bca80c47788f Revision: 22909 Node Kind: directory Schedule: normal Last Changed Author: csoutheren Last Changed Rev: 22907 Last Changed Date: 2009-06-16 05:49:19 -0400 (Tue, 16 Jun 2009) root@Freeswitch1:~/ptlib# cd /freeswitch/ root@Freeswitch1:/freeswitch# svn info Path: . URL: http://svn.freeswitch.org/svn/freeswitch/trunk Repository Root: http://svn.freeswitch.org/svn Repository UUID: d0543943-73ff-0310-b7d9-9358b9ac24b2 Revision: 13798 Node Kind: directory Schedule: normal Last Changed Author: brian Last Changed Rev: 13798 Last Changed Date: 2009-06-16 19:11:45 -0400 (Tue, 16 Jun 2009) Do I need earlier versions of opal and ptlib? Thanks! Jon
please see MODOPAL-10 on jira. /b On Jun 16, 2009, at 10:05 PM, Jonathan DiVita wrote:
Hello, all. I'm currently playing around with a new install of Freeswitch and wanted to try out mod_opal. Below are the current SVN builds for opal, ptlib, and freeswitch. I end up with the following errors when compiling.
making all mod_opal Compiling mod_opal.cpp... Compiling mod_opal.cpp ... In file included from mod_opal.cpp:25: mod_opal.h:151: error: conflicting return type specified for âvirtual OpalLocalConnection* FSEndPoint::CreateConnection(OpalCall&, void*)â /usr/include/opal/opal/localep.h:267: error: overriding âvirtual ptlib_virtual_function_changed_or_removed****** OpalLocalEndPoint::CreateConnection(OpalCall&, void*)â mod_opal.cpp: In constructor âFSConnection::FSConnection(OpalCall&, FSEndPoint&, switch_caller_profile_t*, switch_core_session_t*, switch_channel_t*)â: mod_opal.cpp:564: error: no matching function for call to âOpalLocalConnection::OpalLocalConnection(OpalCall&, FSEndPoint&, NULL)â /usr/include/opal/opal/localep.h:290: note: candidates are: OpalLocalConnection::OpalLocalConnection(OpalCall&, OpalLocalEndPoint&, void*, unsigned int, OpalConnection::StringOptions*, char) /usr/include/opal/opal/localep.h:276: note: OpalLocalConnection::OpalLocalConnection(const OpalLocalConnection&) make[4]: *** [mod_opal.lo] Error 1 make[3]: *** [all] Error 1 make[2]: *** [mod_opal-all] Error 1 make[1]: *** [mod_opal] Error 2 make: *** [mod_opal] Error 2
participants (2)
-
Brian West
-
Jonathan DiVita