[Freeswitch-users] mod_gsmopen wont compile on rpi3

Bipin Patel bipin at xbipin.com
Sun Jun 5 18:31:18 MSD 2016


actually i tried a lot of things so dont remember what caused it but i 
think these steps made it work, most important is to make the libctb 
first then run ldconfig as root then compile the whole of FS, these 
steps assume u have built FS with the defaults first which means 
./bootstrap.sh -j was already run once.

giovanni, can u confirm if all these commands r in the correct order, if 
so then ill add it to the gsmopen page because being a linux newbie i 
dont even know what a make and configure commands does after all and 
still have no clue if its even possible to build FS for the first time 
with the mod_gsmopen enabled in modules, that's y the steps assuming FS 
was built with the defaults first :)


first go edit the modules.conf file and uncomment the mod_gsmopen

sudo apt-get install gsm-utils
sudo apt-get install libgsmme-dev
sudo apt-get install usb-modeswitch-data usb-modeswitch

cd /usr/local/src/freeswitch/src/mod/endpoints/mod_gsmopen/libctb-0.16/build
sudo make DEBUG=0 GPIB=0
sudo make DEBUG=0 GPIB=0 install
sudo ldconfig

cd /usr/local/src/freeswitch/
sudo ./configure -C
sudo make -j3
sudo make install


Regards,
Bipin


