[Freeswitch-users] OpenR2/ftmod_r2 Installation on Sangoma/Digium

Moises Silva moises.silva at gmail.com
Fri Aug 19 03:14:21 MSD 2016


>
>
> Back to my installation, I encountered this error when I "make" FS:
>
> CC       ftmod_r2_la-ftmod_r2.lo
> src/ftmod/ftmod_r2/ftmod_r2.c: In function 'ftdm_r2_on_dnis_digit_
> received':
> src/ftmod/ftmod_r2/ftmod_r2.c:1024:18: error: variable 'r2data' set but
> not used [-Werror=unused-but-set-variable]
>   ftdm_r2_data_t *r2data;
>
> I did "boostrap.sh" and "./configure --enable-core-odbc-support
> --enable-core-pgsql-support". I also tried adding this configure flag
> "--enable-64".  Whats wrong?
>

This is just a warning that is being treated as an error.

I pushed this fix:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/7b9184e94fe57e0921974a70697c6d5760f717ba

You can try cherry-picking this into your 1.6 branch (git cherry-pick
7b9184e94fe57e0921974a70697c6d5760f717ba)

At some point that fix will find its way into 1.6, but not sure how often
master is merged into 1.6, so I don't know when.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160818/20a79bad/attachment.html 


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