hello,<br><br>i'm trying to build mod_opal and getting this error:<br><br><br><br>making all mod_logfile<br><br>making all mod_loopback<br><br>making all mod_native_file<br><br>making all mod_opal<br>Compiling mod_opal.cpp...<br>
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<br>
In file included from mod_opal.cpp:25:<br>mod_opal.h:151: error: conflicting return type specified for ‘virtual OpalLocalConnection* FSEndPoint::CreateConnection(OpalCall&, void*)’<br>/usr/include/opal/opal/localep.h:267: error: overriding ‘virtual ptlib_virtual_function_changed_or_removed****** OpalLocalEndPoint::CreateConnection(OpalCall&, void*)’<br>
mod_opal.cpp: In constructor ‘FSConnection::FSConnection(OpalCall&, FSEndPoint&, switch_caller_profile_t*, switch_core_session_t*, switch_channel_t*)’:<br>mod_opal.cpp:564: error: no matching function for call to ‘OpalLocalConnection::OpalLocalConnection(OpalCall&, FSEndPoint&, NULL)’<br>
/usr/include/opal/opal/localep.h:290: note: candidates are: OpalLocalConnection::OpalLocalConnection(OpalCall&, OpalLocalEndPoint&, void*, unsigned int, OpalConnection::StringOptions*, char)<br>/usr/include/opal/opal/localep.h:276: note: OpalLocalConnection::OpalLocalConnection(const OpalLocalConnection&)<br>
/usr/include/opal/opal/patch.h: In member function ‘switch_status_t FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)’:<br>/usr/include/opal/opal/patch.h:272: error: ‘virtual ptlib_virtual_function_changed_or_removed****** OpalMediaPatch::OnPatchStart()’ is private<br>
mod_opal.cpp:1277: error: within this context<br>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)<br>
mod_opal.cpp:1277: warning: ignoring return value of function declared with attribute warn_unused_result<br>/usr/include/opal/opal/patch.h: In member function ‘switch_status_t FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)’:<br>
/usr/include/opal/opal/patch.h:272: error: ‘virtual ptlib_virtual_function_changed_or_removed****** OpalMediaPatch::OnPatchStart()’ is private<br>mod_opal.cpp:1399: error: within this context<br>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)<br>
mod_opal.cpp:1399: warning: ignoring return value of function declared with attribute warn_unused_result<br>make[5]: *** [mod_opal.lo] Error 1<br>make[4]: *** [all] Error 1<br>make[3]: *** [mod_opal-all] Error 1<br>make[2]: *** [all-recursive] Error 1<br>
Making all in build<br> +-------- FreeSWITCH Build Complete -----------+<br> + FreeSWITCH has been successfully built. +<br> + Install by running: +<br> + +<br>
+ make install +<br> +----------------------------------------------+<br>make[1]: *** [all-recursive] Error 1<br>make: *** [all] Error 2<br>tculjaga@nemesis:~/freeswitch-trunk$ <br>tculjaga@nemesis:~/freeswitch-trunk$ <br>
tculjaga@nemesis:~/freeswitch-trunk$ <br><br><br><br>what ptlib/opal/fs version did you use to build it?<br><br><br>I tried with trunk (ptlib, opal, fs)... and as you can see :)<br><br><br><br>T.<br><br>