[Freeswitch-users] make mod_voicemail

Steven Ayre steveayre at gmail.com
Tue Feb 26 12:25:00 MSK 2013


Yes, there's something up with the linking. Those modules are looking for
an API call in libfreeswitch that doesn't appear to be there.

Return to your backup copies to get FS to start if you need to (you did
make one didn't you?), build all of FS & the modules you want from scratch,
then install that.

-Steve



On 26 February 2013 09:12, Archana Venugopan <a.venugopan at mundio.com> wrote:

>  Hi,****
>
> Thanks. I tried running make mod_voicemail command. But after running this
> command we  re-started freeswitch. And it throwed few errors as like below
> and freeswitch is not coming up. Please let me know what changed after
> running make mod_voicemail command.****
>
> Should I need to re-build my FS completely now?****
>
> ** **
>
> 2013-02-26 08:58:52.872222 [CRIT] switch_loadable_module.c:1310 Error
> Loading module /usr/local/freeswitch/mod/mod_cdr_csv.so****
>
> **/usr/local/freeswitch/mod/mod_cdr_csv.so: undefined symbol:
> switch_channel_expand_variables******
>
> 2013-02-26 08:58:52.872607 [CRIT] switch_loadable_module.c:1310 Error
> Loading module /usr/local/freeswitch/mod/mod_event_socket.so****
>
> **/usr/local/freeswitch/mod/mod_event_socket.so: undefined symbol:
> switch_core_session_locate******
>
> 2013-02-26 08:58:52.873116 [CRIT] switch_loadable_module.c:1310 Error
> Loading module /usr/local/freeswitch/mod/mod_lua.so****
>
> **/usr/local/freeswitch/mod/mod_lua.so: undefined symbol:
> _ZN13EventConsumerC1EPKcS1_******
>
> 2013-02-26 08:58:52.873661 [CRIT] switch_loadable_module.c:1310 Error
> Loading module /usr/local/freeswitch/mod/mod_sofia.so****
>
> **/usr/local/freeswitch/mod/mod_sofia.so: undefined symbol:
> switch_core_session_get_partner******
>
> 2013-02-26 08:58:52.874002 [CRIT] switch_loadable_module.c:1310 Error
> Loading module /usr/local/freeswitch/mod/mod_loopback.so****
>
> **/usr/local/freeswitch/mod/mod_loopback.so: undefined symbol:
> switch_core_session_get_partner******
>
> 2013-02-26 08:58:52.874354 [CRIT] switch_loadable_module.c:1310 Error
> Loading module /usr/local/freeswitch/mod/mod_commands.so****
>
> **/usr/local/freeswitch/mod/mod_commands.so: undefined symbol:
> switch_core_session_get_partner******
>
> 2013-02-26 08:58:52.874731 [CRIT] switch_loadable_module.c:1310 Error
> Loading module /usr/local/freeswitch/mod/mod_conference.so****
>
> **/usr/local/freeswitch/mod/mod_conference.so: undefined symbol:
> switch_channel_expand_variables******
>
> ** **
>
> Regards,****
>
> Archana****
>
> ** **
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Steven Ayre
> *Sent:* 23 February 2013 14:37
>
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] make mod_voicemail****
>
>  ** **
>
> Building will only affect files within the source directory - not your
> install paths (/usr/local/freeswitch).****
>
> ** **
>
> Make sure you build mod_voicemail using the same version of FS as you're
> running though - otherwise there may be differences in the core API between
> the version being used by freeswitch and by the module.****
>
> ** **
>
> -Steve****
>
> ** **
>
> ** **
>
> On 23 February 2013 13:35, Archana Venugopan <a.venugopan at mundio.com>
> wrote:****
>
> If its building the core whether it would affect the scripts inside
> /usr/local/freeswitch folder as well? If yes then all the scripts inside
> would be lost. Please let me know.****
>
>  ****
>
> Regards,****
>
> Archana****
>
>  ****
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Steven Ayre
> *Sent:* 23 February 2013 13:06****
>
>
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] make mod_voicemail****
>
>  ****
>
> This shows that it's building the FS core (src/switch_ivr.c is part of
> that).****
>
>  ****
>
> That means that file hadn't been built or the build wasn't up-to-date.
> Building the module without the core is not possible - the below is
> expected behaviour. Once the core and module are built, the -install will
> only install the module not the rest.****
>
>  ****
>
> -Steve****
>
>  ****
>
>  ****
>
> On 21 February 2013 09:30, Archana Venugopan <a.venugopan at mundio.com>
> wrote:****
>
> I am afraid if that is as well installing everything so I just stopped it.
> ****
>
>  ****
>
> [root at sme-xswitch freeswitch]# make mod_voicemail-install****
>
> quiet_libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src/include
> -I./libs/xmlrpc-c -I/usr/local/src/freeswitch/libs/curl/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden
> -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -pthread -DLINUX=2
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -I/usr/local/src/freeswitch/libs/apr/include
> -I/usr/local/src/freeswitch/libs/apr-util/include
> -I/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib
> -I/usr/local/src/freeswitch/libs/libtpl-1.5/src
> -I/usr/local/src/freeswitch/libs/stfu
> -I/usr/local/src/freeswitch/libs/sqlite
> -I/usr/local/src/freeswitch/libs/pcre
> -I/usr/local/src/freeswitch/libs/speex/include -Ilibs/speex/include
> -I/usr/local/src/freeswitch/libs/srtp/include
> -I/usr/local/src/freeswitch/libs/srtp/crypto/include
> -Ilibs/srtp/crypto/include -I/usr/local/src/freeswitch/libs/spandsp/src
> -I/usr/local/src/freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP
> -DSWITCH_HAVE_ODBC -I/usr/include
> -I/usr/local/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT
> -I/usr/local/src/freeswitch/libs/curl/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -Werror
> -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
> -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g
> -O2 -MT libfreeswitch_la-switch_ivr.lo -MD -MP -MF
> .deps/libfreeswitch_la-switch_ivr.Tpo -c src/switch_ivr.c  -fPIC -DPIC -o
> .libs/libfreeswitch_la-switch_ivr.o****
>
> quiet_libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src/include
> -I./libs/xmlrpc-c -I/usr/local/src/freeswitch/libs/curl/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden
> -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -pthread -DLINUX=2
> -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
> -I/usr/local/src/freeswitch/libs/apr/include
> -I/usr/local/src/freeswitch/libs/apr-util/include
> -I/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib
> -I/usr/local/src/freeswitch/libs/libtpl-1.5/src
> -I/usr/local/src/freeswitch/libs/stfu
> -I/usr/local/src/freeswitch/libs/sqlite
> -I/usr/local/src/freeswitch/libs/pcre
> -I/usr/local/src/freeswitch/libs/speex/include -Ilibs/speex/include
> -I/usr/local/src/freeswitch/libs/srtp/include
> -I/usr/local/src/freeswitch/libs/srtp/crypto/include
> -Ilibs/srtp/crypto/include -I/usr/local/src/freeswitch/libs/spandsp/src
> -I/usr/local/src/freeswitch/libs/tiff-4.0.2/libtiff -DENABLE_SRTP
> -DSWITCH_HAVE_ODBC -I/usr/include
> -I/usr/local/src/freeswitch/libs/libedit/src -DSWITCH_HAVE_LIBEDIT
> -I/usr/local/src/freeswitch/libs/curl/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -Werror
> -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
> -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -g
> -O2 -MT libfreeswitch_la-switch_ivr.lo -MD -MP -MF
> .deps/libfreeswitch_la-switch_ivr.Tpo -c src/switch_ivr.c -o
> libfreeswitch_la-switch_ivr.o >/dev/null 2>&1****
>
> ^Cmake[1]: *** [libfreeswitch_la-switch_ivr.lo] Error 1****
>
> make: *** [mod_voicemail-install] Interrupt****
>
>  ****
>
> Regards,****
>
> Archana****
>
>  ****
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Avi Marcus
> *Sent:* 21 February 2013 09:24
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] make mod_voicemail****
>
>  ****
>
> Try:****
>
>
>
> ****
>
>
>
> ****
>
> make mod_voicemail-install****
>
>
> ****
>
> -Avi Marcus****
>
>  ****
>
> On Thu, Feb 21, 2013 at 11:10 AM, Archana Venugopan <
> a.venugopan at mundio.com> wrote:****
>
> Hi,****
>
>  ****
>
> When I try to give ‘make mod_voicemail’ command, I  see its compiling
> everything as like make command instead of just doing mod_voicemail. ****
>
> Can someone suggest why is this happening and what can be done to just
> compile mod_voicemail. Many thanks.****
>
>  ****
>
> Regards,****
>
> Archana****
>
>  ****
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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://wiki.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://wiki.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://wiki.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/20130226/7774785d/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list