[Freeswitch-users] FreeSwitch 1.3.7 Final - mod_freetdm Compilation Failure

Moises Silva moises.silva at gmail.com
Sun Apr 21 04:31:01 MSD 2013


On Tue, Apr 9, 2013 at 2:05 PM, Arpit Gadle <gadle.arpit at gmail.com> wrote:

> Hi All,
>
> I had downloaded *freeswitch-1.3.17-final.tar.gz *from
> http://git.freeswitch.org/git/freeswitch/.
>
> ./bootstrap.sh and ./configure steps were completed successfully but
>
> make command failed with following error message
>
> *CC     ftmod_sangoma_ss7_la-ftmod_sangoma_ss7_support.lo*
> *In file included from
> src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.h:55,*
> *                 from
> src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c:35:*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_m2ua.h:77: error:
> ‘SCT_MAX_NET_ADDRS’ undeclared here (not in a function)*
> *In file included from
> src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.h:55,*
> *                 from
> src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c:35:*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_m2ua.h:105: error:
> ‘MW_MAX_NUM_OF_PEER’ undeclared here (not in a function)*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_m2ua.h:109: error:
> ‘MW_MAX_NUM_OF_INTF’ undeclared here (not in a function)*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_m2ua.h:112: error:
> ‘MW_MAX_NUM_OF_CLUSTER’ undeclared here (not in a function)*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_m2ua.h:129: error:
> expected declaration specifiers or ‘...’ before ‘SbMgmt’*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_m2ua.h:130: error:
> expected declaration specifiers or ‘...’ before ‘MwMgmt’*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_m2ua.h:131: error:
> expected declaration specifiers or ‘...’ before ‘NwMgmt’*
> *In file included from
> src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c:35:*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.h:804: error:
> expected declaration specifiers or ‘...’ before ‘MwMgmt’*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.h:805: error:
> expected declaration specifiers or ‘...’ before ‘NwMgmt’*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.h:806: error:
> expected declaration specifiers or ‘...’ before ‘HiMngmt’*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_main.h:807: error:
> expected declaration specifiers or ‘...’ before ‘SbMgmt’*
> *cc1: warnings being treated as errors*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c: In function
> ‘sngss7_save_iam’:*
> *src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c:3340: error:
> format ‘%d’ expects type ‘int’, but argument 10 has type ‘size_t’*
> *make[6]: *** [ftmod_sangoma_ss7_la-ftmod_sangoma_ss7_support.lo] Error 1*
> *make[5]: *** [../libfreetdm.la] Error 2*
> *make[4]: *** [all] Error 1*
> *make[3]: *** [mod_freetdm-all] Error 1*
> *make[2]: *** [all-recursive] Error 1*
> *make[1]: *** [all-recursive] Error 1*
> *make: *** [all] Error 2*
>
>
The Sangoma SS7 module is commercial, you need a license and it is quite
complex to configure that you'll need the GUI that comes with the license.
I don't think the SS7 library you're using is up to date, and hence the
compilation error.

If you do have a license contact Sangoma support at
http://support.sangoma.com/ please, they'll help you get you going.

If you do not care about SS7 just remove the SS7 library you installed and
re-run the configure script for freetdm and then try to compile again.

*Moises Silva
**Manager, Software Engineering***

msilva at sangoma.com

Sangoma Technologies

100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada


t.   +1 800 388 2475 (N. America)

t.   +1 905 474 1990 x128

f.   +1 905 474 9223



**<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures>

Products<http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Solutions<http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Events<http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Contact<http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Wiki<http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Facebook<http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
 | Twitter<http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`|
| YouTube<http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130420/9fc1b966/attachment.html 


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