just to add<div><div><br></div><div>root@ubuntufs:~# uname -a</div><div>Linux ubuntufs 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 i686 i386 GNU/Linux</div><div><br></div><br><div class="gmail_quote">

On Thu, Oct 20, 2011 at 8:20 PM, Abdul Basit <span dir="ltr">&lt;<a href="mailto:basit.engg@gmail.com">basit.engg@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div>Hi!</div><div><br></div><div>I am trying to compile freeswitch-1.0.6. while make following error occur.</div><div><br></div><div>Any suggestion why its happening? Solution.... </div><div><br></div><div><br></div><div>


<div>creating <a href="http://libpcreposix.la" target="_blank">libpcreposix.la</a></div><div>(cd .libs &amp;&amp; rm -f <a href="http://libpcreposix.la" target="_blank">libpcreposix.la</a> &amp;&amp; ln -s ../<a href="http://libpcreposix.la" target="_blank">libpcreposix.la</a> <a href="http://libpcreposix.la" target="_blank">libpcreposix.la</a>)</div>


<div>if /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT pcrecpp.lo -MD -MP -MF &quot;.deps/pcrecpp.Tpo&quot; -c -o pcrecpp.lo pcrecpp.cc; \</div><div>        then mv -f &quot;.deps/pcrecpp.Tpo&quot; &quot;.deps/pcrecpp.Plo&quot;; else rm -f &quot;.deps/pcrecpp.Tpo&quot;; exit 1; fi</div>


<div> g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c pcrecpp.cc  -fPIC -DPIC -o pcrecpp.o</div><div>if /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT pcre_scanner.lo -MD -MP -MF &quot;.deps/pcre_scanner.Tpo&quot; -c -o pcre_scanner.l</div>


<div>o pcre_scanner.cc; \</div><div>        then mv -f &quot;.deps/pcre_scanner.Tpo&quot; &quot;.deps/pcre_scanner.Plo&quot;; else rm -f &quot;.deps/pcre_scanner.Tpo&quot;; exit 1; fi</div><div> g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT pcre_scanner.lo -MD -MP -MF .deps/pcre_scanner.Tpo -c pcre_scanner.cc  -fPIC -DPIC -o pcre_scanner.o</div>


<div>if /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT pcre_stringpiece.lo -MD -MP -MF &quot;.deps/pcre_stringpiece.Tpo&quot; -c -o pcre_s</div><div>tringpiece.lo pcre_stringpiece.cc; \</div>


<div>        then mv -f &quot;.deps/pcre_stringpiece.Tpo&quot; &quot;.deps/pcre_stringpiece.Plo&quot;; else rm -f &quot;.deps/pcre_stringpiece.Tpo&quot;; exit 1; fi</div><div> g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT pcre_stringpiece.lo -MD -MP -MF .deps/pcre_stringpiece.Tpo -c pcre_stringpiece.cc  -fPIC -DPIC -o pcre_stringpiece.o</div>


<div>/bin/bash ./libtool --tag=CXX --mode=link g++  -g -O2   -o <a href="http://libpcrecpp.la" target="_blank">libpcrecpp.la</a> -rpath /usr/local/freeswitch/lib -version-info 0:0:0                            pcrecpp.lo pcre_scanner.lo pcre_stringpiece.lo <a href="http://libpcre.la" target="_blank">libpcre.la</a></div>


<div>rm -fr  .libs/libpcrecpp.a .libs/<a href="http://libpcrecpp.la" target="_blank">libpcrecpp.la</a> .libs/libpcrecpp.lai</div><div>ar cru .libs/libpcrecpp.a  pcrecpp.o pcre_scanner.o pcre_stringpiece.o</div><div>ranlib .libs/libpcrecpp.a</div>


<div>creating <a href="http://libpcrecpp.la" target="_blank">libpcrecpp.la</a></div><div>(cd .libs &amp;&amp; rm -f <a href="http://libpcrecpp.la" target="_blank">libpcrecpp.la</a> &amp;&amp; ln -s ../<a href="http://libpcrecpp.la" target="_blank">libpcrecpp.la</a> <a href="http://libpcrecpp.la" target="_blank">libpcrecpp.la</a>)</div>


<div>if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT pcretest.o -MD -MP -MF &quot;.deps/pcretest.Tpo&quot; -c -o pcretest.o pcretest.c; \</div><div>        then mv -f &quot;.deps/pcretest.Tpo&quot; &quot;.deps/pcretest.Po&quot;; else rm -f &quot;.deps/pcretest.Tpo&quot;; exit 1; fi</div>


<div>pcretest.c: In function âextend_inputlineâ:</div><div>pcretest.c:253:7: warning: format not a string literal and no format arguments [-Wformat-security]</div><div>/bin/bash ./libtool --tag=CC --mode=link gcc  -g -O2   -o pcretest  pcretest.o <a href="http://libpcreposix.la" target="_blank">libpcreposix.la</a></div>


<div>gcc -g -O2 -o pcretest pcretest.o  ./.libs/libpcreposix.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a</div><div>if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT pcregrep.o -MD -MP -MF &quot;.deps/pcregrep.Tpo&quot; -c -o pcregrep.o pcregrep.c; \</div>


