[Freeswitch-users] Unable to compile mod_sndfile on CentOS 7

Vladislav Ivanov deforceczt at gmail.com
Tue Mar 1 12:50:18 MSK 2016


Think I have a problem again, it is not compiling as I though:

  CXX      switch_cpp.lo
cat /opt/freeswitch2/src/include/switch_cpp.h | perl /opt/freeswitch2/build/
strip.pl > /opt/freeswitch2/src/include/switch_swigable_cpp.h
  CXXLD    libfreeswitch.la

*** Warning: Linking the shared library libfreeswitch.la against the
*** static library libs/libvpx/libvpx.a is not portable!


2016-03-01 11:25 GMT+02:00 Vladislav Ivanov <deforceczt at gmail.com>:

> branch v1.6 was not compiling, with FreeSWITCH Version
> 1.7.0+git~20160229T230042Z~041dc0a62d~64bit it's all ok.
> Thanks!
>
> 2016-02-29 23:02 GMT+02:00 Sergey Safarov <s.safarov at gmail.com>:
>
>> I has compiled 9f4f67d with standard libs
>>
>> [build at build ~]$ rpm -qa | grep sndfile
>>
>> lib*sndfile*-1.0.25-10.el7.x86_64
>> lib*sndfile*-devel-1.0.25-10.el7.x86_64
>>
>> freeswitch at build.rcsnet.ru> status
>>
>> UP 0 years, 4 days, 6 hours, 8 minutes, 42 seconds, 792 milliseconds, 586
>> microseconds
>>
>> FreeSWITCH (Version 1.7.0 git 9f4f67d 2016-02-18 23:04:01Z 64bit) is ready
>>
>> 10248 session(s) since startup
>>
>> 0 session(s) - peak 17, last 5min 1
>>
>> 0 session(s) per Sec out of max 30, peak 5, last 5min 1
>>
>> 1000 session(s) max
>>
>> min idle cpu 0.00/99.10
>>
>> Current Stack Size/Max 240K/8192K
>>
>>
>> freeswitch at build.rcsnet.ru> reload mod_sndfile
>>
>> +OK Reloading XML
>>
>> -ERR unloading module [Module in use.]
>>
>> -ERR loading module [Module already loaded]
>>
>>
>> 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1999 Module
>> mod_sndfile is in use, cannot unload.
>>
>> 2016-02-29 23:59:23.695380 [WARNING] switch_loadable_module.c:1590 Module
>> mod_sndfile Already Loaded!
>>
>> 2016-02-29 23:59:23.695380 [INFO] mod_enum.c:880 ENUM Reloaded
>>
>> 2016-02-29 23:59:23.695380 [INFO] switch_time.c:1421 Timezone reloaded
>> 1781 definitions
>>
>> freeswitch at build.rcsnet.ru>
>>
>> On Mon, Feb 29, 2016 at 10:09 PM, SamyGo <govoiper at gmail.com> wrote:
>>
>>> Hi,
>>> I recently got into trouble where I compiled FS on ubuntu 14.04 and got
>>> error on this module - so I commented it out. Turned out that I was unable
>>> to play .wav files in FS.
>>> Hence I had to compile this module using an older version of
>>> libsndfile-dev since Ubuntu 14.04 installed libsndfile1.dev.
>>>
>>> It seems like you already have the same version which worked for me,
>>> maybe try executing command "ldconfig" on shell and then try.
>>>
>>> Thanks
>>> Sammy
>>>
>>> On Mon, Feb 29, 2016 at 2:05 PM, Vladislav Ivanov <deforceczt at gmail.com>
>>> wrote:
>>>
>>>> Yeah, I need it...
>>>>
>>>> 2016-02-29 20:55 GMT+02:00 Yehavi Bourvine <yehavi.bourvine at gmail.com>:
>>>>
>>>>> If you do not need this module then simply comment it out in
>>>>> modules.conf; that's what I did...
>>>>>
>>>>>                     __Yehavi:
>>>>>
>>>>> 2016-02-29 17:23 GMT+02:00 Vladislav Ivanov <deforceczt at gmail.com>:
>>>>>
>>>>>> Hey guys,
>>>>>>
>>>>>> I'm unable to compile mod_sndfile even though I have installed all
>>>>>> the devel packages.
>>>>>>
>>>>>> # yum install libsndfile-devel
>>>>>> Package libsndfile-devel-1.0.25-10.el7.x86_64 already installed and
>>>>>> latest version
>>>>>>
>>>>>> # make mod_sndfile
>>>>>> make[1]: Entering directory `/opt/freeswitch'
>>>>>> make  libfreeswitch.la
>>>>>> make[2]: Entering directory `/opt/freeswitch'
>>>>>> make[2]: Leaving directory `/opt/freeswitch'
>>>>>> make[1]: Leaving directory `/opt/freeswitch'
>>>>>> make[1]: Entering directory `/opt/freeswitch/src/mod'
>>>>>> make[2]: Entering directory `/opt/freeswitch/src/mod'
>>>>>>
>>>>>> making all mod_sndfile
>>>>>> make[3]: Entering directory
>>>>>> `/opt/freeswitch/src/mod/formats/mod_sndfile'
>>>>>> Makefile:888: *** You must install libsndfile-dev to build
>>>>>> mod_sndfile.  Stop.
>>>>>> make[3]: Leaving directory
>>>>>> `/opt/freeswitch/src/mod/formats/mod_sndfile'
>>>>>> make[2]: *** [mod_sndfile-all] Error 1
>>>>>> make[2]: Leaving directory `/opt/freeswitch/src/mod'
>>>>>> make[1]: *** [mod_sndfile] Error 2
>>>>>> make[1]: Leaving directory `/opt/freeswitch/src/mod'
>>>>>> make: *** [mod_sndfile] Error 2
>>>>>>
>>>>>>
>>>>>> Any tips?
>>>>>> Best Regards.
>>>>>>
>>>>>>
>>>>>> _________________________________________________________________________
>>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> 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/20160301/bfce4376/attachment-0001.html 


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