You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Everyone, I am trying to compile freeswitch version 1.10.11 with gcc 14.2 or 14 and multiply modules are failing
making all mod_xml_rpc
make[4]: Entering directory '/home/volga629/rpmbuild/BUILD/freeswitch-1.10.11-build/freeswitch-1.10.11/src/mod/xml_int/mod_xml_rpc'
CC mod_xml_rpc_la-mod_xml_rpc.lo
mod_xml_rpc.c: In function 'is_authorized':
mod_xml_rpc.c:362:67: error: passing argument 6 of 'user_attributes' from incompatible pointer type [-Wincompatible-pointer-types]
362 | if (!user_attributes(user, domain_name, NULL, NULL, NULL, &allowed_commands)) {
| ^~~~~~~~~~~~~~~~~
| |
| char **
mod_xml_rpc.c:249:148: note: expected 'const char **' but argument is of type 'char **'
249 | const char **ppasswd, const char **pvm_passwd, const char **palias, const char **pallowed_commands)
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
mod_xml_rpc.c: In function 'handler_hook':
mod_xml_rpc.c:947:86: error: passing argument 5 of 'ConnRead' from incompatible pointer type [-Wincompatible-pointer-types]
947 | ConnRead(r->connP, 2000, NULL, NULL, &readError);
| ^~~~~~~~~~
| |
| char **
In file included from /home/volga629/rpmbuild/BUILD/freeswitch-1.10.11-build/freeswitch-1.10.11/libs/xmlrpc-c/include/../lib/abyss/src/http.h:7,
from mod_xml_rpc.c:70:
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o hash.o hash.c
hash.c: In function ‘hash_delete’:
hash.c:141:28: error: passing argument 1 of ‘iks_stack_delete’ from incompatible pointer type [-Wincompatible-pointer-types]
141 | iks_stack_delete (h->s);
| ~^~~
| |
| ikstack * {aka struct ikstack_struct *}
In file included from hash.c:8:
../include/iksemel.h:27:34: note: expected ‘ikstack **’ {aka ‘struct ikstack_struct **’} but argument is of type ‘ikstack *’ {aka ‘struct ikstack_struct *’}
27 | void iks_stack_delete (ikstack **sp);
| ~~~~~~~~~~^~
The text was updated successfully, but these errors were encountered:
Hello Everyone, I am trying to compile freeswitch version 1.10.11 with gcc 14.2 or 14 and multiply modules are failing
The text was updated successfully, but these errors were encountered: