<div>Cliff,</div><div><br></div><div>I faced the same issue. Please see your gcc version. Install gcc < 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"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></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: "Cliff Wells" <<a href="mailto:cliff@develix.com">cliff@develix.com</a>><br>
To: <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Sent: Sunday, October 23, 2011 12:25 PM<br>
Subject: [Freeswitch-users] Make error on Scientific Linux 6.1<br>
<br>
<br>
> I've compiled FS on SL6.1 previously without issue. I'm wondering how I<br>
> can get more informative output so I can figure out if I'm missing a<br>
> dependency, have a conflicting library installed, or whatever:<br>
><br>
> Compiling ../../../../libs/xmlrpc-c/lib/expat/xmltok/xmltok.c...<br>
> Compiling<br>
> /usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c...<br>
> quiet_libtool: compile:<br>
> gcc -w -I../../../../libs/xmlrpc-c/lib/expat/xmlparse -I../../../../libs/xmlrpc-c/lib/expat/xmltok<br>
> -I../../../../libs/xmlrpc-c -I../../../../libs/xmlrpc-c/include -I../../../../libs/xmlrpc-c/lib/abyss/src<br>
> -I../../../../libs/xmlrpc-c/lib/util/include -D_THREAD -D__EXTENSIONS__ -I/usr/local/src/freeswitch/src/include<br>
> -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src<br>
> -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1<br>
> -g -ggdb -DHAVE_OPENSSL -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement<br>
> -D_GNU_SOURCE -DHAVE_CONFIG_H -c<br>
> /usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c -fPIC<br>
> -DPIC -o .libs/mod_xml_rpc.o<br>
> quiet_libtool: compile:<br>
> gcc -w -I../../../../libs/xmlrpc-c/lib/expat/xmlparse -I../../../../libs/xmlrpc-c/lib/expat/xmltok<br>
> -I../../../../libs/xmlrpc-c -I../../../../libs/xmlrpc-c/include -I../../../../libs/xmlrpc-c/lib/abyss/src<br>
> -I../../../../libs/xmlrpc-c/lib/util/include -D_THREAD -D__EXTENSIONS__ -I/usr/local/src/freeswitch/src/include<br>
> -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src<br>
> -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1<br>
> -g -ggdb -DHAVE_OPENSSL -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement<br>
> -D_GNU_SOURCE -DHAVE_CONFIG_H -c<br>
> /usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c -o<br>
> mod_xml_rpc.o >/dev/null 2>&1<br>
> Creating mod_xml_rpc.la...<br>
> make[6]: Leaving directory<br>
> `/usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc'<br>
> make[5]: Leaving directory<br>
> `/usr/local/src/freeswitch/src/mod/xml_int/mod_xml_rpc'<br>
> make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod'<br>
> make[3]: Leaving directory `/usr/local/src/freeswitch/src'<br>
> make[2]: *** [all-recursive] Error 1<br>
> make[2]: Leaving directory `/usr/local/src/freeswitch'<br>
> make[1]: *** [all] Error 2<br>
> make[1]: Leaving directory `/usr/local/src/freeswitch'<br>
> make: *** [current] Error 2<br>
><br>
> Thanks for any suggestions.<br>
><br>
> Cliff<br>
><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>
<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>