[Freeswitch-users] Error While upgrading from 1.05 to latest Git head
Ken Rice
krice at freeswitch.org
Thu Oct 10 20:29:01 MSD 2013
Make spandsp-reconf then make current again
On 10/10/13 11:24 AM, "Lloyd Aloysius" <lloyd.aloysius at gmail.com> wrote:
> Visal
>
> Did you install all the dependencies for the 1.5 ?
>
> http://wiki.freeswitch.org/wiki/Download_%26_Installation_Guide
>
> Lloyd
>
>
> <http://www.sunteltech.ca/blog/>
>
>
> On Thu, Oct 10, 2013 at 12:12 PM, Vishal Kakkar <vishal.kakkar at gmail.com>
> wrote:
>> Hi All,
>>
>> Today i tried to upgrade FS from (Version 1.5.2b git a433b97 2013-06-07
>> 17:29:42Z) to latest one using make current.
>>
>> Following is the error i am getting-
>>
>>
>> /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -fvisibility=hidden -o
>> libspeexdsp.la <http://libspeexdsp.la> -rpath /usr/local/freeswitch/lib
>> -no-undefined -version-info 6:0:5 preprocess.lo jitter.lo mdf.lo fftwrap.lo
>> filterbank.lo resample.lo buffer.lo scal.lo smallft.lo -lm
>> ar cru .libs/libspeexdsp.a preprocess.o jitter.o mdf.o fftwrap.o
>> filterbank.o resample.o buffer.o scal.o smallft.o
>> ranlib .libs/libspeexdsp.a
>> creating libspeexdsp.la <http://libspeexdsp.la>
>> (cd .libs && rm -f libspeexdsp.la <http://libspeexdsp.la> && ln -s
>> ../libspeexdsp.la <http://libspeexdsp.la> libspeexdsp.la
>> <http://libspeexdsp.la> )
>> make[4]: Leaving directory `/home/installers/freeswitch/libs/speex/libspeex'
>> Making all in include
>> make[4]: Entering directory `/home/installers/freeswitch/libs/speex/include'
>> Making all in speex
>> make[5]: Entering directory
>> `/home/installers/freeswitch/libs/speex/include/speex'
>> make[5]: Nothing to be done for `all'.
>> make[5]: Leaving directory
>> `/home/installers/freeswitch/libs/speex/include/speex'
>> make[5]: Entering directory `/home/installers/freeswitch/libs/speex/include'
>> make[5]: Nothing to be done for `all-am'.
>> make[5]: Leaving directory `/home/installers/freeswitch/libs/speex/include'
>> make[4]: Leaving directory `/home/installers/freeswitch/libs/speex/include'
>> make[4]: Entering directory `/home/installers/freeswitch/libs/speex'
>> make[4]: Leaving directory `/home/installers/freeswitch/libs/speex'
>> make[3]: Leaving directory `/home/installers/freeswitch/libs/speex'
>> make[2]: Leaving directory `/home/installers/freeswitch/libs/speex'
>> cat /home/installers/freeswitch/src/include/switch_cpp.h | perl
>> /home/installers/freeswitch/build/strip.pl <http://strip.pl> >
>> /home/installers/freeswitch/src/include/switch_swigable_cpp.h
>> make "OUR_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#"
>> /home/installers/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq
>> )"; else tmp_mods="" ; fi ; mods="$(for i in $tmp_mods ; do echo $i-all ;
>> done )"; echo $mods )" "OUR_CLEAN_MODULES=$(if test -z "" ; then
>> tmp_mods="$(grep -v "#" /home/installers/freeswitch/modules.conf | sed -e
>> "s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in
>> $tmp_mods ; do echo $i-clean ; done )"; echo $mods )"
>> "OUR_INSTALL_MODULES=$(if test -z "" ; then tmp_mods="$(grep -v "#"
>> /home/installers/freeswitch/modules.conf | sed -e "s|^.*/||" | sort | uniq
>> )"; else tmp_mods="" ; fi ; mods="$(for i in $tmp_mods ; do echo $i-install ;
>> done)"; echo $mods )" "OUR_UNINSTALL_MODULES=$(if test -z "" ; then
>> tmp_mods="$(grep -v "#" /home/installers/freeswitch/modules.conf | sed -e
>> "s|^.*/||" | sort | uniq )"; else tmp_mods="" ; fi ; mods="$(for i in
>> $tmp_mods ; do echo $i-uninstall ; done)"; echo $mods )"
>> "OUR_DISABLED_MODULES=$(tmp_mods="$(grep "#"
>> /home/installers/freeswitch/modules.conf | grep -v "##" | sed -e "s|^.*/||" |
>> sort | uniq )"; mods="$(for i in $tmp_mods ; do echo $i-all ; done )"; echo
>> $mods )" "OUR_DISABLED_CLEAN_MODULES=$(tmp_mods="$(grep "#"
>> /home/installers/freeswitch/modules.conf | grep -v "##" | sed -e "s|^.*/||" |
>> sort | uniq )"; mods="$(for i in $tmp_mods ; do echo $i-clean ; done )";
>> echo $mods )" "OUR_DISABLED_INSTALL_MODULES=$(tmp_mods="$(grep "#"
>> /home/installers/freeswitch/modules.conf | grep -v "##" | sed -e "s|^.*/||" |
>> sort | uniq )"; mods="$(for i in $tmp_mods ; do echo $i-install ; done)";
>> echo $mods )" "OUR_DISABLED_UNINSTALL_MODULES=$(tmp_mods="$(grep "#"
>> /home/installers/freeswitch/modules.conf | grep -v "##" | sed -e "s|^.*/||" |
>> sort | uniq )"; mods="$(for i in $tmp_mods ; do echo $i-uninstall ; done)";
>> echo $mods )" `test -n "" || echo -s` all-recursive
>> make[2]: Entering directory `/home/installers/freeswitch'
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:52,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/logging.h:85: error:
>> expected â=â, â,â, â;â, âasmâ or â__attribute__â before âspan_log_testâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:56,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/queue.h:67: error:
>> expected â=â, â,â, â;â, âasmâ or â__attribute__â before âqueue_emptyâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:77,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/crc.h:65: error:
>> expected â=â, â,â, â;â, âasmâ or â__attribute__â before âcrc_itu32_checkâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/crc.h:98: error:
>> expected â=â, â,â, â;â, âasmâ or â__attribute__â before âcrc_itu16_checkâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:78,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/async.h:175: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/async.h:209: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:79,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/hdlc.h:96: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/hdlc.h:97: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/hdlc.h:180: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/hdlc.h:182: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:88,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/bell_r2_mf.h:181: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/bell_r2_mf.h:254: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:93,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v8.h:138: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v8.h:150: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:94,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v42.h:89: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v42.h:90: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:96,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v29rx.h:159: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:97,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v29tx.h:121: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v29tx.h:129: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:98,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v17rx.h:244: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:99,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v17tx.h:108: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v17tx.h:117: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v17tx.h:117: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:103,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v22bis.h:160: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v22bis.h:181: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:104,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v27ter_rx.h:79: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:105,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v27ter_tx.h:90: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v27ter_tx.h:98: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:109,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/v18.h:121: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:112,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t4_tx.h:365: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:117,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t85.h:67: error:
>> expected â=â, â,â, â;â, âasmâ or â__attribute__â before ât85_analyse_headerâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:118,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t42.h:79: error:
>> expected â=â, â,â, â;â, âasmâ or â__attribute__â before ât42_analyse_headerâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:122,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t30.h:193: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:123,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t30_api.h:232: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t30_api.h:373: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t30_api.h:436: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t30_api.h:443: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:126,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t35.h:88: error:
>> expected â=â, â,â, â;â, âasmâ or â__attribute__â before ât35_decodeâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:127,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/at_interpreter.h:119:
>> error: expected specifier-qualifier-list before âboolâ
>> cc1: warnings being treated as errors
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/at_interpreter.h:132:
>> warning: struct has no members
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:130,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_core.h:317: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_core.h:323: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_core.h:329: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_core.h:369: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_core.h:375: error:
>> expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:131,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_non_ecm_buffer.h:89:
>> error: expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_non_ecm_buffer.h:99:
>> error: expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:132,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_gateway.h:54: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_gateway.h:66: error:
>> expected specifier-qualifier-list before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_gateway.h:129:
>> error: expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_gateway.h:138:
>> error: expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_gateway.h:170:
>> error: expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_gateway.h:177:
>> error: expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:133,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_terminal.h:77:
>> error: expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_terminal.h:84:
>> error: expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_terminal.h:115:
>> error: expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t38_terminal.h:125:
>> error: expected declaration specifiers or â...â before âboolâ
>> In file included from
>> /home/installers/freeswitch/libs/spandsp/src/spandsp.h:134,
>> from ./src/include/private/switch_core_pvt.h:35,
>> from src/switch.c:53:
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t31.h:96: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t31.h:103: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t31.h:111: error:
>> expected declaration specifiers or â...â before âboolâ
>> /home/installers/freeswitch/libs/spandsp/src/spandsp/t31.h:118: error:
>> expected declaration specifiers or â...â before âboolâ
>> make[2]: *** [freeswitch-switch.o] Error 1
>> make[2]: Leaving directory `/home/installers/freeswitch'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/home/installers/freeswitch'
>> make: *** [current] Error 2
>> [xx at yy freeswitch]$
>>
>>
>> Please help what am i doing wrong.. Earlier it used to upgrade with no
>> issues.
>>
>> My OS : Linux host.abc.com <http://host.abc.com> 2.6.18-194.el5 #1 SMP Tue
>> Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
>>
>> Thanks,
>> -Vishal.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131010/a511a783/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list