just to add
Hi!I am trying to compile freeswitch-1.0.6. while make following error occur.Any suggestion why its happening? Solution....creating libpcreposix.laif /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; \then mv -f ".deps/pcrecpp.Tpo" ".deps/pcrecpp.Plo"; else rm -f ".deps/pcrecpp.Tpo"; exit 1; fig++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c pcrecpp.cc -fPIC -DPIC -o pcrecpp.oif /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.lo pcre_scanner.cc; \then mv -f ".deps/pcre_scanner.Tpo" ".deps/pcre_scanner.Plo"; else rm -f ".deps/pcre_scanner.Tpo"; exit 1; fig++ -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.oif /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_stringpiece.lo pcre_stringpiece.cc; \then mv -f ".deps/pcre_stringpiece.Tpo" ".deps/pcre_stringpiece.Plo"; else rm -f ".deps/pcre_stringpiece.Tpo"; exit 1; fig++ -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/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -o libpcrecpp.la -rpath /usr/local/freeswitch/lib -version-info 0:0:0 pcrecpp.lo pcre_scanner.lo pcre_stringpiece.lo libpcre.larm -fr .libs/libpcrecpp.a .libs/libpcrecpp.la .libs/libpcrecpp.laiar cru .libs/libpcrecpp.a pcrecpp.o pcre_scanner.o pcre_stringpiece.oranlib .libs/libpcrecpp.acreating libpcrecpp.laif gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT pcretest.o -MD -MP -MF ".deps/pcretest.Tpo" -c -o pcretest.o pcretest.c; \then mv -f ".deps/pcretest.Tpo" ".deps/pcretest.Po"; else rm -f ".deps/pcretest.Tpo"; exit 1; fipcretest.c: In function âextend_inputlineâ:pcretest.c:253:7: warning: format not a string literal and no format arguments [-Wformat-security]/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -o pcretest pcretest.o libpcreposix.lagcc -g -O2 -o pcretest pcretest.o ./.libs/libpcreposix.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.aif gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT pcregrep.o -MD -MP -MF ".deps/pcregrep.Tpo" -c -o pcregrep.o pcregrep.c; \then mv -f ".deps/pcregrep.Tpo" ".deps/pcregrep.Po"; else rm -f ".deps/pcregrep.Tpo"; exit 1; fi/bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -o pcregrep pcregrep.o libpcreposix.lagcc -g -O2 -o pcregrep pcregrep.o ./.libs/libpcreposix.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.aif 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; \then mv -f ".deps/pcrecpp_unittest.Tpo" ".deps/pcrecpp_unittest.Po"; else rm -f ".deps/pcrecpp_unittest.Tpo"; exit 1; fi/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -o pcrecpp_unittest pcrecpp_unittest.o libpcrecpp.lag++ -g -O2 -o pcrecpp_unittest pcrecpp_unittest.o ./.libs/libpcrecpp.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.aif 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; \then mv -f ".deps/pcre_scanner_unittest.Tpo" ".deps/pcre_scanner_unittest.Po"; else rm -f ".deps/pcre_scanner_unittest.Tpo"; exit 1; fi/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -o pcre_scanner_unittest pcre_scanner_unittest.o libpcrecpp.lag++ -g -O2 -o pcre_scanner_unittest pcre_scanner_unittest.o ./.libs/libpcrecpp.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.aif 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; \then mv -f ".deps/pcre_stringpiece_unittest.Tpo" ".deps/pcre_stringpiece_unittest.Po"; else rm -f ".deps/pcre_stringpiece_unittest.Tpo"; exit 1; fi/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -o pcre_stringpiece_unittest pcre_stringpiece_unittest.o libpcrecpp.lag++ -g -O2 -o pcre_stringpiece_unittest pcre_stringpiece_unittest.o ./.libs/libpcrecpp.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.amake[2]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/pcre'make[1]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/pcre'make[1]: Entering directory `/usr/src/freeswitch-1.0.6/libs/srtp'make[1]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/srtp'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.hmake: *** [src/include/switch_swigable_cpp.h] Error 1root@ubuntufs:/usr/src/freeswitch-1.0.6#root@ubuntufs:/usr/src/freeswitch-1.0.6#Last actiongcc -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.his returning empty src/include/switch_swigable_cpp.h file
--Regards,
Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445