<div>Cliff,</div><div><br></div><div>I faced the same issue. Please see your gcc version. Install gcc &lt; 4.5 because they have changed something regarding paths.</div><div><br></div><div>while using FS version 1.0.6 i faced switch.h problem and on git HEAD i faced the same problem as yours.  </div>

<div><br></div><div>I installed gcc-4.4 and compilation worked well. Also did you follow ./bootstrap.sh and ./configure ? </div><div><br></div><div>--</div><div>regards,</div><div><br></div><div>Abdul Basit</div><div><br>

</div><div><br></div><br><br><div class="gmail_quote">On Sun, Oct 23, 2011 at 9:29 PM, Madovsky <span dir="ltr">&lt;<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

did you try sh boostrap.sh before compile ?<br>
<div><div></div><div class="h5"><br>
----- Original Message -----<br>
From: &quot;Cliff Wells&quot; &lt;<a href="mailto:cliff@develix.com">cliff@develix.com</a>&gt;<br>
To: &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
Sent: Sunday, October 23, 2011 12:25 PM<br>
Subject: [Freeswitch-users] Make error on Scientific Linux 6.1<br>
<br>
<br>
&gt; I&#39;ve compiled FS on SL6.1 previously without issue.  I&#39;m wondering how I<br>
&gt; can get more informative output so I can figure out if I&#39;m missing a<br>
&gt; dependency, have a conflicting library installed, or whatever:<br>
&gt;<br>
&gt; Compiling ../../../../libs/xmlrpc-c/lib/expat/xmltok/xmltok.c...<br>
&gt; Compiling<br>
&gt; /usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c...<br>
&gt; quiet_libtool: compile:<br>
&gt;  gcc -w -I../../../../libs/xmlrpc-c/lib/expat/xmlparse -I../../../../libs/xmlrpc-c/lib/expat/xmltok<br>
&gt;  -I../../../../libs/xmlrpc-c -I../../../../libs/xmlrpc-c/include -I../../../../libs/xmlrpc-c/lib/abyss/src<br>
&gt;  -I../../../../libs/xmlrpc-c/lib/util/include -D_THREAD -D__EXTENSIONS__ -I/usr/local/src/freeswitch/src/include<br>
&gt;  -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src<br>
&gt;  -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1<br>
&gt;  -g -ggdb -DHAVE_OPENSSL -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement<br>
&gt;  -D_GNU_SOURCE -DHAVE_CONFIG_H -c<br>
&gt; /usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c  -fPIC<br>
&gt;  -DPIC -o .libs/mod_xml_rpc.o<br>
&gt; quiet_libtool: compile:<br>
&gt;  gcc -w -I../../../../libs/xmlrpc-c/lib/expat/xmlparse -I../../../../libs/xmlrpc-c/lib/expat/xmltok<br>
&gt;  -I../../../../libs/xmlrpc-c -I../../../../libs/xmlrpc-c/include -I../../../../libs/xmlrpc-c/lib/abyss/src<br>
&gt;  -I../../../../libs/xmlrpc-c/lib/util/include -D_THREAD -D__EXTENSIONS__ -I/usr/local/src/freeswitch/src/include<br>
&gt;  -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src<br>
&gt;  -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1<br>
&gt;  -g -ggdb -DHAVE_OPENSSL -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement<br>
&gt;  -D_GNU_SOURCE -DHAVE_CONFIG_H -c<br>
&gt; /usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c -o<br>
&gt; mod_xml_rpc.o &gt;/dev/null 2&gt;&amp;1<br>
&gt; Creating mod_xml_rpc.la...<br>
&gt; make[6]: Leaving directory<br>
&gt; `/usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc&#39;<br>
&gt; make[5]: Leaving directory<br>
&gt; `/usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc&#39;<br>
&gt; make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod&#39;<br>
&gt; make[3]: Leaving directory `/usr/local/src/freeswitch/src&#39;<br>
&gt; make[2]: *** [all-recursive] Error 1<br>
&gt; make[2]: Leaving directory `/usr/local/src/freeswitch&#39;<br>
&gt; make[1]: *** [all] Error 2<br>
&gt; make[1]: Leaving directory `/usr/local/src/freeswitch&#39;<br>
&gt; make: *** [current] Error 2<br>
&gt;<br>
&gt; Thanks for any suggestions.<br>
&gt;<br>
&gt; Cliff<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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>
</div></div></blockquote></div><br>