[Freeswitch-users] Issues with make install & freetdm

Magnus Kelly magnus.kelly at gmail.com
Thu Mar 21 01:41:59 MSK 2013


Hello all,

I am having issues with trying to build freeswitch with freedom support.

Fresh Git pull as in "git clone git://git.freeswitch.org/freeswitch.git"

Output of relevant make install error as below

Any thoughts on the potential issue?

Thanks
Magnus

making install mod_freetdm
 gcc -DPACKAGE_NAME=\"freetdm\" -DPACKAGE_TARNAME=\"freetdm\"
-DPACKAGE_VERSION=\"pre-alpha\" "-DPACKAGE_STRING=\"freetdm pre-alpha\""
-DPACKAGE_BUGREPORT=\"bugs at freeswitch.org\" -DPACKAGE=\"libfreetdm\"
-DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DDEBUG= -DHAVE_LIBDL=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBM=1
-DHAVE_NETDB_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_EXECINFO_H=1
-DHAVE_GETHOSTBYNAME_R=1 -I. -I./src/include -I.
-I/root/freeswitch/freeswitch/libs/freetdm/src/include
-I/root/freeswitch/freeswitch/libs/freetdm/src/include/private
-DFTDM_CONFIG_DIR=\"/usr/local/freeswitch/conf\"
-DFTDM_MOD_DIR=\"/usr/local/freeswitch/mod\" -ffast-math -Wall -Werror
-Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-O0 -g -ggdb -DPACKAGE_NAME=\"freetdm\" -DPACKAGE_TARNAME=\"freetdm\"
-DPACKAGE_VERSION=\"pre-alpha\" "-DPACKAGE_STRING=\"freetdm pre-alpha\""
-DPACKAGE_BUGREPORT=\"bugs at freeswitch.org\" -DPACKAGE=\"libfreetdm\"
-DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DDEBUG= -DHAVE_LIBDL=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBM=1
-DHAVE_NETDB_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_EXECINFO_H=1
-DHAVE_GETHOSTBYNAME_R=1 -D_GNU_SOURCE -g -O2 -DHAVE_ZLIB -MT
ftmod_sangoma_ss7_la-ftmod_sangoma_ss7_support.lo -MD -MP -MF
.deps/ftmod_sangoma_ss7_la-ftmod_sangoma_ss7_support.Tpo -c
src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c  -fPIC -DPIC -o
.libs/ftmod_sangoma_ss7_la-ftmod_sangoma_ss7_support.o
cc1: warnings being treated as errors
src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c: In function
'four_char_to_hex':
src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c:912: warning: 'd'
may be used uninitialized in this function
src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c:912: warning: 'b'
may be used uninitialized in this function
src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c:912: warning: 'a'
may be used uninitialized in this function
src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c:912: warning: 'c'
may be used uninitialized in this function
make[6]: *** [ftmod_sangoma_ss7_la-ftmod_sangoma_ss7_support.lo] Error 1
make[5]: *** [local_install] Error 2
make[4]: *** [install] Error 1
make[3]: *** [mod_freetdm-install] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2






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