*** Warning: Linking the shared library libfreeswitch.la against the
*** static library libs/libvpx/libvpx.a is not portable!
/usr/bin/ld: libs/libvpx/libvpx.a(vpx_codec.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
libs/libvpx/libvpx.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [libfreeswitch.la] Error 1
make[1]: Leaving directory `/usr/local/src/freeswitch'
make: *** [all] Error 2
--
=====================================================================
Documentation : https://astppdoc.atlassian.net/
Please contact at sa...@inextrix.com for commercial support.
---
You received this message because you are subscribed to the Google Groups "ASTPP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/2a42c557-86f3-46b7-8a02-f1bfb796ba25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+un...@googlegroups.com.
[root@tuscany-tele freeswitch]# make all install cd-sounds-install cd-moh-install
cd libs/libvpx && CC="gcc" CXX="g++" CFLAGS="-g -O2" CXXFLAGS="-g -O2" LDFLAGS="" ./configure --enable-pic --disable-docs --disable-examples --disable-install-bins --disable-install-srcs --disable-unit-tests --extra-cflags="-fvisibility=hidden"
enabling pic
disabling docs
disabling examples
disabling install_bins
disabling install_srcs
disabling unit_tests
Configuring selected codecs
enabling vp8_encoder
enabling vp8_decoder
enabling vp9_encoder
enabling vp9_decoder
Configuring for target 'x86_64-linux-gcc'
enabling x86_64
enabling runtime_cpu_detect
enabling mmx
enabling sse
enabling sse2
enabling sse3
enabling ssse3
enabling sse4_1
enabling avx
enabling avx2
Neither yasm nor nasm have been found. See the prerequisites section in the README for more info.
Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.log) to determine what
configure was trying to do when it died.
make: *** [libs/libvpx/Makefile] Error 1
sed: can't read /etc/sysconfig/selinux: No such file or directory
sed: can't read /etc/selinux/config: No such file or directory
./install.sh: line 489: setenforce: command not found
Created symlink from /etc/systemd/system/multi-user.target.wants/nginx.service to /usr/lib/systemd/system/nginx.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/php-fpm.service to /usr/lib/systemd/system/php-fpm.service.
Job for freeswitch.service failed because the control process exited with error code. See "systemctl status freeswitch.service" and "journalctl -xe" for details.
Failed to stop firewalld.service: Unit firewalld.service not loaded.
Note: Forwarding request to 'systemctl enable mariadb.service'.
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
error reading information on service firewalld: No such file or directory
/bin/cp: target '/usr/local/freeswitch/conf/autoload_configs/' is not a directory
./install.sh: line 527: /var/spool/cron/astpp: No such file or directory
chmod: cannot access '/var/spool/cron/astpp': No such file or directory
./install.sh: line 529: crontab: command not found
error reading information on service nginx: No such file or directory
Note: Forwarding request to 'systemctl enable nginx.service'.
error reading information on service mysqld: No such file or directory
error reading information on service mysqld: No such file or directory
Job for freeswitch.service failed because the control process exited with error code. See "systemctl status freeswitch.service" and "journalctl -xe" for details.
[root@tuscany~]# systemctl status freeswitch.service
* freeswitch.service - SYSV: Freeswitch centos init script config:
Loaded: loaded (/etc/rc.d/init.d/freeswitch; bad; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2017-05-11 10:53:00 UTC; 20s ago
Docs: man:systemd-sysv-generator(8)
Process: 585 ExecStart=/etc/rc.d/init.d/freeswitch start (code=exited, status=127)
May 11 10:51:57 tuscany systemd[1]: Failed to start SYSV: Freeswitch centos init script config:.
May 11 10:51:57 tuscany systemd[1]: Unit freeswitch.service entered failed state.
May 11 10:51:57 tuscany systemd[1]: freeswitch.service failed.
May 11 10:53:00 tuscany systemd[1]: Starting SYSV: Freeswitch centos init script config:...
May 11 10:53:00 tuscany freeswitch[585]: /etc/rc.d/init.d/freeswitch: line 40: /usr/local/freeswitch/bin/freeswitch: No such file or directory
May 11 10:53:00 tuscany systemd[1]: freeswitch.service: control process exited, code=exited status=127
May 11 10:53:00 tuscany freeswitch[585]: [FAILED]
May 11 10:53:00 tuscany systemd[1]: Failed to start SYSV: Freeswitch centos init script config:.
May 11 10:53:00 tuscany systemd[1]: Unit freeswitch.service entered failed state.
May 11 10:53:00 tuscany systemd[1]: freeswitch.service failed.
This only happens on ver 1.6.17, 1.6.16, 1.6.15
I can confirm 1.6.14 and 1.6.13 works...
git clone -b v1.6.14 https://freeswitch.org/stash/scm/fs/freeswitch.git
To unsubscribe from this group and stop receiving emails from it, send an email to astpp+unsubscribe@googlegroups.com.
To post to this group, send email to as...@googlegroups.com.
Visit this group at https://groups.google.com/group/astpp.
To view this discussion on the web visit https://groups.google.com/d/msgid/astpp/f03266d0-a25d-4146-bd8c-ac5d4eefe81c%40googlegroups.com.