<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 && rm -f <a href="http://libpcreposix.la">libpcreposix.la</a> && 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 ".deps/pcrecpp.Tpo" -c -o pcrecpp.lo pcrecpp.cc; \</div><div> then mv -f ".deps/pcrecpp.Tpo" ".deps/pcrecpp.Plo"; else rm -f ".deps/pcrecpp.Tpo"; 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 ".deps/pcre_scanner.Tpo" -c -o pcre_scanner.l</div>
<div>o pcre_scanner.cc; \</div><div> then mv -f ".deps/pcre_scanner.Tpo" ".deps/pcre_scanner.Plo"; else rm -f ".deps/pcre_scanner.Tpo"; 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 ".deps/pcre_stringpiece.Tpo" -c -o pcre_s</div><div>tringpiece.lo pcre_stringpiece.cc; \</div>
<div> then mv -f ".deps/pcre_stringpiece.Tpo" ".deps/pcre_stringpiece.Plo"; else rm -f ".deps/pcre_stringpiece.Tpo"; 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 && rm -f <a href="http://libpcrecpp.la">libpcrecpp.la</a> && 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 ".deps/pcretest.Tpo" -c -o pcretest.o pcretest.c; \</div><div> then mv -f ".deps/pcretest.Tpo" ".deps/pcretest.Po"; else rm -f ".deps/pcretest.Tpo"; 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 ".deps/pcregrep.Tpo" -c -o pcregrep.o pcregrep.c; \</div>
<div> then mv -f ".deps/pcregrep.Tpo" ".deps/pcregrep.Po"; else rm -f ".deps/pcregrep.Tpo"; 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 ".deps/pcrecpp_unittest.Tpo" -c -o pcrecpp_unittest.o pcrecpp_unittest.cc; \</div>
<div> then mv -f ".deps/pcrecpp_unittest.Tpo" ".deps/pcrecpp_unittest.Po"; else rm -f ".deps/pcrecpp_unittest.Tpo"; 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 ".deps/pcre_scanner_unittest.Tpo" -c -o pcre_scanner_unittest.o pcre_scanner_unittest.cc; \</div>
</div><div><div> then mv -f ".deps/pcre_scanner_unittest.Tpo" ".deps/pcre_scanner_unittest.Po"; else rm -f ".deps/pcre_scanner_unittest.Tpo"; 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 ".deps/pcre_stringpiece_unittest.Tpo" -c -o pcre_stringpiece_unittest.o pcre_stringpiece_unittest.cc; \</div>
<div> then mv -f ".deps/pcre_stringpiece_unittest.Tpo" ".deps/pcre_stringpiece_unittest.Po"; else rm -f ".deps/pcre_stringpiece_unittest.Tpo"; 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'</div>
<div>make[1]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/pcre'</div><div>make[1]: Entering directory `/usr/src/freeswitch-1.0.6/libs/srtp'</div><div>make[1]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/srtp'</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>/dev/null | grep -v "^#" > 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>/dev/null | grep -v "^#" > 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>