[Freeswitch-users] Ubuntu + FS

Michael Jerris mike at jerris.com
Thu May 19 03:13:12 MSD 2016


This is caused by an out of date toolchain.  Use a compiler made in the last 5 years or so should solve it.  I'd strongly advise against using such an old distro.


> On May 18, 2016, at 6:36 PM, Gregor Nanger <gregor at infomedia.si> wrote:
> 
> Oh, yes :-((( Here it is:
> 
> make && make install
> config.status: creating Makefile
> config.status: creating include/apr.h
> config.status: creating build/apr_rules.mk <http://apr_rules.mk/>
> config.status: creating build/pkg/pkginfo
> config.status: creating apr-1-config
> config.status: WARNING:  'apr-config.in <http://apr-config.in/>' seems to ignore the --datarootdir setting
> config.status: creating apr.pc
> config.status: creating test/Makefile
> config.status: creating test/internal/Makefile
> config.status: creating include/arch/unix/apr_private.h
> config.status: executing libtool commands
> rm: cannot remove `libtoolT': No such file or directory
> config.status: executing default commands
> config.status: include/apr.h is unchanged
> config.status: include/arch/unix/apr_private.h is unchanged
> make[1]: Entering directory `/usr/src/freeswitch.git/libs/apr'
> make[2]: Entering directory `/usr/src/freeswitch.git/libs/apr'
> make[2]: Nothing to be done for `local-all'.
> make[2]: Leaving directory `/usr/src/freeswitch.git/libs/apr'
> make[1]: Leaving directory `/usr/src/freeswitch.git/libs/apr'
> make[1]: Entering directory `/usr/src/freeswitch.git/libs/apr-util'
> Making all in xml/expat
> make[2]: Entering directory `/usr/src/freeswitch.git/libs/apr-util/xml/expat'
> make[3]: Entering directory `/usr/src/freeswitch.git/libs/apr-util/xml/expat/lib'
> /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I.. -I/usr/src/freeswitch.git/libs/apr-util/xml/expat/lib  -g -O2 -c xmlparse.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"expat_1.95.2\" -I. -I.. -I/usr/src/freeswitch.git/libs/apr-util/xml/expat/lib -g -O2 -c xmlparse.c  -fPIC -DPIC -o xmlparse.o
> /bin/bash ../libtool --mode=link  gcc -version-info 1:0:1 -g -O2  -o libexpat.la <http://libexpat.la/> -rpath /usr/local/freeswitch/lib  xmlparse.lo xmltok.lo xmlrole.lo
> libtool: link: rm -fr  .libs/libexpat.a .libs/libexpat.la <http://libexpat.la/> .libs/libexpat.lai
> libtool: link: ar cru .libs/libexpat.a  xmlparse.o xmltok.o xmlrole.o
> libtool: link: ranlib .libs/libexpat.a
> libtool: link: ( cd ".libs" && rm -f "libexpat.la <http://libexpat.la/>" && ln -s "../libexpat.la <http://libexpat.la/>" "libexpat.la <http://libexpat.la/>" )
> make[3]: Leaving directory `/usr/src/freeswitch.git/libs/apr-util/xml/expat/lib'
> make[2]: Leaving directory `/usr/src/freeswitch.git/libs/apr-util/xml/expat'
> make[2]: Entering directory `/usr/src/freeswitch.git/libs/apr-util'
> make[2]: Nothing to be done for `local-all'.
> make[2]: Leaving directory `/usr/src/freeswitch.git/libs/apr-util'
> make[1]: Leaving directory `/usr/src/freeswitch.git/libs/apr-util'
> touch /usr/src/freeswitch.git/src/include/switch.h
> make[1]: Entering directory `/usr/src/freeswitch.git/libs/srtp'
> (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /usr/src/freeswitch.git/libs/srtp/build/missing --run autoheader)
> rm -f crypto/include/stamp-h1
> touch config_in.h
> cd . && /bin/bash ./config.status crypto/include/config.h
> config.status: creating crypto/include/config.h
> config.status: crypto/include/config.h is unchanged
> make[1]: Leaving directory `/usr/src/freeswitch.git/libs/srtp'
>   CXX    libfreeswitch_libyuv_la-row_common.lo
> libs/libyuv/source/row_common.cc: In function 'void libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const libyuv::YuvConstants*)':
> libs/libyuv/source/row_common.cc:1256:34: error: invalid types 'const lvec8 {aka const __vector(32) signed char}[int]' for array subscript
> libs/libyuv/source/row_common.cc:1257:34: error: invalid types 'const lvec8 {aka const __vector(32) signed char}[int]' for array subscript
> libs/libyuv/source/row_common.cc:1258:34: error: invalid types 'const lvec8 {aka const __vector(32) signed char}[int]' for array subscript
> libs/libyuv/source/row_common.cc:1259:34: error: invalid types 'const lvec8 {aka const __vector(32) signed char}[int]' for array subscript
> libs/libyuv/source/row_common.cc:1260:36: error: invalid types 'const lvec16 {aka const __vector(16) short int}[int]' for array subscript
> libs/libyuv/source/row_common.cc:1261:36: error: invalid types 'const lvec16 {aka const __vector(16) short int}[int]' for array subscript
> libs/libyuv/source/row_common.cc:1262:36: error: invalid types 'const lvec16 {aka const __vector(16) short int}[int]' for array subscript
> libs/libyuv/source/row_common.cc:1263:35: error: invalid types 'const lvec16 {aka const __vector(16) short int}[int]' for array subscript
> make: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1
> 
> 2016-05-19 0:29 GMT+02:00 Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>>:
> you have cut off any useful error messages that would be above that line.
> 
>> On May 18, 2016, at 6:25 PM, Gregor Nanger <gregor at infomedia.si <mailto:gregor at infomedia.si>> wrote:
>> 
>> I am trying to install FS on Ubuntu. When I set make, I get following error:
>> 
>> make: *** [libfreeswitch_libyuv_la-row_common.lo] Error 1
>> 
>> Any advice what I am doing wrong?
>> 
>> Best regards, Gregor
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services: 
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>> http://www.cluecon.com <http://www.cluecon.com/>
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <http://www.freeswitch.org/>
> 
> 
> 
> -- 
> Gregor Nanger
>  
> CTO
> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485 
> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia 
> • www.infomedia.si <http://www.infomedia.si/>_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160518/149bdb55/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list