<div dir="ltr"><span name="Kim Culhan" class="gD" style="font-size:12.8000001907349px;font-weight:normal"><font face="monospace, monospace">Kim Culhan, <br><br>if you want, send me a e-mail, and i reply with a tar.gz of libctb.16, with the patchs to compile in FreeBSD</font></span><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-17 19:21 GMT-04:00 Luiz Fernando Softov <span dir="ltr"><<a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I download LIBCTB, and recompile it, with some patches to compile in FreeBSD<br><br>I'm using version 1.5.15.<br><br>But i try with 1.4.19 1.4.20 and i get the same error when try to run gsmopen module<div><br><div style="font-size:12.8000001907349px"><span class=""><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">-</span><br></span><span class="">2015-08-17 17:12:46.144556 [INFO] mod_enum.c:880 ENUM Reloaded</span></div><span class=""><div style="font-size:12.8000001907349px">Error while reading shared library symbols:</div><div style="font-size:12.8000001907349px">Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/local/lib/gcc48/libstdc++.so.6]</div><div style="font-size:12.8000001907349px">2015-08-17 17:12:46.306630 [INFO] switch_time.c:1411 Timezone reloaded 1781 definitions</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Program received signal SIGSEGV, Segmentation fault.</div><div style="font-size:12.8000001907349px">[Switching to Thread 80b83b400 (LWP 100313/freeswitch)]</div><div style="font-size:12.8000001907349px">0x000000080fa74e14 in mod_gsmopen_load (module_interface=0x7ffffe90e9a8, pool=0x80b0ae028) at mod_gsmopen.cpp:1892</div><div style="font-size:12.8000001907349px">1892 running = 1;</div><div style="font-size:12.8000001907349px">Current language: auto; currently c++</div></span><div style="font-size:12.8000001907349px">(gdb)<br><span class=""><br><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">-</span><br></span></div><br></div><div>I try to install /usr/ports/lang/gcc and/or /usr/ports/lang/gcc47, and make links (because FreeBSD 10.1 don't have g++ ang gcc by default)</div><div><br>obs. /usr/ports/lang/gcc install gcc48<br><br></div><div><div>ln -s /usr/local/bin/gcc48 /usr/local/bin/gcc</div><div>ln -s /usr/local/bin/g++48 /usr/local/bin/g++<br>or<br><div>ln -s /usr/local/bin/gcc47 /usr/local/bin/gcc</div><div>ln -s /usr/local/bin/g++47 /usr/local/bin/g++</div></div></div><div><br></div><div>Then i make</div><div><br></div><div>./configure --prefix=/brb_main/freeswitch --enable-core-pgsql-support<br></div><div><br></div><div>gmake<br></div><div><br></div><div>gmake install</div><div><br></div><div>Then i get these errors</div><div><br></div><div><div>freeswitch@devostest> load mod_gsmopen</div><div>2015-08-17 18:55:40.002449 [INFO] mod_enum.c:880 ENUM Reloaded</div><div>2015-08-17 18:55:40.002449 [CRIT] switch_loadable_module.c:1447 Error Loading module /brb_main/freeswitch/mod/mod_gsmopen.so</div><div>**/brb_main/freeswitch/mod/mod_gsmopen.so: Undefined symbol "_ZN6gsmlib10SMSMessage6decodeESsbPNS_5GsmAtE"**</div></div><div><br></div><div><br></div><div><span class=""><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">-<br></span><br></span>I think its related with some depencencies<br><br>i check libs<br><br>> # ldd -v /brb_main/freeswitch/mod/mod_gsmopen.so<br><br><div>/brb_main/freeswitch/mod/mod_gsmopen.so:</div><div> <a href="http://libctb-0.16.so" target="_blank">libctb-0.16.so</a> => /usr/local/lib/<a href="http://libctb-0.16.so" target="_blank">libctb-0.16.so</a> (0x801b04000)</div><div> libgsmme.so.1 => /usr/local/lib/libgsmme.so.1 (0x801d0e000)</div><div> libfreeswitch.so.1 => /brb_main/freeswitch/lib/libfreeswitch.so.1 (0x801f87000)</div><div> libpq.so.5 => /usr/local/lib/libpq.so.5 (0x802346000)</div><div> libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x802574000)</div><div> libthr.so.3 => /lib/libthr.so.3 (0x80286e000)</div><div> libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 (0x802a93000)</div><div> libcurl.so.4 => /usr/local/lib/libcurl.so.4 (0x802d97000)</div><div> libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x803000000)</div><div> libspeex.so.1 => /usr/local/lib/libspeex.so.1 (0x803275000)</div><div> libspeexdsp.so.1 => /usr/local/lib/libspeexdsp.so.1 (0x803490000)</div><div> libedit.so.0 => /usr/local/lib/libedit.so.0 (0x8036a3000)</div><div> libncurses.so.8 => /lib/libncurses.so.8 (0x8038dc000)</div><div> libcrypt.so.5 => /lib/libcrypt.so.5 (0x803b29000)</div><div> librt.so.1 => /usr/lib/librt.so.1 (0x803d49000)</div><div> liblzma.so.5 => /usr/lib/liblzma.so.5 (0x803f4f000)</div><div> libjpeg.so.8 => /usr/local/lib/libjpeg.so.8 (0x804174000)</div><div> libz.so.6 => /lib/libz.so.6 (0x8043af000)</div><div> libssl.so.7 => /usr/lib/libssl.so.7 (0x8045c5000)</div><div> libcrypto.so.7 => /lib/libcrypto.so.7 (0x804830000)</div><div> libstdc++.so.6 => /usr/local/lib/gcc48/libstdc++.so.6 (0x804c24000)</div><div> libm.so.5 => /lib/libm.so.5 (0x804f2d000)</div><div> libc.so.7 => /lib/libc.so.7 (0x80081f000)</div><div> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x805155000)</div><div> libintl.so.8 => /usr/local/lib/libintl.so.8 (0x805363000)</div><div> libheimntlm.so.11 => /usr/lib/libheimntlm.so.11 (0x80556e000)</div><div> libhx509.so.11 => /usr/lib/libhx509.so.11 (0x805774000)</div><div> libcom_err.so.5 => /usr/lib/libcom_err.so.5 (0x8059be000)</div><div> libasn1.so.11 => /usr/lib/libasn1.so.11 (0x805bc0000)</div><div> libwind.so.11 => /usr/lib/libwind.so.11 (0x805e5d000)</div><div> libheimbase.so.11 => /usr/lib/libheimbase.so.11 (0x806085000)</div><div> libroken.so.11 => /usr/lib/libroken.so.11 (0x806289000)</div><div> libkrb5.so.11 => /usr/lib/libkrb5.so.11 (0x80649b000)</div><div> libgssapi.so.10 => /usr/lib/libgssapi.so.10 (0x806713000)</div><div> libgssapi_krb5.so.10 => /usr/lib/libgssapi_krb5.so.10 (0x80691c000)</div><div> libheimipcc.so.11 => /usr/lib/private/libheimipcc.so.11 (0x806b3a000)</div><br><br></div><div>I already tried to recompile all of these library, without success<br><br>Anyone know something about this?</div><span class=""><div><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">- - - </span><span style="font-size:12.8000001907349px">-</span><br></div><div><br></div></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-08-17 18:55 GMT-04:00 Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">building that module requires some dependencies be installed, check the wiki for details<div><div><span></span><br><br>On Monday, August 17, 2015, Kim Culhan <<a href="mailto:w8hdkim@gmail.com" target="_blank">w8hdkim@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>On Mon, August 17, 2015 5:16 pm, Luiz Fernando Softov wrote:</div><div>> Hi, i am try to install FS in FreeBSD 10.1, but when i try to load</div><div>> mod_gsmopen, its crash</div><div><br></div><div>What FreeSWITCH version are you running?</div><div><br></div><div>I attempted to build 1.4.20 with mod_gsmopen but the module fails to build:</div><div><br></div><div><div>gmake[5]: Entering directory '/usr/local/src/freeswitch/freeswitch-1.4.20/src/mod/endpoints/mod_gsmopen'</div><div> CXX mod_gsmopen_la-mod_gsmopen.lo</div><div>In file included from mod_gsmopen.cpp:34:</div><div>./gsmopen.h:103:10: fatal error: 'ctb-0.16/ctb.h' file not found</div><div>#include "ctb-0.16/ctb.h"</div></div><div><br></div><div>The path appears to be incorrect for ctb.h, I did not try to pursue that further.</div><div><br></div><div>thanks</div><div>-kim</div><div><br></div></div>
</blockquote>
</div></div><br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><span class=""><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Luiz Fernando Softov<br><a href="http://www.softov.com.br/" target="_blank">http://www.softov.com.br</a><br><a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a><br></div></div>
</span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Luiz Fernando Softov<br><a href="http://www.softov.com.br/" target="_blank">http://www.softov.com.br</a><br><a href="mailto:fernando@softov.com.br" target="_blank">fernando@softov.com.br</a><br></div></div>
</div>