[Freeswitch-users] FreeSWITCH 1.6.5-1 mod_flite issue on Centos 7.1.1503

Luis Daniel Lucio Quiroz luis.daniel.lucio at gmail.com
Wed Nov 25 08:39:33 MSK 2015


i will explain the issue, I know the cause, i haven't had time to trace the
solution

it is the inline thing, centos 6/7 uses -O2 or -O3 (it varies, and I don't
remember when/why). O2 and superior tries to do inlining whenever it is
possible.  Inlining won't be on the linking and there is where it fails
(google about that, there is a good explanation, better than this).

So, to fix this issue, we need to find the definition of that library. If
it is inline, we should take the inline thing, if it is not inline, we need
to figure out how to tell the gcc to not try inline optimizations. using
--no-inline-* options won't worki, -O2 has precedence.


As far as I remember, this issue is not on flite. I think I read the code
once, and flite does not do a call to nd_pcm_hw_params_any, but alsa does.

LD


Luis Daniel Lucio Quiroz
CISSP, CISM, CISA
Linux, VoIP and much more fun
www.okay.com.mx

Need LCR? Check out LCR for FusionPBX with FreeSWITCH
Need Billing? Check out Billing for FusionPBX with FreeSWITCH

2015-11-24 23:07 GMT-05:00 Sergey Safarov <s.safarov at gmail.com>:

> Also exist FS-8084 <https://freeswitch.org/jira/browse/FS-8084>
>
> On Tue, Nov 24, 2015 at 10:38 PM, Jonathan Hunter <
> jhunter at voxboxcoms.co.uk> wrote:
>
>> Thanks Michael, created under FS-8567
>> <https://freeswitch.org/jira/browse/FS-8567>.
>>
>> Jon
>>
>> On Tue, Nov 24, 2015 at 7:12 PM, Michael Jerris <mike at jerris.com> wrote:
>>
>>> please file a jira on this
>>>
>>>
>>> On Tuesday, November 24, 2015, Jonathan Hunter <jhunter at voxboxcoms.co.uk>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am still having issues with loading mod_flite on FreeSWITCH 1.6.5-1
>>>> and this is after moving to Centos 7.1.1503 from 6.7.
>>>>
>>>> I have installed FreeSWITCH from packages as per confluence;
>>>>
>>>> rpm -Uvh http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm
>>>> yum install freeswitch-config-vanilla
>>>> yum install sox freeswitch-sounds*
>>>>
>>>> I have also installed;
>>>>
>>>>
>>>> freeswitch-asrtts-flite.x86_64.
>>>>
>>>> However when starting up and trying to load mod_flite I am now getting;
>>>>
>>>> 2015-11-24 18:53:03.320552 [CRIT] switch_loadable_module.c:1520 Error
>>>> Loading module /usr/lib64/freeswitch/mod/mod_flite.so
>>>> **/usr/lib64/libflite.so.1: undefined symbol: snd_pcm_hw_params_any**
>>>>
>>>> I have installed also;
>>>>
>>>>
>>>>  yum list | grep flite*
>>>> flite.x86_64                              2.0.0-0.el7.centos
>>>> @freeswitch
>>>> flite-debuginfo.x86_64                    2.0.0-0.el7.centos
>>>> @freeswitch
>>>> flite-devel.x86_64                        2.0.0-0.el7.centos
>>>> @freeswitch
>>>> freeswitch-asrtts-flite.x86_64            1.6.5-1.el7.centos
>>>> @freeswitch
>>>> and
>>>> yum list | grep alsa*
>>>> alsa-firmware.noarch                      1.0.28-2.el7
>>>> @anaconda
>>>> alsa-lib.x86_64                           1.0.28-2.el7
>>>> @anaconda
>>>> alsa-lib-devel.x86_64                     1.0.28-2.el7
>>>> @base
>>>> alsa-tools-firmware.x86_64                1.0.27-4.el7
>>>> @anaconda
>>>> alsa-utils.x86_64                         1.0.28-4.el7
>>>> @base
>>>>
>>>> Am I missing another package of some sort? Any help appreciated.
>>>>
>>>> thanks
>>>>
>>>> Jon
>>>>
>>>>
>>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>> Jonathan Hunter
>> Technical Director /Telephony Developer
>> M:(+44) 7917 190 438
>> Email:jhunter at voxboxcoms.co.uk
>>
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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/20151125/7f3ca000/attachment-0001.html 


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