While going through faillogs, I see that package freetdm is not compiled for several targets.
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_cortex-a9+vfpv3-d16_musl_eabi/usr/include/freeswitch/switch.h:119,
from mod_freetdm/mod_freetdm.c:35:
/builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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_cortex-a9+vfpv3-d16_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);
| ^~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:2042: mod_freetdm/libmodfreetdm_la-mod_freetdm.lo] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/freetdm-2021.08.30~8918ee1c'
While going through faillogs, I see that package freetdm is not compiled for several targets.
Log:
Full log is available here: https://downloads.openwrt.org/releases/faillogs-24.10/arm_cortex-a9_vfpv3-d16/telephony/freetdm/compile.txt