[Freeswitch-users] mod_opal
Tihomir Culjaga
tculjaga at gmail.com
Mon Aug 31 23:29:24 PDT 2009
hi, It went well
obviously FS needs v3_6 opal :)
thx.
On Tue, Sep 1, 2009 at 8:09 AM, Tihomir Culjaga <tculjaga at gmail.com> wrote:
> hhmmm :))
>
> is there any doc following up mod_opal ?
> I really don't want to waste your time :)
>
> T.
>
>
> On Tue, Sep 1, 2009 at 1:00 AM, Michael Collins <msc at freeswitch.org>wrote:
>
>>
>>
>> On Mon, Aug 31, 2009 at 3:48 PM, Tihomir Culjaga <tculjaga at gmail.com>wrote:
>>
>>> hello,
>>>
>>> i'm trying to build mod_opal and getting this error:
>>>
>>>
>>>
>>> making all mod_logfile
>>>
>>> making all mod_loopback
>>>
>>> making all mod_native_file
>>>
>>> making all mod_opal
>>> Compiling mod_opal.cpp...
>>> quiet_libtool: compile: g++ -g -ggdb -I.
>>> -I/home/tculjaga/freeswitch-trunk/src/include
>>> -I/home/tculjaga/freeswitch-trunk/libs/libteletone/src -fPIC
>>> -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2
>>> -D_GNU_SOURCE -DPTRACING=1 -D_REENTRANT -fno-exceptions -I/usr/include/opal
>>> -DHAVE_CONFIG_H -c mod_opal.cpp -fPIC -DPIC -o .libs/mod_opal.o
>>> 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&)
>>> /usr/include/opal/opal/patch.h: In member function ‘switch_status_t
>>> FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)’:
>>> /usr/include/opal/opal/patch.h:272: error: ‘virtual
>>> ptlib_virtual_function_changed_or_removed******
>>> OpalMediaPatch::OnPatchStart()’ is private
>>> mod_opal.cpp:1277: error: within this context
>>> mod_opal.cpp:1277: warning: ‘virtual
>>> ptlib_virtual_function_changed_or_removed******
>>> OpalMediaPatch::OnPatchStart()’ is deprecated (declared at
>>> /usr/include/opal/opal/patch.h:272)
>>> mod_opal.cpp:1277: warning: ignoring return value of function declared
>>> with attribute warn_unused_result
>>> /usr/include/opal/opal/patch.h: In member function ‘switch_status_t
>>> FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)’:
>>> /usr/include/opal/opal/patch.h:272: error: ‘virtual
>>> ptlib_virtual_function_changed_or_removed******
>>> OpalMediaPatch::OnPatchStart()’ is private
>>> mod_opal.cpp:1399: error: within this context
>>> mod_opal.cpp:1399: warning: ‘virtual
>>> ptlib_virtual_function_changed_or_removed******
>>> OpalMediaPatch::OnPatchStart()’ is deprecated (declared at
>>> /usr/include/opal/opal/patch.h:272)
>>> mod_opal.cpp:1399: warning: ignoring return value of function declared
>>> with attribute warn_unused_result
>>> make[5]: *** [mod_opal.lo] Error 1
>>> make[4]: *** [all] Error 1
>>> make[3]: *** [mod_opal-all] Error 1
>>> make[2]: *** [all-recursive] Error 1
>>> Making all in build
>>> +-------- FreeSWITCH Build Complete -----------+
>>> + FreeSWITCH has been successfully built. +
>>> + Install by running: +
>>> + +
>>> + make install +
>>> +----------------------------------------------+
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>> tculjaga at nemesis:~/freeswitch-trunk$
>>> tculjaga at nemesis:~/freeswitch-trunk$
>>> tculjaga at nemesis:~/freeswitch-trunk$
>>>
>>>
>>>
>>> what ptlib/opal/fs version did you use to build it?
>>>
>>>
>>> I tried with trunk (ptlib, opal, fs)... and as you can see :)
>>>
>>
>> Did you run the buildopal.sh script in src/build ?
>> -MC
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090901/6aedad69/attachment-0002.html
More information about the FreeSWITCH-users
mailing list