On Mon, Aug 31, 2009 at 3:48 PM, Tihomir Culjaga <[email protected]> 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 > tculj...@nemesis:~/freeswitch-trunk$ > tculj...@nemesis:~/freeswitch-trunk$ > tculj...@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 [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
