<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">libpcreposix.la</a></div><div>(cd .libs &amp;&amp; rm -f <a href="http://libpcreposix.la">libpcreposix.la</a> &amp;&amp; ln -s ../<a href="http://libpcreposix.la">libpcreposix.la</a> <a href="http://libpcreposix.la">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">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">libpcre.la</a></div>

<div>rm -fr  .libs/libpcrecpp.a .libs/<a href="http://libpcrecpp.la">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">libpcrecpp.la</a></div><div>(cd .libs &amp;&amp; rm -f <a href="http://libpcrecpp.la">libpcrecpp.la</a> &amp;&amp; ln -s ../<a href="http://libpcrecpp.la">libpcrecpp.la</a> <a href="http://libpcrecpp.la">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">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">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">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">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">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 class="Apple-style-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 class="Apple-style-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 class="Apple-style-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 class="Apple-style-span" style="background-color: rgb(255, 255, 102); "><br></span></div>is returning empty src/include/switch_swigable_cpp.h file<div><span class="Apple-style-span" style="background-color: rgb(255, 255, 102); "><br>

</span></div><div><br></div><div><br></div>-- <br><div>Regards,</div><br>Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445<br>