[Freeswitch-users] Freeswitch 1.4.21 from source and Speex

Michael Jerris mike at jerris.com
Wed Sep 2 05:06:57 MSD 2015


those are out of apr-util but we don't use them, and I thought that in our
configure we pass to that we disable those.  What steps exactly are you
going through trying to build this?  You shouldn't need to be building your
own apr libs, those should build as part of our build proces, and in my
experience they should cross easily.  can you reply with some details of
the platform your trying to cross to and why your build scripts look like
so far?  Also, we are getting ready to release 1.6 very soon.  If you are
already making a huge version jump I would reccomend you working off master
which will become 1.6 instead of 1.4.

On Tuesday, September 1, 2015, Sharath Kumar <shakumarsoftware at gmail.com>
wrote:

> Mike,
> That is great! I ran it through autoconf and It compiles now but I have
> strange linking errors in libfreeswitch <http://libfreeswitch.la/>.so
> :(.  Does FS require LDAP lib or is it the apr-util that is not being
> linked not sure? I searched for these symbols in the older FS and it is
> nowhere to be found in the .so. The sources also don't have them! Any help
> would be great!
>
> thank you,
> Shaks
>
>
> ./.libs/libfreeswitch.so: undefined reference to `ber_free'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_err2string'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_get_dn_ber'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_get_option'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_sasl_bind'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_search_ext'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_memfree'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_msgfree'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_first_message'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_unbind_ext'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_get_attribute_ber'
> ./.libs/libfreeswitch.so: undefined reference to `ber_memfree'
> ./.libs/libfreeswitch.so: undefined reference to `ldap_next_message'
> ./.libs/libfreeswitch.so: undefined reference to
> `ldap_pvt_url_scheme2proto'
>
>
> On Tue, Sep 1, 2015 at 1:50 PM, Michael Jerris <mike at jerris.com
> <javascript:_e(%7B%7D,'cvml','mike at jerris.com');>> wrote:
>
>> Recent code uses automake.  The rules are in there:
>>
>> :grep lib_LTLIBRARIES Makefile.am
>> lib_LTLIBRARIES          = libfreeswitch.la
>>
>> On Sep 1, 2015, at 3:39 PM, Sharath Kumar <shakumarsoftware at gmail.com
>> <javascript:_e(%7B%7D,'cvml','shakumarsoftware at gmail.com');>> wrote:
>>
>> Mike,
>> Thank you! I was migrating from FS 1.0.6 to 1.4.21 and the old one *had*
>> the speex in the lib. I guess the latest doesn't use it. thanks for the
>> clarification. I guess I will have to manually build speex for my embedded
>> target and install it as a package.
>> I am also confused about building the FS library i.e "libfreeswitch.la".
>> In the older FS, there is a Makefile.in that had rules to make the
>> libfreeswitch.la. I may not have looked hard enough but the newer one
>> (Makefile.in) doesn't seem to have any rules to build libfreeswitch.la.
>> Am I completely mistaken ?
>>
>> thank you,
>> Shaks
>>
>> On Tue, Sep 1, 2015 at 10:38 AM, Michael Jerris <mike at jerris.com
>> <javascript:_e(%7B%7D,'cvml','mike at jerris.com');>> wrote:
>>
>>> There is no without-speex, as we use some speex functionality in the
>>> core.  We use system packages for the speex library, as detected using
>>> pkg-config.  I'm not sure how you could get an error building freeswitch
>>> that is attempting to build speex, as we do not build speex.
>>>
>>>
>>> > On Aug 31, 2015, at 4:52 PM, Sharath Kumar <shakumarsoftware at gmail.com
>>> <javascript:_e(%7B%7D,'cvml','shakumarsoftware at gmail.com');>> wrote:
>>> >
>>> > Hi,
>>> >
>>> > I'm trying to cross-compile for an embedded target and building the
>>> latest production build from source but it fails trying to build speex.
>>> >
>>> > I also noticed in the libs directory there is no speex folder, so I
>>> had to copy it from some other place.
>>> >
>>> > How do I disable speex from compiling ? is it with --without-speex in
>>> the configure script ?
>>> >
>>> > thanks,
>>> > Shaks
>>> >
>>> _________________________________________________________________________
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> <javascript:_e(%7B%7D,'cvml','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
>>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','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/20150901/57a900ee/attachment-0001.html 


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