On Tue, Apr 9, 2013 at 2:05 PM, Arpit Gadle <gadle.arpit@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@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

 

Products | Solutions | Events | Contact | Wiki | Facebook | Twitter`| | YouTube