<div dir="ltr">Hello,<div><br></div><div>Thank you, I will try again.</div><div><br></div><div>Happy Coding!</div><div>José Figueroa</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 10, 2019 at 11:36 AM Bipin Patel <<a href="mailto:bipin@xbipin.com">bipin@xbipin.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">hi,<br>
<br>
the way i solved this was to use the below during configure<br>
./configure -C CFLAGS="-D__alloca=alloca"<br>
<br>
<br>
On 09-07-2019 12:16, Jose Figueroa wrote:<br>
<br>
> Hello,<br>
> <br>
> Today I was trying to compile v1.8 branch using Debian 10 but I'm <br>
> getting this error on the make process:<br>
> <br>
>>>> Log:<br>
> <br>
> /usr/src/freeswitch$ make<br>
> config.status: creating Makefile<br>
> config.status: creating include/apr.h<br>
> config.status: creating build/<a href="http://apr_rules.mk" rel="noreferrer" target="_blank">apr_rules.mk</a><br>
> config.status: creating build/pkg/pkginfo<br>
> config.status: creating apr-1-config<br>
> config.status: WARNING:  '<a href="http://apr-config.in" rel="noreferrer" target="_blank">apr-config.in</a>' seems to ignore the <br>
> --datarootdir setting<br>
> config.status: creating apr.pc<br>
> config.status: creating test/Makefile<br>
> config.status: creating test/internal/Makefile<br>
> config.status: creating include/arch/unix/apr_private.h<br>
> config.status: executing libtool commands<br>
> rm: cannot remove 'libtoolT': No such file or directory<br>
> config.status: executing default commands<br>
> config.status: include/apr.h is unchanged<br>
> config.status: include/arch/unix/apr_private.h is unchanged<br>
> make[1]: Entering directory '/usr/src/freeswitch/libs/apr'<br>
> make[2]: Entering directory '/usr/src/freeswitch/libs/apr'<br>
> make[2]: Nothing to be done for 'local-all'.<br>
> make[2]: Leaving directory '/usr/src/freeswitch/libs/apr'<br>
> make[1]: Leaving directory '/usr/src/freeswitch/libs/apr'<br>
> make[1]: Entering directory '/usr/src/freeswitch/libs/apr-util'<br>
> Making all in xml/expat<br>
> make[2]: Entering directory <br>
> '/usr/src/freeswitch/libs/apr-util/xml/expat'<br>
> make[3]: Entering directory <br>
> '/usr/src/freeswitch/libs/apr-util/xml/expat/lib'<br>
> /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H <br>
> -DPACKAGE='"expat"' -DVERSION='"expat_1.95.2"' -I. -I.. <br>
> -I/usr/src/freeswitch/libs/apr-util/xml/expat/lib  -g -O2 -c xmlparse.c<br>
> libtool: compile:  gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" <br>
> -DVERSION=\"expat_1.95.2\" -I. -I.. <br>
> -I/usr/src/freeswitch/libs/apr-util/xml/expat/lib -g -O2 -c xmlparse.c  <br>
> -fPIC -DPIC -o xmlparse.o<br>
> /bin/bash ../libtool --mode=link  gcc -version-info 1:0:1 -g -O2  -o <br>
> <a href="http://libexpat.la" rel="noreferrer" target="_blank">libexpat.la</a> -rpath /usr/local/freeswitch/lib  xmlparse.lo xmltok.lo <br>
> xmlrole.lo<br>
> libtool: link: rm -fr  .libs/libexpat.a .libs/<a href="http://libexpat.la" rel="noreferrer" target="_blank">libexpat.la</a> <br>
> .libs/libexpat.lai<br>
> libtool: link: ar cru .libs/libexpat.a  xmlparse.o xmltok.o xmlrole.o<br>
> ar: `u' modifier ignored since `D' is the default (see `U')<br>
> libtool: link: ranlib .libs/libexpat.a<br>
> libtool: link: ( cd ".libs" && rm -f "<a href="http://libexpat.la" rel="noreferrer" target="_blank">libexpat.la</a>" && ln -s <br>
> "../<a href="http://libexpat.la" rel="noreferrer" target="_blank">libexpat.la</a>" "<a href="http://libexpat.la" rel="noreferrer" target="_blank">libexpat.la</a>" )<br>
> make[3]: Leaving directory <br>
> '/usr/src/freeswitch/libs/apr-util/xml/expat/lib'<br>
> make[2]: Leaving directory <br>
> '/usr/src/freeswitch/libs/apr-util/xml/expat'<br>
> make[2]: Entering directory '/usr/src/freeswitch/libs/apr-util'<br>
> make[2]: Nothing to be done for 'local-all'.<br>
> make[2]: Leaving directory '/usr/src/freeswitch/libs/apr-util'<br>
> make[1]: Leaving directory '/usr/src/freeswitch/libs/apr-util'<br>
> touch /usr/src/freeswitch/src/include/switch.h<br>
> make[1]: Entering directory '/usr/src/freeswitch/libs/srtp'<br>
> make[1]: Leaving directory '/usr/src/freeswitch/libs/srtp'<br>
> make  all-recursive<br>
> make[1]: Entering directory '/usr/src/freeswitch'<br>
> CC       src/libfreeswitch_la-switch_apr.lo<br>
> CC       src/libfreeswitch_la-switch_buffer.lo<br>
> CC       src/libfreeswitch_la-switch_caller.lo<br>
> CC       src/libfreeswitch_la-switch_channel.lo<br>
> CC       src/libfreeswitch_la-switch_console.lo<br>
> CC       src/libfreeswitch_la-switch_mprintf.lo<br>
> CC       src/libfreeswitch_la-switch_core_media_bug.lo<br>
> CC       src/libfreeswitch_la-switch_core_timer.lo<br>
> CC       src/libfreeswitch_la-switch_core_asr.lo<br>
> CC       src/libfreeswitch_la-switch_core_event_hook.lo<br>
> CC       src/libfreeswitch_la-switch_core_speech.lo<br>
> CC       src/libfreeswitch_la-switch_core_memory.lo<br>
> CC       src/libfreeswitch_la-switch_core_codec.lo<br>
> CC       src/libfreeswitch_la-switch_core_file.lo<br>
> CC       src/libfreeswitch_la-switch_core_cert.lo<br>
> CC       src/libfreeswitch_la-switch_core_hash.lo<br>
> CC       src/libfreeswitch_la-switch_core_sqldb.lo<br>
> src/switch_core_sqldb.c: In function 'switch_cache_db_status':<br>
> src/switch_core_sqldb.c:3773:4: error: 'strncpy' output truncated <br>
> before terminating nul copying as many bytes from a string as its <br>
> length [-Werror=stringop-truncation]<br>
> strncpy(cleankey_str, dbh->name, strlen(dbh->name));<br>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> cc1: all warnings being treated as errors<br>
> make[1]: *** [Makefile:2398: src/libfreeswitch_la-switch_core_sqldb.lo] <br>
> Error 1<br>
> make[1]: Leaving directory '/usr/src/freeswitch'<br>
> make: *** [Makefile:1413: all] Error 2<br>
> <br>
> <<< log Ends<br>
> <br>
> GCC:<br>
> $ gcc -v<br>
> Using built-in specs.<br>
> COLLECT_GCC=gcc<br>
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper<br>
> OFFLOAD_TARGET_NAMES=nvptx-none<br>
> OFFLOAD_TARGET_DEFAULT=1<br>
> Target: x86_64-linux-gnu<br>
> Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' <br>
> --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs <br>
> --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ <br>
> --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 <br>
> --program-prefix=x86_64-linux-gnu- --enable-shared <br>
> --enable-linker-build-id --libexecdir=/usr/lib <br>
> --without-included-gettext --enable-threads=posix --libdir=/usr/lib <br>
> --enable-nls --enable-bootstrap --enable-clocale=gnu <br>
> --enable-libstdcxx-debug --enable-libstdcxx-time=yes <br>
> --with-default-libstdcxx-abi=new --enable-gnu-unique-object <br>
> --disable-vtable-verify --enable-libmpx --enable-plugin <br>
> --enable-default-pie --with-system-zlib --with-target-system-zlib <br>
> --enable-objc-gc=auto --enable-multiarch --disable-werror <br>
> --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 <br>
> --enable-multilib --with-tune=generic <br>
> --enable-offload-targets=nvptx-none --without-cuda-driver <br>
> --enable-checking=release --build=x86_64-linux-gnu <br>
> --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>
> Thread model: posix<br>
> gcc version 8.3.0 (Debian 8.3.0-6)<br>
> <br>
> CC:<br>
> $ cc -v<br>
> Using built-in specs.<br>
> COLLECT_GCC=cc<br>
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper<br>
> OFFLOAD_TARGET_NAMES=nvptx-none<br>
> OFFLOAD_TARGET_DEFAULT=1<br>
> Target: x86_64-linux-gnu<br>
> Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' <br>
> --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs <br>
> --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ <br>
> --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 <br>
> --program-prefix=x86_64-linux-gnu- --enable-shared <br>
> --enable-linker-build-id --libexecdir=/usr/lib <br>
> --without-included-gettext --enable-threads=posix --libdir=/usr/lib <br>
> --enable-nls --enable-bootstrap --enable-clocale=gnu <br>
> --enable-libstdcxx-debug --enable-libstdcxx-time=yes <br>
> --with-default-libstdcxx-abi=new --enable-gnu-unique-object <br>
> --disable-vtable-verify --enable-libmpx --enable-plugin <br>
> --enable-default-pie --with-system-zlib --with-target-system-zlib <br>
> --enable-objc-gc=auto --enable-multiarch --disable-werror <br>
> --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 <br>
> --enable-multilib --with-tune=generic <br>
> --enable-offload-targets=nvptx-none --without-cuda-driver <br>
> --enable-checking=release --build=x86_64-linux-gnu <br>
> --host=x86_64-linux-gnu --target=x86_64-linux-gnu<br>
> Thread model: posix<br>
> gcc version 8.3.0 (Debian 8.3.0-6)<br>
> <br>
> Any help, will be appreciated!<br>
> <br>
> Thanks<br>
> Jose Figueroa<br>
> <br>
> _________________________________________________________________________<br>
> <br>
> The FreeSWITCH project is sponsored by SignalWire <br>
> <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN <br>
> services.<br>
> Build your next product on our scalable cloud platform.<br>
> <br>
> Join our online community to chat in real time <br>
> <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
> <br>
> Professional FreeSWITCH Services<br>
> <a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
> <a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
> <br>
> Official FreeSWITCH Sites<br>
> <a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
> <a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
> <a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
> <br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
</blockquote></div>