[Freeswitch-users] Error while making gsmopen module in FS.

Anurag Rana anuragrana31189 at gmail.com
Fri Dec 12 21:24:35 MSK 2014


According to Wiki page I need to compile and install gsmlib and libctb.

These both are available in folder.
*/usr/local/src/freeswitch/src/mod/endpoints/mod_gsmopen*

Earlier make command was complaining about not finding "ctb-0.16/ctb.h", So
I *copied* the folder "ctb-0.16" from
*/endpoints/mod_gsmopen/libctb-0.16/include* to */endpoints/mod_gsmopen/ . *now
this error is gone but a new error is coming up.

/usr/bin/ld: cannot find -lctb-0.16

this is because of below line in MAKEFILE

*mod_gsmopen_la_LDFLAGS = -avoid-version -module -no-undefined -lctb-0.16
-lgsmme*


any suggestion please?



Anurag Rana <https://sites.google.com/site/homepagerana/>
M.Tech CSE, IIIT-Delhi,
https://sites.google.com/site/homepagerana/
<http://home.iiitd.edu.in/%7Eanurag1392/>




On Fri, Dec 12, 2014 at 11:18 PM, Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:
>
> The wiki page describes the prerequisites and the way to install.
>
> sent from my mobile,
> Giovanni Maruzzelli
> cell: +39 347 266 56 18
> On Dec 12, 2014 6:45 PM, "Brian West" <brian at freeswitch.org> wrote:
>
>> I would review the confluence or wiki pages on setting this up, you're
>> missing the ilbs/files to compile the module properly.
>>
>> On Fri, Dec 12, 2014 at 11:25 AM, Anurag Rana <anuragrana31189 at gmail.com>
>> wrote:
>>>
>>> Hi All,
>>>
>>> I installed FreeSwitch and now I am trying to add gsmopen module.
>>> I edited the modules.conf file and uncommented the line
>>> "endpoints/mod_gsmopen"
>>>
>>> Now While running the command "make install all" , I am getting this
>>> error -
>>> ==================================================
>>> making install mod_gsmopen
>>> make[4]: Entering directory
>>> `/usr/local/src/freeswitch/src/mod/endpoints/mod_gsmopen'
>>> make  install-am
>>> make[5]: Entering directory
>>> `/usr/local/src/freeswitch/src/mod/endpoints/mod_gsmopen'
>>>   CXX      mod_gsmopen_la-mod_gsmopen.lo
>>> In file included from mod_gsmopen.cpp:34:0:
>>> gsmopen.h:103:26: fatal error: ctb-0.16/ctb.h: No such file or directory
>>>  #include "ctb-0.16/ctb.h"
>>>                           ^
>>> compilation terminated.
>>> make[5]: *** [mod_gsmopen_la-mod_gsmopen.lo] Error 1
>>> make[5]: Leaving directory
>>> `/usr/local/src/freeswitch/src/mod/endpoints/mod_gsmopen'
>>> make[4]: *** [install] Error 2
>>> make[4]: Leaving directory
>>> `/usr/local/src/freeswitch/src/mod/endpoints/mod_gsmopen'
>>> make[3]: *** [mod_gsmopen-install] Error 1
>>> make[3]: Leaving directory `/usr/local/src/freeswitch/src/mod'
>>> make[2]: *** [install-recursive] Error 1
>>> make[2]: Leaving directory `/usr/local/src/freeswitch/src'
>>> make[1]: *** [install-recursive] Error 1
>>> make[1]: Leaving directory `/usr/local/src/freeswitch'
>>> make: *** [install] Error 2
>>> ========================================================
>>>
>>> ​[image: Inline image 1]​
>>>
>>>
>>>
>>> ​Please help  me resolving this error.​
>>>
>>>
>>> Anurag Rana <https://sites.google.com/site/homepagerana/>
>>> M.Tech CSE, IIIT-Delhi,
>>> https://sites.google.com/site/homepagerana/
>>> ​​
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>
>>
>> --
>>
>> *Brian West*
>> brian at freeswitch.org
>>
>>
>> *Twitter: @FreeSWITCH , @briankwest*
>> http://www.freeswitchbook.com
>> http://www.freeswitchcookbook.com
>>
>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>
>> _________________________________________________________________________
>> 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/20141212/03abac63/attachment.html 


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