<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.E-postmall18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=SV link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>My suggestion is to use the current git HEAD. 1.0.6 is really old by now...<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>/Peter<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Från:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>För </b>Abdul Basit<br><b>Skickat:</b> den 20 oktober 2011 17:21<br><b>Till:</b> FreeSWITCH Users Help<br><b>Ämne:</b> [Freeswitch-users] error while compiling switch_swigable_cpp.h<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>Hi!<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>I am trying to compile freeswitch-1.0.6. while make following error&nbsp;occur.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Any suggestion why its happening? Solution....&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p class=MsoNormal>creating <a href="http://libpcreposix.la">libpcreposix.la</a><o:p></o:p></p></div><div><p class=MsoNormal>(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>)<o:p></o:p></p></div><div><p class=MsoNormal>if /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp; -g -O2 -MT pcrecpp.lo -MD -MP -MF &quot;.deps/pcrecpp.Tpo&quot; -c -o pcrecpp.lo pcrecpp.cc; \<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; then mv -f &quot;.deps/pcrecpp.Tpo&quot; &quot;.deps/pcrecpp.Plo&quot;; else rm -f &quot;.deps/pcrecpp.Tpo&quot;; exit 1; fi<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c pcrecpp.cc &nbsp;-fPIC -DPIC -o pcrecpp.o<o:p></o:p></p></div><div><p class=MsoNormal>if /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp; -g -O2 -MT pcre_scanner.lo -MD -MP -MF &quot;.deps/pcre_scanner.Tpo&quot; -c -o pcre_scanner.l<o:p></o:p></p></div><div><p class=MsoNormal>o pcre_scanner.cc; \<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; 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<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT pcre_scanner.lo -MD -MP -MF .deps/pcre_scanner.Tpo -c pcre_scanner.cc &nbsp;-fPIC -DPIC -o pcre_scanner.o<o:p></o:p></p></div><div><p class=MsoNormal>if /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp; -g -O2 -MT pcre_stringpiece.lo -MD -MP -MF &quot;.deps/pcre_stringpiece.Tpo&quot; -c -o pcre_s<o:p></o:p></p></div><div><p class=MsoNormal>tringpiece.lo pcre_stringpiece.cc; \<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; 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<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp;g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT pcre_stringpiece.lo -MD -MP -MF .deps/pcre_stringpiece.Tpo -c pcre_stringpiece.cc &nbsp;-fPIC -DPIC -o pcre_stringpiece.o<o:p></o:p></p></div><div><p class=MsoNormal>/bin/bash ./libtool --tag=CXX --mode=link g++ &nbsp;-g -O2 &nbsp; -o <a href="http://libpcrecpp.la">libpcrecpp.la</a> -rpath /usr/local/freeswitch/lib -version-info 0:0:0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;pcrecpp.lo pcre_scanner.lo pcre_stringpiece.lo <a href="http://libpcre.la">libpcre.la</a><o:p></o:p></p></div><div><p class=MsoNormal>rm -fr &nbsp;.libs/libpcrecpp.a .libs/<a href="http://libpcrecpp.la">libpcrecpp.la</a> .libs/libpcrecpp.lai<o:p></o:p></p></div><div><p class=MsoNormal>ar cru .libs/libpcrecpp.a &nbsp;pcrecpp.o pcre_scanner.o pcre_stringpiece.o<o:p></o:p></p></div><div><p class=MsoNormal>ranlib .libs/libpcrecpp.a<o:p></o:p></p></div><div><p class=MsoNormal>creating <a href="http://libpcrecpp.la">libpcrecpp.la</a><o:p></o:p></p></div><div><p class=MsoNormal>(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>)<o:p></o:p></p></div><div><p class=MsoNormal>if gcc -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp; -g -O2 -MT pcretest.o -MD -MP -MF &quot;.deps/pcretest.Tpo&quot; -c -o pcretest.o pcretest.c; \<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; then mv -f &quot;.deps/pcretest.Tpo&quot; &quot;.deps/pcretest.Po&quot;; else rm -f &quot;.deps/pcretest.Tpo&quot;; exit 1; fi<o:p></o:p></p></div><div><p class=MsoNormal>pcretest.c: In function âextend_inputlineâ:<o:p></o:p></p></div><div><p class=MsoNormal>pcretest.c:253:7: warning: format not a string literal and no format arguments [-Wformat-security]<o:p></o:p></p></div><div><p class=MsoNormal>/bin/bash ./libtool --tag=CC --mode=link gcc &nbsp;-g -O2 &nbsp; -o pcretest &nbsp;pcretest.o <a href="http://libpcreposix.la">libpcreposix.la</a><o:p></o:p></p></div><div><p class=MsoNormal>gcc -g -O2 -o pcretest pcretest.o &nbsp;./.libs/libpcreposix.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a<o:p></o:p></p></div><div><p class=MsoNormal>if gcc -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp; -g -O2 -MT pcregrep.o -MD -MP -MF &quot;.deps/pcregrep.Tpo&quot; -c -o pcregrep.o pcregrep.c; \<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; then mv -f &quot;.deps/pcregrep.Tpo&quot; &quot;.deps/pcregrep.Po&quot;; else rm -f &quot;.deps/pcregrep.Tpo&quot;; exit 1; fi<o:p></o:p></p></div><div><p class=MsoNormal>/bin/bash ./libtool --tag=CC --mode=link gcc &nbsp;-g -O2 &nbsp; -o pcregrep &nbsp;pcregrep.o <a href="http://libpcreposix.la">libpcreposix.la</a><o:p></o:p></p></div><div><p class=MsoNormal>gcc -g -O2 -o pcregrep pcregrep.o &nbsp;./.libs/libpcreposix.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a<o:p></o:p></p></div><div><p class=MsoNormal>if g++ -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp; -g -O2 -MT pcrecpp_unittest.o -MD -MP -MF &quot;.deps/pcrecpp_unittest.Tpo&quot; -c -o pcrecpp_unittest.o pcrecpp_unittest.cc; \<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; 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<o:p></o:p></p></div><div><p class=MsoNormal>/bin/bash ./libtool --tag=CXX --mode=link g++ &nbsp;-g -O2 &nbsp; -o pcrecpp_unittest &nbsp;pcrecpp_unittest.o <a href="http://libpcrecpp.la">libpcrecpp.la</a><o:p></o:p></p></div><div><p class=MsoNormal>g++ -g -O2 -o pcrecpp_unittest pcrecpp_unittest.o &nbsp;./.libs/libpcrecpp.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a<o:p></o:p></p></div><div><p class=MsoNormal>if g++ -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp; -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; \<o:p></o:p></p></div></div><div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; 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<o:p></o:p></p></div><div><p class=MsoNormal>/bin/bash ./libtool --tag=CXX --mode=link g++ &nbsp;-g -O2 &nbsp; -o pcre_scanner_unittest &nbsp;pcre_scanner_unittest.o <a href="http://libpcrecpp.la">libpcrecpp.la</a><o:p></o:p></p></div><div><p class=MsoNormal>g++ -g -O2 -o pcre_scanner_unittest pcre_scanner_unittest.o &nbsp;./.libs/libpcrecpp.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a<o:p></o:p></p></div><div><p class=MsoNormal>if g++ -DHAVE_CONFIG_H -I. -I. -I. &nbsp; &nbsp; -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; \<o:p></o:p></p></div><div><p class=MsoNormal>&nbsp; &nbsp; &nbsp; &nbsp; 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<o:p></o:p></p></div><div><p class=MsoNormal>/bin/bash ./libtool --tag=CXX --mode=link g++ &nbsp;-g -O2 &nbsp; -o pcre_stringpiece_unittest &nbsp;pcre_stringpiece_unittest.o <a href="http://libpcrecpp.la">libpcrecpp.la</a><o:p></o:p></p></div><div><p class=MsoNormal>g++ -g -O2 -o pcre_stringpiece_unittest pcre_stringpiece_unittest.o &nbsp;./.libs/libpcrecpp.a /usr/src/freeswitch-1.0.6/libs/pcre/.libs/libpcre.a<o:p></o:p></p></div><div><p class=MsoNormal>make[2]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/pcre'<o:p></o:p></p></div><div><p class=MsoNormal>make[1]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/pcre'<o:p></o:p></p></div><div><p class=MsoNormal>make[1]: Entering directory `/usr/src/freeswitch-1.0.6/libs/srtp'<o:p></o:p></p></div><div><p class=MsoNormal>make[1]: Leaving directory `/usr/src/freeswitch-1.0.6/libs/srtp'<o:p></o:p></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='background:#FFFF66'>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></span><o:p></o:p></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='background:#FFFF66'>make: *** [src/include/switch_swigable_cpp.h] Error 1</span></span><o:p></o:p></p></div><div><p class=MsoNormal>root@ubuntufs:/usr/src/freeswitch-1.0.6#<o:p></o:p></p></div><div><p class=MsoNormal>root@ubuntufs:/usr/src/freeswitch-1.0.6#<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Last action&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><span class=apple-style-span><span style='background:#FFFF66'>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></span><o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>is returning empty&nbsp;src/include/switch_swigable_cpp.h file<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><p class=MsoNormal>Regards,<o:p></o:p></p></div><p class=MsoNormal><br>Abdul Basit | +92 32 1416 4196 | +92 30 0841 1445<br>!DSPAM:4ea03c8532762022373163! <o:p></o:p></p></div></body></html>