------------------------------------------------------------------------
-------- Original Message --------
Subject: Re: [Freeswitch-users] mod_gsmopen wont compile on rpi3
From: Giovanni Maruzzelli <gmaruzz at gmail.com>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: 6/5/2016, 4:40:17 PM
> can you please document it and detail it for other people who can have 
> same problem?
>
> Please, describe all steps for installing it.
>
> Thanks in advance
> -giovanni
>
> On Sun, Jun 5, 2016 at 2:11 PM, Bipin Patel <bipin at xbipin.com 
> <mailto:bipin at xbipin.com>> wrote:
>
>     its the script which FS staff had created but anyways i figured it all
>     out and it got compiled and working now, thanks
>
>
>
>     Regards,
>     Bipin
>
>
>     ------------------------------------------------------------------------
>     -------- Original Message --------
>     Subject: Re: [Freeswitch-users] mod_gsmopen wont compile on rpi3
>     From: Giovanni Maruzzelli <gmaruzz at gmail.com
>     <mailto:gmaruzz at gmail.com>>
>     To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>
>     Date: 6/5/2016, 4:02:00 PM
>     > I do not know how it works on raspberry, in a normal (x86) build you
>     > can do make install
>     >
>     > If you are using a special script to install on raspberry, please
>     > contact the script developer.
>     >
>     > -giovanni
>     >
>     > On Sun, Jun 5, 2016 at 8:07 AM, Bipin Patel <bipin at xbipin.com
>     <mailto:bipin at xbipin.com>
>     > <mailto:bipin at xbipin.com <mailto:bipin at xbipin.com>>> wrote:
>     >
>     >     i still get this
>     >
>     >     pi at raspberrypi:/usr/local/src/freeswitch $ make install
>     >     make: *** No rule to make target 'install'. Stop.
>     >     pi at raspberrypi:/usr/local/src/freeswitch $ sudo make install
>     >     make: *** No rule to make target 'install'. Stop.
>     >
>     >
>     >
>     >     Regards,
>     >     Bipin
>     >
>     >
>     >
>      ------------------------------------------------------------------------
>     >     -------- Original Message --------
>     >     Subject: Re: [Freeswitch-users] mod_gsmopen wont compile on rpi3
>     >     From: Giovanni Maruzzelli <gmaruzz at gmail.com
>     <mailto:gmaruzz at gmail.com>
>     >     <mailto:gmaruzz at gmail.com <mailto:gmaruzz at gmail.com>>>
>     >     To: FreeSWITCH Users Help
>     <freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>
>     >     <mailto:freeswitch-users at lists.freeswitch.org
>     <mailto:freeswitch-users at lists.freeswitch.org>>>
>     >     Date: 6/5/2016, 12:25:27 AM
>     >     >
>     >     > After making libs, and modules.conf,  just make install
>     >     >
>     >     > sent from mobile
>     >     > cell: +39 347 266 56 18 <tel:%2B39%20347%20266%2056%2018>
>     <tel:%2B39%20347%20266%2056%2018>
>     >     > Giovanni Maruzzelli
>     >     > OpenTelecom.IT
>     >     >
>     >     > Il 04/Giu/2016 21:53, "Bipin Patel" <bipin at xbipin.com
>     <mailto:bipin at xbipin.com>
>     >     <mailto:bipin at xbipin.com <mailto:bipin at xbipin.com>>
>     >     > <mailto:bipin at xbipin.com <mailto:bipin at xbipin.com>
>     <mailto:bipin at xbipin.com <mailto:bipin at xbipin.com>>>> ha scritto:
>     >     >
>     >     >     Thanks for the reply. Well after enabling in modules I had
>     >     run the
>     >     >     rpi3 fs install script which didn't compile it so I ran
>     >     those old
>     >     >     commands but that didn't help so let me try this method. I
>     >     enable
>     >     >     in modules file and directly run that command or do I need
>     >     to run
>     >     >     any other commands like clean, configure or any thing
>     else?
>     >     >
>     >     >     On June 4, 2016 8:53:58 PM Giovanni Maruzzelli
>     >     <gmaruzz at gmail.com <mailto:gmaruzz at gmail.com>
>     <mailto:gmaruzz at gmail.com <mailto:gmaruzz at gmail.com>>
>     >     >     <mailto:gmaruzz at gmail.com <mailto:gmaruzz at gmail.com>
>     <mailto:gmaruzz at gmail.com <mailto:gmaruzz at gmail.com>>>> wrote:
>     >     >
>     >     >>     That is the old way to compile a module.
>     >     >>
>     >     >>     After all the steps you correctly took for libs, module
>     >     enabling
>     >     >>     etc, try this:
>     >     >>
>     >     >>     cd /usr/local/src/freeswitch
>     >     >>     make install
>     >     >>
>     >     >>     it will probably works
>     >     >>
>     >     >>     -giovanni
>     >     >>
>     >     >>     On Sat, Jun 4, 2016 at 6:06 PM, Ken Rice
>     >     <krice at freeswitch.org <mailto:krice at freeswitch.org>
>     <mailto:krice at freeswitch.org <mailto:krice at freeswitch.org>>
>     >     >>     <mailto:krice at freeswitch.org <mailto:krice at freeswitch.org>
>     <mailto:krice at freeswitch.org <mailto:krice at freeswitch.org>>>> wrote:
>     >     >>
>     >     >>         Sounds like you need to open a jira and atach as
>     a txt file
>     >     >>         the full build log so e the gsmopen dev can review
>     >     >>
>     >     >>         Sent from my iPhone
>     >     >>
>     >     >>         > On Jun 4, 2016, at 10:23 AM, Bipin Patel
>     >     <bipin at xbipin.com <mailto:bipin at xbipin.com>
>     <mailto:bipin at xbipin.com <mailto:bipin at xbipin.com>>
>     >     >>         <mailto:bipin at xbipin.com
>     <mailto:bipin at xbipin.com> <mailto:bipin at xbipin.com
>     <mailto:bipin at xbipin.com>>>> wrote:
>     >     >>         >
>     >     >>         > sorry if this seems like a stupid question but im a
>     >     newbie
>     >     >>         to linux, i
>     >     >>         > compiled FS 1.6 on rpi3, later i wanted to add the
>     >     >>         mod_gsmopen module so
>     >     >>         > i enabled that in modules and recompiled but it
>     never got
>     >     >>         compiled so
>     >     >>         > then i tried compiling it standalone using the
>     below
>     >     >>         commands but make
>     >     >>         > clean and make install keep failing with message no
>     >     rule to
>     >     >>         make target
>     >     >>         > clean/install
>     >     >>         >
>     >     >>         > apt-get install gsm-utils
>     >     >>         > apt-get install libgsmme-dev
>     >     >>         > apt-get install usb-modeswitch-data usb-modeswitch
>     >     >>         > cd
>     >     >>
>     >
>     /usr/local/src/freeswitch/src/mod/endpoints/mod_gsmopen/libctb-0.16/build
>     >     >>         > make DEBUG=0 GPIB=0
>     >     >>         > make DEBUG=0 GPIB=0 install
>     >     >>         > ldconfig
>     >     >>         > cd
>     >  /usr/local/src/freeswitch/src/mod/endpoints/mod_gsmopen/
>     >     >>         > make clean
>     >     >>         > make install
>     >     >>         >
>     >     >>         >
>     >     >>         >
>     >     >>         > --
>     >     >>         > Regards,
>     >     >>         > Bipin
>     >     >>         >
>     >     >>         >
>     >     >>         >
>     >     >>
>     >
>     ------------------------------------------------------------------------
>     >     >>         >
>     >     >>         >
>     >     >>         >
>     >     >>
>     >
>     _________________________________________________________________________
>     >     >>         > Professional FreeSWITCH Consulting Services:
>     >     >>         > consulting at freeswitch.org
>     <mailto:consulting at freeswitch.org>
>     >     <mailto:consulting at freeswitch.org
>     <mailto:consulting at freeswitch.org>>
>     >     <mailto:consulting at freeswitch.org
>     <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto: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
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>     >     >>         <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>     <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto:consulting at freeswitch.org>>
>     >     <mailto:consulting at freeswitch.org
>     <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto: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
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>     >     >>         <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>     >     >>
>     >     >>
>     >     >>
>     >     >>
>     >     >>     --
>     >     >>     Sincerely,
>     >     >>
>     >     >>     Giovanni Maruzzelli
>     >     >>     Cell : +39-347-2665618 <tel:%2B39-347-2665618>
>     <tel:%2B39-347-2665618>
>     >     <tel:%2B39-347-2665618>
>     >     >>
>     _________________________________________________________________________
>     >     >>     Professional FreeSWITCH Consulting Services:
>     >     >> consulting at freeswitch.org
>     <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto:consulting at freeswitch.org>>
>     >     <mailto:consulting%40freeswitch.org
>     <mailto:consulting%2540freeswitch.org>
>     >     <mailto:consulting%2540freeswitch.org
>     <mailto:consulting%252540freeswitch.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
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>     >     >>     <mailto:FreeSWITCH-users%40lists.freeswitch.org
>     <mailto:FreeSWITCH-users%2540lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users%2540lists.freeswitch.org
>     <mailto:FreeSWITCH-users%252540lists.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
>     <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto:consulting at freeswitch.org>>
>     >     <mailto:consulting at freeswitch.org
>     <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto: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
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>     >     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>     <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto: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
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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 <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto: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
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>     >
>     >
>     >
>     >
>     > --
>     > Sincerely,
>     >
>     > Giovanni Maruzzelli
>     > Cell : +39-347-2665618 <tel:%2B39-347-2665618>
>     >
>     >
>     >
>     _________________________________________________________________________
>     > Professional FreeSWITCH Consulting Services:
>     > consulting at freeswitch.org <mailto: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
>     <mailto: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 <mailto: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
>     <mailto: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
>
>
>
>
> -- 
> Sincerely,
>
> Giovanni Maruzzelli
> Cell : +39-347-2665618
>
>
> _________________________________________________________________________
> 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





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