<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Run:</div><div>find / -name local.h</div><div><br></div><div>It's failing to include opal/local.h. All the other errors are because its missing the definitions in that file.</div><div><br></div><div>Normally I would say to instal the -devel package, but since you built from svn that doesn't apply. Perhaps it's not installed or installed to the wrong place. The find command will tell us where that file is.</div><div><br>Steve on iPhone</div><div><br>On 22 Jan 2013, at 16:07, Anton Rostotskiy &lt;<a href="mailto:rostotskiy.a@gmail.com">rostotskiy.a@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>Also tried to install mod_opal and also failed.<div>CentOS 6.3 x86_64<br><div>ptlib and opal are &nbsp;the last version obtained from svn <a href="http://wiki.freeswitch.org/wiki/Mod_opal">as it is said in wiki</a>.</div><div>but just a bunch of errors after make mod_opal&nbsp;<a href="http://pastebin.com/HHUPLCLV">http://pastebin.com/HHUPLCLV</a><br>
<div><br><div class="gmail_quote">2013/1/18 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto"><div>The latest version of opal in Debian (even in Sid) isn't new enough for mod_opal. It needed various features added that are only only available in the svn version.</div><div><br></div><div>The wiki page states you have to install ptlib and opal from svn - this is why.</div>
<div><span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap"><a href="http://wiki.freeswitch.org/wiki/Mod_opal" target="_blank">http://wiki.freeswitch.org/wiki/Mod_opal</a></span><br>
<br>Of course that can then cause conflicts unless you package it yourself or install a dummy package, or problems with other libraries/apps that are built against the libopal that's already packaged.</div><div><br></div>
<div>Ptlib and h323plus/opal are also notorious for having to get matching versions. If you don't pair exactly the right version of ptlib with the specific version of h323plus/opal you can get instability problems. So the official Debian ptlib package probably wouldn't be good with opal from svn...</div>
<div><br></div><div>As for mod_h323, it does compile and work, at least on Wheezy and possibly Squeeze too. I've never had any luck getting mod_opal working but have got mod_h323 working. I don't actively use it though - all my traffic is currently SIP.</div>
<div><br></div><div>Another option is to run Yate as a SIP-&gt;H323 proxy. It only handles the signalling, media still goes directly caller-&gt;FS. It worked quite well, although it would occasionally crash - but at least that only dropped the H323 calls and didn't take FS down with it, and Yate automatically restarted. That was on Lenny so a long time ago...</div>
<div><br>Steve on iPhone</div><div><div class="h5"><div><br></div><div><br></div><div><br>On 17 Jan 2013, at 20:54, "Gilbert Amar" &lt;<a href="mailto:gamar@center.com" target="_blank">gamar@center.com</a>&gt; wrote:<br>
<br></div><blockquote type="cite"><div><span>Hi,</span><br><span></span><br><span>I am trying to build mod_opal in FS v1.2stable, using ptlib 2.10.7 and opal</span><br><span>3.10.7 on a debian </span><br><span>Ptlib and opal get build with no error, but when trying mod_opal I get </span><br>
<span></span><br><span>Compiling</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp...</span><br><span>quiet_libtool: compile: &nbsp;g++ -g -ggdb</span><br><span>-I/usr/local/src/freeswitch/libs/curl/include</span><br>
<span>-I/usr/local/src/freeswitch/src/include</span><br><span>-I/usr/local/src/freeswitch/src/include</span><br><span>-I/usr/local/src/freeswitch/libs/libteletone/src</span><br><span>-I/usr/local/src/freeswitch/libs/stfu -fPIC -fvisibility=hidden</span><br>
<span>-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DP_64BIT</span><br><span>-DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions</span><br><span>-I/usr/local/include -I/usr/local/include/opal -I/usr/include/SDL</span><br>
<span>-DHAVE_CONFIG_H -c</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp &nbsp;-fPIC</span><br><span>-DPIC -o .libs/mod_opal.o</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member</span><br>
<span>function 'switch_status_t FSConnection::read_frame(const OpalMediaType&amp;,</span><br><span>switch_frame_t**, switch_io_flag_t)':</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1208:</span><br>
<span>error: 'class OpalCall' has no member named 'IsSwitchingT38'</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member</span><br><span>function 'switch_status_t FSConnection::write_frame(const OpalMediaType&amp;,</span><br>
<span>const switch_frame_t*, switch_io_flag_t)':</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1225:</span><br><span>error: 'class OpalCall' has no member named 'IsSwitchingT38'</span><br>
<span>make[3]: *** [mod_opal.lo] Error 1</span><br><span>make[2]: *** [install] Error 1</span><br><span>make[1]: *** [mod_opal-install] Error 1</span><br><span>make: *** [mod_opal-install] Error 2</span><br><span></span><br>
<span></span><br><span>Has anyone succeded in building mod_opal ?</span><br><span></span><br><span>Should I go with mod_h323 instead ?</span><br><span></span><br><span>Thanks for your help</span><br><span></span><br><span></span><br>
<span></span><br><span></span><br><span></span><br><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></span><br>
<span><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></span><br>
<span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a></span><br>
<span><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br>
<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>
<span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br></div></blockquote></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>С уважением, Антон Ростоцкий
</div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote></body></html>