Hi, <div><br></div><div>I am having all sorts of trouble with compiling freeswitch on Ubuntu 11.10. I have downloaded the source from the latest GIT and and followed the wiki. </div><div><br></div><div>I have used freeswitch many times in the past however I am not the best on compiling with make etc. </div>
<div><br></div><div>I am getting an error after i run the initial make. </div><div><br></div><div><div>../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1890:56: error: expected ')' before 'const'</div><div>
../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1893:57: error: expected ')' before 'const'</div><div>../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:2945:2: error: #endif without #if</div><div>nua_subnotref.c: In function 'nua_refer_client_response':</div>
<div>nua_subnotref.c:915:7: error: 'sip_refer_sub_t' undeclared (first use in this function)</div><div>nua_subnotref.c:915:23: error: expected ';' before 'const'</div><div>nua_subnotref.c:917:11: error: 'rs' undeclared (first use in this function)</div>
<div>cc1: all warnings being treated as errors</div><div><br></div><div>make[9]: *** [nua_subnotref.lo] Error 1</div><div>make[8]: *** [all] Error 2</div><div>make[8]: *** No rule to make target `nua/<a href="http://libnua.la">libnua.la</a>', needed by `<a href="http://libsofia-sip-ua.la">libsofia-sip-ua.la</a>'. Stop.</div>
<div>make[7]: *** [all-recursive] Error 1</div><div>Making all in packages</div><div>make[6]: *** [all-recursive] Error 1</div><div>make[5]: *** [all] Error 2</div><div>make[4]: *** [/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/<a href="http://libsofia-sip-ua.la">libsofia-sip-ua.la</a>] Error 2</div>
<div>make[3]: *** [mod_sofia-all] Error 1</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div><div>schepisi@gfi-fraser:/usr/src/freeswitch$</div>
</div><div><br></div><div><br></div><div>There are more errors but this is where it bombs out. </div><div><br></div><div>Is anyone able to provide any pointers as to what I might be doing wrong. </div><div><br>Thanks in advanced. </div>
<div><br>Peter Fraser</div>