[Freeswitch-users] Freeswitch 1.4.21 from source and Speex

Sharath Kumar shakumarsoftware at gmail.com
Wed Sep 2 02:15:06 MSD 2015


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> 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>
> 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> 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>
>> 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
>> 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/20150901/6e965ba1/attachment-0001.html 


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