<div>        then mv -f &quot;.deps/pcregrep.Tpo&quot; &quot;.deps/pcregrep.Po&quot;; else rm -f &quot;.deps/pcregrep.Tpo&quot;; exit 1; fi</div><div>/bin/bash ./libtool --tag=CC --mode=link gcc  -g -O2   -o pcregrep  pcregrep.o <a href="http://libpcreposix.la" target="_blank">libpcreposix.la</a></div>


<div>gcc -g -O2 -o pcregrep pcregrep.o  ./.libs/libpcreposix.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a</div><div>if g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT pcrecpp_unittest.o -MD -MP -MF &quot;.deps/pcrecpp_unittest.Tpo&quot; -c -o pcrecpp_unittest.o pcrecpp_unittest.cc; \</div>


<div>        then mv -f &quot;.deps/pcrecpp_unittest.Tpo&quot; &quot;.deps/pcrecpp_unittest.Po&quot;; else rm -f &quot;.deps/pcrecpp_unittest.Tpo&quot;; exit 1; fi</div><div>/bin/bash ./libtool --tag=CXX --mode=link g++  -g -O2   -o pcrecpp_unittest  pcrecpp_unittest.o <a href="http://libpcrecpp.la" target="_blank">libpcrecpp.la</a></div>


<div>g++ -g -O2 -o pcrecpp_unittest pcrecpp_unittest.o  ./.libs/libpcrecpp.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a</div><div>if g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT pcre_scanner_unittest.o -MD -MP -MF &quot;.deps/pcre_scanner_unittest.Tpo&quot; -c -o pcre_scanner_unittest.o pcre_scanner_unittest.cc; \</div>


</div><div><div>        then mv -f &quot;.deps/pcre_scanner_unittest.Tpo&quot; &quot;.deps/pcre_scanner_unittest.Po&quot;; else rm -f &quot;.deps/pcre_scanner_unittest.Tpo&quot;; exit 1; fi</div><div>/bin/bash ./libtool --tag=CXX --mode=link g++  -g -O2   -o pcre_scanner_unittest  pcre_scanner_unittest.o <a href="http://libpcrecpp.la" target="_blank">libpcrecpp.la</a></div>


<div>g++ -g -O2 -o pcre_scanner_unittest pcre_scanner_unittest.o  ./.libs/libpcrecpp.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a</div><div>if g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT pcre_stringpiece_unittest.o -MD -MP -MF &quot;.deps/pcre_stringpiece_unittest.Tpo&quot; -c -o pcre_stringpiece_unittest.o pcre_stringpiece_unittest.cc; \</div>


<div>        then mv -f &quot;.deps/pcre_stringpiece_unittest.Tpo&quot; &quot;.deps/pcre_stringpiece_unittest.Po&quot;; else rm -f &quot;.deps/pcre_stringpiece_unittest.Tpo&quot;; exit 1; fi</div><div>/bin/bash ./libtool --tag=CXX --mode=link g++  -g -O2   -o pcre_stringpiece_unittest  pcre_stringpiece_unittest.o <a href="http://libpcrecpp.la" target="_blank">libpcrecpp.la</a></div>


<div>g++ -g -O2 -o pcre_stringpiece_unittest pcre_stringpiece_unittest.o  ./.libs/libpcrecpp.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a</div><div>make[2]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/pcre&#39;</div>


<div>make[1]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/pcre&#39;</div><div>make[1]: Entering directory `/usr/src/freeswitch-1.0.6/libs/srtp&#39;</div><div>make[1]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/srtp&#39;</div>


<div><span style="background-color:rgb(255, 255, 102)">gcc -E /usr/src/freeswitch-1.0.6/src/include/switch_cpp.h -DSWITCH_DECLARE_CLASS= -DSWITCH_DECLARE\(x\)=x -DSWITCH_DECLARE_CONSTRUCTOR= -DSWITCH_DECLARE_NONSTD\(x\)=x 2&gt;/dev/null | grep -v &quot;^#&quot; &gt; src/include/switch_swigable_cpp.h</span></div>


<div><span style="background-color:rgb(255, 255, 102)">make: *** [src/include/switch_swigable_cpp.h] Error 1</span></div><div>root@ubuntufs:/usr/src/freeswitch-1.0.6#</div><div>root@ubuntufs:/usr/src/freeswitch-1.0.6#</div>


</div><div><br></div><div>Last action </div><div><br></div><div><span style="background-color:rgb(255, 255, 102)">gcc -E /usr/src/freeswitch-1.0.6/src/include/switch_cpp.h -DSWITCH_DECLARE_CLASS= -DSWITCH_DECLARE\(x\)=x -DSWITCH_DECLARE_CONSTRUCTOR= -DSWITCH_DECLARE_NONSTD\(x\)=x 2&gt;/dev/null | grep -v &quot;^#&quot; &gt; src/include/switch_swigable_cpp.h</span></div>


<div><span style="background-color:rgb(255, 255, 102)"><br></span></div>is returning empty src/include/switch_swigable_cpp.h file<div><span style="background-color:rgb(255, 255, 102)"><br>
</span></div><font color="#888888"><div><br></div><div><br></div>-- <br><div>Regards,</div><br>Abdul Basit | <a href="tel:%2B92%2032%201416%204196" value="+923214164196" target="_blank">+92 32 1416 4196</a> | <a href="tel:%2B92%2030%200841%201445" value="+923008411445" target="_blank">+92 30 0841 1445</a><br>


</font></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Regards,</div><br>Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445<br>
</div>