Applying /builder/shared-workdir/build/sdk/feeds/telephony/libs/freetdm/patches/280-tone-down-freetdm-COMP_VENDOR_CFLAGS.patch using plaintext: patching file configure.ac Applying /builder/shared-workdir/build/sdk/feeds/telephony/libs/freetdm/patches/290-fix-mod_freetdm-copts.patch using plaintext: patching file mod_freetdm/Makefile.in Applying /builder/shared-workdir/build/sdk/feeds/telephony/libs/freetdm/patches/300-install-missing_dir.patch using plaintext: patching file Makefile.am autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/share/aclocal -I m4 -I . --force -I build autoreconf: configure.ac: tracing autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --copy --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. OpenWrt-libtoolize: copying file 'build/config.guess' OpenWrt-libtoolize: copying file 'build/config.sub' OpenWrt-libtoolize: copying file 'build/install-sh' OpenWrt-libtoolize: copying file 'build/ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build'. OpenWrt-libtoolize: copying file 'build/libtool.m4' OpenWrt-libtoolize: copying file 'build/ltoptions.m4' OpenWrt-libtoolize: copying file 'build/ltsugar.m4' OpenWrt-libtoolize: copying file 'build/ltversion.m4' OpenWrt-libtoolize: copying file 'build/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/share/aclocal -I m4 -I . --force -I build autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force configure.ac:25: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:25: You should run autoupdate. aclocal.m4:1250: AC_PROG_LIBTOOL is expanded from... configure.ac:25: the top level configure.ac:61: warning: back quotes and double quotes must not be escaped in: Invalid value \"${withval}\", option requires a valid path lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:61: the top level configure.ac:109: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:109: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:109: the top level configure.ac:138: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:138: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:138: the top level configure.ac:192: warning: back quotes and double quotes must not be escaped in: Invalid argument for --with-libpri, \"${withval}\" is not a directory lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:192: the top level configure.ac:379: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:379: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... build/libpcap.m4:68: FIND_LIB_SUBDIR is expanded from... build/libpcap.m4:91: AX_LIB_PCAP is expanded from... configure.ac:379: the top level configure.ac:379: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:379: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... build/libpcap.m4:31: PCAP_LIB_WHERE1 is expanded from... build/libpcap.m4:53: PCAP_LIB_WHERE is expanded from... build/libpcap.m4:91: AX_LIB_PCAP is expanded from... configure.ac:379: the top level configure.ac:425: warning: back quotes and double quotes must not be escaped in: Invalid value \"${with_misdn}\" for --with-misdn option lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:425: the top level autoreconf: configure.ac: not using Autoheader autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --copy --force-missing configure.ac:22: installing 'build/compile' configure.ac:10: installing 'build/missing' Makefile.am: installing 'build/depcomp' autoreconf: Leaving directory '.' configure: WARNING: unrecognized options: --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/arm checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c checking whether build environment is sane... yes checking for arm-openwrt-linux-strip... arm-openwrt-linux-muslgnueabi-strip checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for arm-openwrt-linux-gcc... arm-openwrt-linux-muslgnueabi-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether arm-openwrt-linux-muslgnueabi-gcc accepts -g... yes checking for arm-openwrt-linux-muslgnueabi-gcc option to enable C11 features... none needed checking whether arm-openwrt-linux-muslgnueabi-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of arm-openwrt-linux-muslgnueabi-gcc... none checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... arm-openwrt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E checking for fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F checking for ld used by arm-openwrt-linux-muslgnueabi-gcc... arm-openwrt-linux-muslgnueabi-ld.bfd checking if the linker (arm-openwrt-linux-muslgnueabi-ld.bfd) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... arm-openwrt-linux-muslgnueabi-gcc-nm checking the name lister (arm-openwrt-linux-muslgnueabi-gcc-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to arm-openwrt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for arm-openwrt-linux-muslgnueabi-ld.bfd option to reload object files... -r checking for arm-openwrt-linux-file... no checking for file... file configure: WARNING: using cross tools not prefixed with host triplet checking for arm-openwrt-linux-objdump... arm-openwrt-linux-muslgnueabi-objdump checking how to recognize dependent libraries... pass_all checking for arm-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-openwrt-linux-ar... arm-openwrt-linux-muslgnueabi-gcc-ar checking for archiver @FILE support... @ checking for arm-openwrt-linux-strip... (cached) arm-openwrt-linux-muslgnueabi-strip checking for arm-openwrt-linux-ranlib... arm-openwrt-linux-muslgnueabi-gcc-ranlib checking command to parse arm-openwrt-linux-muslgnueabi-gcc-nm output from arm-openwrt-linux-muslgnueabi-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for arm-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if arm-openwrt-linux-muslgnueabi-gcc supports -fno-rtti -fno-exceptions... no checking for arm-openwrt-linux-muslgnueabi-gcc option to produce PIC... -fPIC -DPIC checking if arm-openwrt-linux-muslgnueabi-gcc PIC flag -fPIC -DPIC works... yes checking if arm-openwrt-linux-muslgnueabi-gcc static flag -static works... yes checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o... yes checking if arm-openwrt-linux-muslgnueabi-gcc supports -c -o file.o... (cached) yes checking whether the arm-openwrt-linux-muslgnueabi-gcc linker (arm-openwrt-linux-muslgnueabi-ld.bfd) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking pkg-config is at least version 0.9.0... yes checking for C compiler vendor... gnu checking for dlopen in -ldl... yes checking for pthread_create in -lpthread... yes checking for cos in -lm... yes checking for netdb.h... yes checking for sys/select.h... yes checking for execinfo.h... no checking for gethostbyname_r... yes checking whether gethostbyname_r requires five arguments... no <<>> Modules and optional features checking for openr2_context_set_io_type in -lopenr2... no checking whether to build ftmod_r2... no checking for wat_version in -lwat... no checking whether to build ftmod_wat... no <<>> Digium libpri checking whether libpri is usable... yes checking whether libpri is too old... checking how to run the C preprocessor... arm-openwrt-linux-muslgnueabi-gcc -E no checking whether libpri has BRI support... yes checking whether libpri has AOC event support... yes checking whether libpri has pri_maintenance_service()... yes <<>> Sangoma Wanpipe checking for sangoma_span_chan_toif in -lsangoma... no checking whether to build ftmod_wanpipe... no <<>> Sangoma ISDN stack checking for sng_isdn_init in -lsng_isdn... no checking whether to build ftmod_sangoma_isdn... no <<>> Sangoma SS7 stack checking for sng_isup_init_gen in -lsng_ss7... no checking whether to build ftmod_sangoma_ss7... no <<>> zlib checking for compress in -lz... yes checking whether zlib is installed... yes <<>> ftmod_misdn (Linux mISDN I/O plugin) checking for mISDN/mISDNif.h... no configure: mISDN/mISDNif.h not found checking for freeswitch... yes <<>> Creating output files checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating freetdm.pc config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-nls ============================ 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 =============================================================================== make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/freetdm-2021.08.30~8918ee1c' CC mod_freetdm_la-mod_freetdm.lo CC src/testtones-testtones.o CC src/libfreetdm_la-hashtable.lo CC src/libfreetdm_la-hashtable_itr.lo CC src/libfreetdm_la-ftdm_io.lo src/ftdm_io.c:1410:22: warning: conflicting types for 'ftdm_channel_get_type' due to enum/integer mismatch; have 'uint32_t(const ftdm_channel_t *)' {aka 'unsigned int(const struct ftdm_channel *)'} [-Wenum-int-mismatch] 1410 | FT_DECLARE(uint32_t) ftdm_channel_get_type(const ftdm_channel_t *ftdmchan) | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./src/include/private/ftdm_core.h:35, from src/ftdm_io.c:40: ./src/include/freetdm.h:1280:30: note: previous declaration of 'ftdm_channel_get_type' with type 'ftdm_chan_type_t(const ftdm_channel_t *)' {aka 'ftdm_chan_type_t(const struct ftdm_channel *)'} 1280 | FT_DECLARE(ftdm_chan_type_t) ftdm_channel_get_type(const ftdm_channel_t *ftdmchan); | ^~~~~~~~~~~~~~~~~~~~~ src/ftdm_io.c:6427:22: warning: conflicting types for 'ftdm_running' due to enum/integer mismatch; have 'uint32_t(void)' {aka 'unsigned int(void)'} [-Wenum-int-mismatch] 6427 | FT_DECLARE(uint32_t) ftdm_running(void) | ^~~~~~~~~~~~ ./src/include/freetdm.h:1937:25: note: previous declaration of 'ftdm_running' with type 'ftdm_bool_t(void)' 1937 | FT_DECLARE(ftdm_bool_t) ftdm_running(void); | ^~~~~~~~~~~~ src/ftdm_io.c:6668:18: warning: conflicting types for 'print_bits' due to enum/integer mismatch; have 'void(uint8_t *, int, char *, int, ftdm_endian_t, uint8_t)' {aka 'void(unsigned char *, int, char *, int, ftdm_endian_t, unsigned char)'} [-Wenum-int-mismatch] 6668 | FT_DECLARE(void) print_bits(uint8_t *b, int bl, char *buf, int blen, ftdm_endian_t e, uint8_t ss) | ^~~~~~~~~~ ./src/include/private/ftdm_core.h:584:18: note: previous declaration of 'print_bits' with type 'void(uint8_t *, int, char *, int, int, uint8_t)' {aka 'void(unsigned char *, int, char *, int, int, unsigned char)'} 584 | FT_DECLARE(void) print_bits(uint8_t *b, int bl, char *buf, int blen, int e, uint8_t ss); | ^~~~~~~~~~ CC src/libfreetdm_la-ftdm_state.lo CC src/libfreetdm_la-ftdm_queue.lo CC src/libfreetdm_la-ftdm_sched.lo CC src/libfreetdm_la-ftdm_call_utils.lo CC src/libfreetdm_la-ftdm_variables.lo CC src/libfreetdm_la-ftdm_config.lo src/ftdm_config.c: In function 'ftdm_config_next_pair': src/ftdm_config.c:137:13: warning: the comparison will always evaluate as 'true' for the address of 'path' will never be NULL [-Waddress] 137 | if (!cfg->path) { | ^ In file included from ./src/include/private/ftdm_core.h:117, from src/ftdm_config.c:38: ./src/include/private/ftdm_config.h:84:14: note: 'path' declared here 84 | char path[512]; | ^~~~ CC src/libfreetdm_la-ftdm_callerid.lo CC src/libfreetdm_la-fsk.lo CC src/libfreetdm_la-uart.lo CC src/libfreetdm_la-g711.lo CC src/libfreetdm_la-libteletone_detect.lo CC src/libfreetdm_la-libteletone_generate.lo CC src/libfreetdm_la-ftdm_buffer.lo CC src/libfreetdm_la-ftdm_threadmutex.lo CC src/libfreetdm_la-ftdm_dso.lo CC src/libfreetdm_la-ftdm_cpu_monitor.lo CC src/libfreetdm_la-ftdm_backtrace.lo CC src/detect_tones-detect_tones.o CC src/detect_dtmf-detect_dtmf.o CC src/testpri-testpri.o CC src/testr2-testr2.o CC src/testanalog-testanalog.o CC src/testapp-testapp.o CC src/testcid-testcid.o CC mod_freetdm/libmodfreetdm_la-mod_freetdm.lo mod_freetdm/mod_freetdm.c: In function 'on_fxo_signal': mod_freetdm/mod_freetdm.c:2333:93: warning: passing argument 4 of 'switch_regex_perform' from incompatible pointer type [-Wincompatible-pointer-types] 2333 | match = switch_regex_perform(dtmf, fail_regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~ | | | int * In file included from /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch.h:119, from mod_freetdm/mod_freetdm.c:35: /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:138: note: expected 'switch_regex_match_data_t **' {aka 'struct pcre2_real_match_data_8 **'} but argument is of type 'int *' 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c:2333:49: error: too many arguments to function 'switch_regex_perform' 2333 | match = switch_regex_perform(dtmf, fail_regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:21: note: declared here 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ^~~~~~~~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c:2340:88: warning: passing argument 4 of 'switch_regex_perform' from incompatible pointer type [-Wincompatible-pointer-types] 2340 | match = switch_regex_perform(dtmf, regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~ | | | int * /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:138: note: expected 'switch_regex_match_data_t **' {aka 'struct pcre2_real_match_data_8 **'} but argument is of type 'int *' 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c:2340:49: error: too many arguments to function 'switch_regex_perform' 2340 | match = switch_regex_perform(dtmf, regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:21: note: declared here 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ^~~~~~~~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c: In function 'on_fxs_signal': mod_freetdm/mod_freetdm.c:2553:93: warning: passing argument 4 of 'switch_regex_perform' from incompatible pointer type [-Wincompatible-pointer-types] 2553 | match = switch_regex_perform(dtmf, fail_regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~ | | | int * /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:138: note: expected 'switch_regex_match_data_t **' {aka 'struct pcre2_real_match_data_8 **'} but argument is of type 'int *' 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c:2553:49: error: too many arguments to function 'switch_regex_perform' 2553 | match = switch_regex_perform(dtmf, fail_regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:21: note: declared here 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ^~~~~~~~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c:2560:88: warning: passing argument 4 of 'switch_regex_perform' from incompatible pointer type [-Wincompatible-pointer-types] 2560 | match = switch_regex_perform(dtmf, regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~ | | | int * /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:138: note: expected 'switch_regex_match_data_t **' {aka 'struct pcre2_real_match_data_8 **'} but argument is of type 'int *' 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c:2560:49: error: too many arguments to function 'switch_regex_perform' 2560 | match = switch_regex_perform(dtmf, regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:21: note: declared here 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ^~~~~~~~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c: In function 'on_r2_signal': mod_freetdm/mod_freetdm.c:2639:113: warning: passing argument 4 of 'switch_regex_perform' from incompatible pointer type [-Wincompatible-pointer-types] 2639 | match = switch_regex_perform(caller_data->dnis.digits, fail_regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~ | | | int * /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:138: note: expected 'switch_regex_match_data_t **' {aka 'struct pcre2_real_match_data_8 **'} but argument is of type 'int *' 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c:2639:49: error: too many arguments to function 'switch_regex_perform' 2639 | match = switch_regex_perform(caller_data->dnis.digits, fail_regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:21: note: declared here 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ^~~~~~~~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c:2645:108: warning: passing argument 4 of 'switch_regex_perform' from incompatible pointer type [-Wincompatible-pointer-types] 2645 | match = switch_regex_perform(caller_data->dnis.digits, regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~ | | | int * /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:138: note: expected 'switch_regex_match_data_t **' {aka 'struct pcre2_real_match_data_8 **'} but argument is of type 'int *' 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ mod_freetdm/mod_freetdm.c:2645:49: error: too many arguments to function 'switch_regex_perform' 2645 | match = switch_regex_perform(caller_data->dnis.digits, regex, &re, ovector, sizeof(ovector) / sizeof(ovector[0])); | ^~~~~~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/target-arm_fa526_musl_eabi/usr/include/freeswitch/switch_regex.h:55:21: note: declared here 55 | SWITCH_DECLARE(int) switch_regex_perform(const char *field, const char *expression, switch_regex_t **new_re, switch_regex_match_data_t **new_match_data); | ^~~~~~~~~~~~~~~~~~~~ CC mod_freetdm/libmodfreetdm_la-tdm.lo make[4]: *** [Makefile:2042: mod_freetdm/libmodfreetdm_la-mod_freetdm.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/freetdm-2021.08.30~8918ee1c' make[3]: *** [Makefile:140: /builder/shared-workdir/build/sdk/build_dir/target-arm_fa526_musl_eabi/freetdm-2021.08.30~8918ee1c/.built] Error 2 time: package/feeds/telephony/freetdm/compile#61.01#6.21#66.11