[Freeswitch-dev] where are CORE_SOFTTIMER_MODULE.so and CORE_PCM_MODULE.so?
jesse
chat2jesse at gmail.com
Thu Jun 16 23:58:37 MSD 2011
- Our corporation has differ build system, makefile can not be used any
more. I have to convert it into internal build config file, that is a big
hassle I was working on during the last two weeks.
- after the cross compiling, I can build all those dynamic mod_console/...
shared libraries.
But the target that bundles files like switch_core.c/switch_core_hash.c....
under /src is the culprit. Should the target be shared library
libfreeswitch.so or libfreeswitch.la? I tried both,
if it is built as libfreeswitch.so, then the executable built from switch.c
will complain " switch.c:80: error: undefined reference to
'switch_core_session_ctl'"..etc.
If it is built as libfreeswitch.la, the the launching of freeswitch will
fail and throws error "switch_loadable_module.c:882 Error Loading module
/CORE_SOFTTIMER_MODULE.so"
please share your advice.
I am building with fs 1.0.6.
-jesse
On Jun 16, 2011 12:36 PM, "Steven Ayre" <steveayre at gmail.com> wrote:
> Do you mind if I ask why it's causing problems for your cross compiling?
It
> makes it sound like you're compiling FS natively then cross compiling?
>
> If so, there's a much better way to do it that plenty of people are using
> successfully - you can give your target architecture to configure as an
> option and autoconf/automake/libtool will do the rest for you.
>
> -Steve
>
>
> On 16 June 2011 20:25, Steven Ayre <steveayre at gmail.com> wrote:
>
>> They're built in. They're not separate modules, there's no need to load
>> them.
>>
>> The .so is a shared library.
>> The .la is a static library created by libtool. It's like a .a file if
you
>> weren't using libtool.
>>
>> -Steve
>>
>>
>>
>> On 16 June 2011 20:02, jesse <chat2jesse at gmail.com> wrote:
>>
>>> in the core? I guess it is included in libfreeswitch.so.
>>>
>>> based on the makefile output the libfreeswitch has two forms :
>>> libfreeswitch.la and libfreeswitch.so, what is the reason ? It creates a
>>> big headache for our cross compiling..
>>>
>>> -jesse
>>>
>>>
>>> On Thu, Jun 16, 2011 at 11:31 AM, Anthony Minessale <
>>> anthony.minessale at gmail.com> wrote:
>>>
>>>> in the core =D
>>>>
>>>>
>>>> On Thu, Jun 16, 2011 at 1:17 PM, jesse <chat2jesse at gmail.com> wrote:
>>>> > I am doing cross compiling of freeswitch.
>>>> > 2011-06-16 11:12:46.912825 [WARNING] switch_loadable_module.c:948
>>>> Module
>>>> > path /CORE_SOFTTIMER_MODULE.so and file CORE_SOFTTIMER_MODULE to be
>>>> loaded
>>>> > ...!
>>>> > 2011-06-16 11:12:46.912890 [CRIT] switch_loadable_module.c:882 Error
>>>> Loading
>>>> > module /CORE_SOFTTIMER_MODULE.so
>>>> > **/CORE_SOFTTIMER_MODULE.so: cannot open shared object file: No such
>>>> file or
>>>> > directory**
>>>> > 2011-06-16 11:12:46.912905 [WARNING] switch_loadable_module.c:948
>>>> Module
>>>> > path /CORE_PCM_MODULE.so and file CORE_PCM_MODULE to be loaded ...!
>>>> > 2011-06-16 11:12:46.912941 [CRIT] switch_loadable_module.c:882 Error
>>>> Loading
>>>> > module /CORE_PCM_MODULE.so
>>>> > **/CORE_PCM_MODULE.so: cannot open shared object file: No such file
or
>>>> > directory**
>>>> >
>>>> > I can't find them under /usr/local/freeswitch. where are they?
>>>> > -jesse
>>>> > _______________________________________________
>>>> > FreeSWITCH-dev mailing list
>>>> > FreeSWITCH-dev at lists.freeswitch.org
>>>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>>> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>>> > http://www.freeswitch.org
>>>> >
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Anthony Minessale II
>>>>
>>>> FreeSWITCH http://www.freeswitch.org/
>>>> ClueCon http://www.cluecon.com/
>>>> Twitter: http://twitter.com/FreeSWITCH_wire
>>>>
>>>> AIM: anthm
>>>> MSN:anthony_minessale at hotmail.com
>>>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
>>>> IRC: irc.freenode.net #freeswitch
>>>>
>>>> FreeSWITCH Developer Conference
>>>> sip:888 at conference.freeswitch.org
>>>> googletalk:conf+888 at conference.freeswitch.org
>>>> pstn:+19193869900
>>>>
>>>> _______________________________________________
>>>> FreeSWITCH-dev mailing list
>>>> FreeSWITCH-dev at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> FreeSWITCH-dev mailing list
>>> FreeSWITCH-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> http://www.freeswitch.org
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110616/0a3c3de6/attachment-0001.html
More information about the FreeSWITCH-dev
mailing list