Hi, 

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. 

I have used freeswitch many times in the past however I am not the best on compiling with make etc. 

I am getting an error after i run the initial make. 

../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1890:56: error: expected ')' before 'const'
../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:1893:57: error: expected ')' before 'const'
../../libsofia-sip-ua/sip/sofia-sip/sip_extra.h:2945:2: error: #endif without #if
nua_subnotref.c: In function 'nua_refer_client_response':
nua_subnotref.c:915:7: error: 'sip_refer_sub_t' undeclared (first use in this function)
nua_subnotref.c:915:23: error: expected ';' before 'const'
nua_subnotref.c:917:11: error: 'rs' undeclared (first use in this function)
cc1: all warnings being treated as errors

make[9]: *** [nua_subnotref.lo] Error 1
make[8]: *** [all] Error 2
make[8]: *** No rule to make target `nua/libnua.la', needed by `libsofia-sip-ua.la'.  Stop.
make[7]: *** [all-recursive] Error 1
Making all in packages
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [/usr/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.la] Error 2
make[3]: *** [mod_sofia-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
schepisi@gfi-fraser:/usr/src/freeswitch$


There are more errors but this is where it bombs out. 

Is anyone able to provide any pointers as to what I might be doing wrong. 

Thanks in advanced.  

Peter Fraser