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
sounds like a failed bootstrap and configure cycle... I would rebootstrap and reconfigure it to see if that does away... On Thu, Feb 23, 2012 at 5:49 PM, Peter Fraser <pjfraser82@gmail.com> wrote:
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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.
[...]
make[9]: *** [nua_subnotref.lo] Error 1 make[8]: *** [all] Error 2 make[8]: *** No rule to make target `nua/libnua.la <http://libnua.la>', needed by `libsofia-sip-ua.la <http://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 <http://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$ You are doing a parallel build by the looks of it. Try running make with a single job (i.e. just "make" or "make -j1") and see if this fixes it. I've ran across similar problems because of multiple jobs running.
apt-get install gawk and then start first step 2012/2/25 Josh <mojo1736@privatedemail.net>:
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.
[...]
make[9]: *** [nua_subnotref.lo] Error 1 make[8]: *** [all] Error 2 make[8]: *** No rule to make target `nua/libnua.la <http://libnua.la>', needed by `libsofia-sip-ua.la <http://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 <http://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$ You are doing a parallel build by the looks of it. Try running make with a single job (i.e. just "make" or "make -j1") and see if this fixes it. I've ran across similar problems because of multiple jobs running.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Dome Charoenyost <dome@...> writes:
apt-get install gawk and then start first step
I've installed in Ubuntu 64-bit 11.04 without issues before and am now having the exact same problem as described on a new Ubuntu 64-bit 11.10 server. I've tried to do a ./bootstrap.sh and ./configure and make -j1 as was suggested and gawk is installed and set up as alternative. But still same error.
Gennady -j n isn't supported by the makefile, yet. I'd refrain from using it even if you're just throwing one thread at the cpu. -BDF On Tue, Mar 20, 2012 at 7:50 PM, Gennady <genachka@gmail.com> wrote:
Dome Charoenyost <dome@...> writes:
apt-get install gawk and then start first step
I've installed in Ubuntu 64-bit 11.04 without issues before and am now having the exact same problem as described on a new Ubuntu 64-bit 11.10 server.
I've tried to do a ./bootstrap.sh and ./configure and make -j1 as was suggested and gawk is installed and set up as alternative. But still same error.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Brian D. Foster Endigo Computer LLC Email: bdfoster@endigotech.com Phone: 317-800-7876 Indianapolis, Indiana, USA This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
Brian Foster <bdfoster@...> writes:
Gennady
-j n isn't supported by the makefile, yet. I'd refrain from using it even if
you're just throwing one thread at the cpu.
-BDF
On Tue, Mar 20, 2012 at 7:50 PM, Gennady <genachka-
Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Dome Charoenyost <dome <at> ...> writes:
apt-get install gawk and then start first step
I've installed in Ubuntu 64-bit 11.04 without issues before and am now having the exact same problem as described on a new Ubuntu 64-bit 11.10 server. I've tried to do a ./bootstrap.sh and ./configure and make -j1 as was suggested and gawk is installed and set up as alternative. But still same error.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting- YF8E+gPBBv73h3GqohbjpQ@public.gmane.orghttp://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com FreeSWITCH-users mailing listFreeSWITCH-users <at> lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch- users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- usershttp://www.freeswitch.org
-- Brian D. FosterEndigo Computer LLCEmail: bdfoster- 15yuSvdC0LkqDJ6do+/SaQ@public.gmane.orgPhone: 317-800-7876 Indianapolis, Indiana, USAThis message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@... http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@... http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I'm having this problem as well on 11.10 and have installed gawk and rebootstrapped and reconfigured. Any ideas about this one?
Brian Foster <bdfoster@...> writes:
Gennady
-j n isn't supported by the makefile, yet. I'd refrain from using it even if
you're just throwing one thread at the cpu.
-BDF
On Tue, Mar 20, 2012 at 7:50 PM, Gennady <genachka-
Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Dome Charoenyost <dome <at> ...> writes:
apt-get install gawk and then start first step
I've installed in Ubuntu 64-bit 11.04 without issues before and am now having the exact same problem as described on a new Ubuntu 64-bit 11.10 server. I've tried to do a ./bootstrap.sh and ./configure and make -j1 as was suggested and gawk is installed and set up as alternative. But still same error.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting- YF8E+gPBBv73h3GqohbjpQ@public.gmane.orghttp://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com FreeSWITCH-users mailing listFreeSWITCH-users <at> lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch- users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- usershttp://www.freeswitch.org
-- Brian D. FosterEndigo Computer LLCEmail: bdfoster- 15yuSvdC0LkqDJ6do+/SaQ@public.gmane.orgPhone: 317-800-7876 Indianapolis, Indiana, USAThis message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@... http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@... http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I only tried the -j switch as it was suggested in the thread. But I was getting the error without it. I gave up trying to get it working on 11.10 64bit and installed 11.10 32bit and am up and running without issues.
The -j flag just works fine. If it doesn't work then fall back to single make thread. On 2012-03-28 8:40 AM, "Gennady" <genachka@gmail.com> wrote:
Brian Foster <bdfoster@...> writes:
Gennady
-j n isn't supported by the makefile, yet. I'd refrain from using it
even if you're just throwing one thread at the cpu.
-BDF
On Tue, Mar 20, 2012 at 7:50 PM, Gennady <genachka-
Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Dome Charoenyost <dome <at> ...> writes:
apt-get install gawk and then start first step
I've installed in Ubuntu 64-bit 11.04 without issues before and am now having the exact same problem as described on a new Ubuntu 64-bit 11.10 server. I've tried to do a ./bootstrap.sh and ./configure and make -j1 as was suggested and gawk is installed and set up as alternative. But still same error.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting- YF8E+gPBBv73h3GqohbjpQ@public.gmane.orghttp://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Serverhttp://www.cudatel.com Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp:// www.cluecon.com FreeSWITCH-users mailing listFreeSWITCH-users <at> lists.freeswitch.orghttp:// lists.freeswitch.org/mailman/listinfo/freeswitch- users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- usershttp://www.freeswitch.org
-- Brian D. FosterEndigo Computer LLCEmail: bdfoster- 15yuSvdC0LkqDJ6do+/SaQ@public.gmane.orgPhone: 317-800-7876 Indianapolis, Indiana, USAThis message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@... http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@... http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I only tried the -j switch as it was suggested in the thread. But I was getting the error without it.
I gave up trying to get it working on 11.10 64bit and installed 11.10 32bit and am up and running without issues.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (8)
-
Brian Foster
-
curriegrad2004
-
Dome Charoenyost
-
Gennady
-
Josh
-
Josh
-
Ken Rice
-
Peter Fraser