[Freeswitch-users] FreeTDM ftmod pri tap error

Gopalakrishnan N gopalakrishnan.an at gmail.com
Mon Nov 26 15:51:12 MSK 2012


Hi,

Am trying to install ftmod pri tap by following this link
http://wiki.freeswitch.org/wiki/FreeTDM#Tapping and enabled --with-pritap
while doing ./configure, and while doing make I get error.

Can someone help me on this. Do I need to update any patch for tap?

My installation log is attached here.

Regards.
Gopal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121126/550f4d70/attachment.html 
-------------- next part --------------
============================ FreeTDM configuration ============================

+ Modules

  Signalling:
        ftmod_analog....................... yes
        ftmod_analog_em.................... yes
        ftmod_isdn......................... no
        ftmod_libpri....................... yes
        ftmod_sangoma_isdn................. no
        ftmod_sangoma_ss7.................. no
        ftmod_r2........................... no
        ftmod_gsm.......................... no
        ftmod_pritap....................... yes
  I/O:
        ftmod_zt........................... yes
        ftmod_wanpipe...................... no
        ftmod_misdn........................ no

===============================================================================

[root at localhost freetdm]# make
if /bin/sh ./libtool --tag=CC --mode=compile 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 -DHAVE_LIBPRI_BRI=1 -DHAVE_LIBPRI_AOC=1  -I. -I./src/include -I.    -I/usr/src/freeswitch-1.2.3/libs/freetdm/src/include -I/usr/src/freeswitch-1.2.3/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 -DHAVE_LIBPRI_BRI=1 -DHAVE_LIBPRI_AOC=1   -g -O2 -DHAVE_ZLIB -MT ftmod_pritap_la-ftmod_pritap.lo -MD -MP -MF ".deps/ftmod_pritap_la-ftmod_pritap.Tpo" -c -o ftmod_pritap_la-ftmod_pritap.lo `test -f 'src/ftmod/ftmod_pritap/ftmod_pritap.c' || echo './'`src/ftmod/ftmod_pritap/ftmod_pritap.c; \
        then mv -f ".deps/ftmod_pritap_la-ftmod_pritap.Tpo" ".deps/ftmod_pritap_la-ftmod_pritap.Plo"; else rm -f ".deps/ftmod_pritap_la-ftmod_pritap.Tpo"; exit 1; fi
 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 -DHAVE_LIBPRI_BRI=1 -DHAVE_LIBPRI_AOC=1 -I. -I./src/include -I. -I/usr/src/freeswitch-1.2.3/libs/freetdm/src/include -I/usr/src/freeswitch-1.2.3/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 -DHAVE_LIBPRI_BRI=1 -DHAVE_LIBPRI_AOC=1 -g -O2 -DHAVE_ZLIB -MT ftmod_pritap_la-ftmod_pritap.lo -MD -MP -MF .deps/ftmod_pritap_la-ftmod_pritap.Tpo -c src/ftmod/ftmod_pritap/ftmod_pritap.c  -fPIC -DPIC -o .libs/ftmod_pritap_la-ftmod_pritap.o
cc1: warnings being treated as errors
src/ftmod/ftmod_pritap/ftmod_pritap.c: In function 'tap_pri_get_pcall':
src/ftmod/ftmod_pritap/ftmod_pritap.c:430: warning: implicit declaration of function 'pri_passive_destroycall'
src/ftmod/ftmod_pritap/ftmod_pritap.c: In function 'handle_pri_passive_event':
src/ftmod/ftmod_pritap/ftmod_pritap.c:582: warning: implicit declaration of function 'pri_get_layer1'
src/ftmod/ftmod_pritap/ftmod_pritap.c:583: warning: implicit declaration of function 'pri_get_transcap'
src/ftmod/ftmod_pritap/ftmod_pritap.c: In function 'ftdm_pritap_run':
src/ftmod/ftmod_pritap/ftmod_pritap.c:712: warning: implicit declaration of function 'pri_read_event'
src/ftmod/ftmod_pritap/ftmod_pritap.c:712: warning: assignment makes pointer from integer without a cast
make: *** [ftmod_pritap_la-ftmod_pritap.lo] Error 1


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