<div dir="ltr"><div>Thanks for your help.</div><div><br></div>It&#39;s a fresh install of the 1.2 stable build on a clean system. I have tried removing the &quot;/usr/local/src/freeswitch&quot; directory and re-downloading but I get the same error when trying to run make</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 5, 2013 at 7:06 PM,  <span dir="ltr">&lt;<a href="mailto:freeswitch-users-request@lists.freeswitch.org" target="_blank">freeswitch-users-request@lists.freeswitch.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send FreeSWITCH-users mailing list submissions to<br>
        <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of FreeSWITCH-users digest...&quot;<br>
<br>Today&#39;s Topics:<br>
<br>
   1. Re: Issue compiling on CentOS 6.5 (Jeff Leung)<br>
   2. Re: Issue compiling on CentOS 6.5 (Ken Rice)<br>
<br><br>---------- Forwarded message ----------<br>From: &quot;Jeff Leung&quot; &lt;<a href="mailto:jleung@v10networks.ca">jleung@v10networks.ca</a>&gt;<br>To: &quot;FreeSWITCH Users Help&quot; &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Cc: <br>Date: Thu, 5 Dec 2013 10:51:35 -0800<br>Subject: Re: [Freeswitch-users] Issue compiling on CentOS 6.5<br><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Have you tried emptying out the directory where FreeSWITCH has been installed at? In EL6 systems that’s the case if you want it to successfully compile.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Gary Foreman<br>
<b>Sent:</b> Thursday, December 5, 2013 10:49 AM<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b> [Freeswitch-users] Issue compiling on CentOS 6.5<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi all,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I&#39;m having an issue compiling Freeswitch on CentOS 6.5. When running make I get an &quot;undefined reference to &#39;span_free&#39; error.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I&#39;m thinking I&#39;ll reinstall the OS with CentOS 6.3 as I know for sure that works. Of course the error  could be unrelated to the OS version but the error means very little to me! <u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Any help would be much appreciated, console output is...<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><div>
<p class="MsoNormal">make &quot;OUR_MODULES=$(if test -z &quot;&quot; ; then tmp_mods=&quot;$(grep -v &quot;#&quot; /usr/local/src/freeswitch/modules.conf | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; else tmp_mods=&quot;&quot; ; fi ; mods=&quot;$(for i in $tmp_mods ; do echo $i-all ; done )&quot;; echo $mods )&quot; &quot;OUR_CLEAN_MODULES=$(if test -z &quot;&quot; ; then tmp_mods=&quot;$(grep -v &quot;#&quot; /usr/local/src/freeswitch/modules.conf | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; else tmp_mods=&quot;&quot; ; fi ; mods=&quot;$(for i in $tmp_mods ; do echo $i-clean ; done )&quot;; echo $mods )&quot; &quot;OUR_INSTALL_MODULES=$(if test -z &quot;&quot; ; then tmp_mods=&quot;$(grep -v &quot;#&quot; /usr/local/src/freeswitch/modules.conf | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; else tmp_mods=&quot;&quot; ; fi ; mods=&quot;$(for i in $tmp_mods ; do echo $i-install ; done)&quot;; echo $mods )&quot; &quot;OUR_UNINSTALL_MODULES=$(if test -z &quot;&quot; ; then tmp_mods=&quot;$(grep -v &quot;#&quot; /usr/local/src/freeswitch/modules.conf | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; else tmp_mods=&quot;&quot; ; fi ; mods=&quot;$(for i in $tmp_mods ; do echo $i-uninstall ; done)&quot;; echo $mods )&quot; &quot;OUR_DISABLED_MODULES=$(tmp_mods=&quot;$(grep &quot;#&quot; /usr/local/src/freeswitch/modules.conf | grep -v &quot;##&quot; | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; mods=&quot;$(for i in $tmp_mods ; do echo $i-all ; done )&quot;; echo $mods )&quot; &quot;OUR_DISABLED_CLEAN_MODULES=$(tmp_mods=&quot;$(grep &quot;#&quot; /usr/local/src/freeswitch/modules.conf | grep -v &quot;##&quot; | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;;  mods=&quot;$(for i in $tmp_mods ; do echo $i-clean ; done )&quot;; echo $mods )&quot; &quot;OUR_DISABLED_INSTALL_MODULES=$(tmp_mods=&quot;$(grep &quot;#&quot; /usr/local/src/freeswitch/modules.conf | grep -v &quot;##&quot; | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; mods=&quot;$(for i in $tmp_mods ; do echo $i-install ; done)&quot;; echo $mods )&quot; &quot;OUR_DISABLED_UNINSTALL_MODULES=$(tmp_mods=&quot;$(grep &quot;#&quot; /usr/local/src/freeswitch/modules.conf | grep -v &quot;##&quot; | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; mods=&quot;$(for i in $tmp_mods ; do echo $i-uninstall ; done)&quot;; echo $mods )&quot; `test -n &quot;&quot; || echo -s` all-recursive<u></u><u></u></p>
</div><div><p class="MsoNormal">quiet_libtool: link: gcc -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -I/usr/local/src/freeswitch/libs/stfu -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/local/src/freeswitch/libs/apr/include -I/usr/local/src/freeswitch/libs/apr-util/include -I/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib -I/usr/local/src/freeswitch/libs/libtpl-1.5/src -I/usr/local/src/freeswitch/libs/stfu -I/usr/local/src/freeswitch/libs/sqlite -I/usr/local/src/freeswitch/libs/pcre -I/usr/local/src/freeswitch/libs/speex/include -Ilibs/speex/include -I/usr/local/src/freeswitch/libs/srtp/include -I/usr/local/src/freeswitch/libs/srtp/crypto/include -Ilibs/srtp/crypto/include -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP -DSWITCH_HAVE_ODBC -I/usr/include -I/usr/local/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -g -O2 -o .libs/freeswitch freeswitch-switch.o -Wl,-lodbc  -lm -L/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib ./.libs/libfreeswitch.so /usr/local/src/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/local/src/freeswitch/libs/apr/.libs/libapr-1.a -lz libs/apr/.libs/libapr-1.a -lrt -ldl -lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lssl -lcrypto -lncurses -ljpeg -lodbc -pthread -Wl,-rpath -Wl,/usr/local/freeswitch/lib<u></u><u></u></p>
</div><div><p class="MsoNormal">./.libs/libfreeswitch.so: undefined reference to `span_free&#39;<u></u><u></u></p></div><div><p class="MsoNormal">./.libs/libfreeswitch.so: undefined reference to `span_alloc&#39;<u></u><u></u></p>
</div><div><p class="MsoNormal">collect2: ld returned 1 exit status<u></u><u></u></p></div><div><p class="MsoNormal">make[1]: *** [freeswitch] Error 1<u></u><u></u></p></div><div><p class="MsoNormal">make: *** [all] Error 2<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks<u></u><u></u></p></div></div></div></div></div><br><br>---------- Forwarded message ----------<br>From: Ken Rice &lt;<a href="mailto:krice@freeswitch.org">krice@freeswitch.org</a>&gt;<br>
To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>Cc: <br>Date: Thu, 05 Dec 2013 13:06:04 -0600<br>Subject: Re: [Freeswitch-users] Issue compiling on CentOS 6.5<br>




<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">If this is a update build from where you have already built it you might need to make spandsp-reconf<br>
<br>
Also is this master or 1.2.stable branch or what?<br>
<br>
<br>
On 12/5/13 12:48 PM, &quot;Gary Foreman&quot; &lt;<a href="http://gaz.foreman@gmail.com" target="_blank">gaz.foreman@gmail.com</a>&gt; wrote:<br>
<br>
</span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">Hi all,<br>
<br>
I&#39;m having an issue compiling Freeswitch on CentOS 6.5. When running make I get an &quot;undefined reference to &#39;span_free&#39; error.<br>
<br>
I&#39;m thinking I&#39;ll reinstall the OS with CentOS 6.3 as I know for sure that works. Of course the error  could be unrelated to the OS version but the error means very little to me! <br>
<br>
Any help would be much appreciated, console output is...<br>
<br>
make &quot;OUR_MODULES=$(if test -z &quot;&quot; ; then tmp_mods=&quot;$(grep -v &quot;#&quot; /usr/local/src/freeswitch/modules.conf | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; else tmp_mods=&quot;&quot; ; fi ; mods=&quot;$(for i in $tmp_mods ; do echo $i-all ; done )&quot;; echo $mods )&quot; &quot;OUR_CLEAN_MODULES=$(if test -z &quot;&quot; ; then tmp_mods=&quot;$(grep -v &quot;#&quot; /usr/local/src/freeswitch/modules.conf | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; else tmp_mods=&quot;&quot; ; fi ; mods=&quot;$(for i in $tmp_mods ; do echo $i-clean ; done )&quot;; echo $mods )&quot; &quot;OUR_INSTALL_MODULES=$(if test -z &quot;&quot; ; then tmp_mods=&quot;$(grep -v &quot;#&quot; /usr/local/src/freeswitch/modules.conf | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; else tmp_mods=&quot;&quot; ; fi ; mods=&quot;$(for i in $tmp_mods ; do echo $i-install ; done)&quot;; echo $mods )&quot; &quot;OUR_UNINSTALL_MODULES=$(if test -z &quot;&quot; ; then tmp_mods=&quot;$(grep -v &quot;#&quot; /usr/local/src/freeswitch/modules.conf | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; else tmp_mods=&quot;&quot; ; fi ; mods=&quot;$(for i in $tmp_mods ; do echo $i-uninstall ; done)&quot;; echo $mods )&quot; &quot;OUR_DISABLED_MODULES=$(tmp_mods=&quot;$(grep &quot;#&quot; /usr/local/src/freeswitch/modules.conf | grep -v &quot;##&quot; | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; mods=&quot;$(for i in $tmp_mods ; do echo $i-all ; done )&quot;; echo $mods )&quot; &quot;OUR_DISABLED_CLEAN_MODULES=$(tmp_mods=&quot;$(grep &quot;#&quot; /usr/local/src/freeswitch/modules.conf | grep -v &quot;##&quot; | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;;  mods=&quot;$(for i in $tmp_mods ; do echo $i-clean ; done )&quot;; echo $mods )&quot; &quot;OUR_DISABLED_INSTALL_MODULES=$(tmp_mods=&quot;$(grep &quot;#&quot; /usr/local/src/freeswitch/modules.conf | grep -v &quot;##&quot; | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; mods=&quot;$(for i in $tmp_mods ; do echo $i-install ; done)&quot;; echo $mods )&quot; &quot;OUR_DISABLED_UNINSTALL_MODULES=$(tmp_mods=&quot;$(grep &quot;#&quot; /usr/local/src/freeswitch/modules.conf | grep -v &quot;##&quot; | sed -e &quot;s|^.*/||&quot; | sort | uniq )&quot;; mods=&quot;$(for i in $tmp_mods ; do echo $i-uninstall ; done)&quot;; echo $mods )&quot; `test -n &quot;&quot; || echo -s` all-recursive<br>

quiet_libtool: link: gcc -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -I/usr/local/src/freeswitch/libs/stfu -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g -O2 -pthread -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/local/src/freeswitch/libs/apr/include -I/usr/local/src/freeswitch/libs/apr-util/include -I/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib -I/usr/local/src/freeswitch/libs/libtpl-1.5/src -I/usr/local/src/freeswitch/libs/stfu -I/usr/local/src/freeswitch/libs/sqlite -I/usr/local/src/freeswitch/libs/pcre -I/usr/local/src/freeswitch/libs/speex/include -Ilibs/speex/include -I/usr/local/src/freeswitch/libs/srtp/include -I/usr/local/src/freeswitch/libs/srtp/crypto/include -Ilibs/srtp/crypto/include -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP -DSWITCH_HAVE_ODBC -I/usr/include -I/usr/local/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT -Ilibs/libedit/src -DSWITCH_HAVE_LIBEDIT -g -O2 -o .libs/freeswitch freeswitch-switch.o -Wl,-lodbc  -lm -L/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib ./.libs/libfreeswitch.so /usr/local/src/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a /usr/local/src/freeswitch/libs/apr/.libs/libapr-1.a -lz libs/apr/.libs/libapr-1.a -lrt -ldl -lcrypt -lpthread libs/libedit/src/.libs/libedit.a -lssl -lcrypto -lncurses -ljpeg -lodbc -pthread -Wl,-rpath -Wl,/usr/local/freeswitch/lib<br>

./.libs/libfreeswitch.so: undefined reference to `span_free&#39;<br>
./.libs/libfreeswitch.so: undefined reference to `span_alloc&#39;<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [freeswitch] Error 1<br>
make: *** [all] Error 2<br>
<br>
Thanks<br>
<br>
<hr align="CENTER" size="3" width="95%"></span></font><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="http://consulting@freeswitch.org" target="_blank">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="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</span></font></font></blockquote><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font face="Monaco, Courier New"><span style="font-size:11pt">-- <br>
Ken<br>
<a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
G+ ClueCon :    <a href="http://fs0.us/cluecon-gplus" target="_blank">http://fs0.us/cluecon-gplus</a><br>
FB ClueCon :    <a href="http://fs0.us/cluecon-fb" target="_blank">http://fs0.us/cluecon-fb</a><br>
G+ FreeSwitch : <a href="http://fs0.us/freeswitch-gplus" target="_blank">http://fs0.us/freeswitch-gplus</a><br>
FB FreeSWITCH : <a href="http://fs0.us/freeswitch-fb" target="_blank">http://fs0.us/freeswitch-fb</a> <br>
Twitter : @FreeSWITCH_WIRE<br>
<a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
</span></font>
</div>


<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></div>