chan_sccp
no longer compiles and appears to possibly be a dead/abandoned project, so this needs an out-of-tree patch to resolve this issue or it should be removed:
(Note, this is compiling with devmode and thus probably with DEBUG_FD_LEAKS
, I haven't tested compiling other ways. Not that it matters, any compilation failure regardless of build settings is a bug).
Operating System : Linux
Kernel : 6.1.0-18-amd64
Architecture : x86_64
Asterisk Version : 11800 / 118
Asterisk Repos : TRUNK
Build user : root
Version : 4.3.5_develop_r90dc24f
Compiler Version : 12
CC : gcc
CPP : gcc -E
HOST_CC : gcc
CFLAGS : -Og -Wall -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu11 -fgnu89-inline -isystem /usr/src/chan-sccp/../asterisk-21.3.1/include -DHAVE_ASTERISK -g3 -ggdb3
CPPFLAGS : -U_FORTIFY_SOURCE -isystem /usr/src/chan-sccp/../asterisk-21.3.1/include -DHAVE_ASTERISK -g3 -ggdb3
LDFLAGS : -lssl -lcrypto -lpthread -lc -lltdl -lbfd -ldl -L/usr/src/chan-sccp/../asterisk-21.3.1/lib
PBX_TYPE : Asterisk
PBX_PREFIX : /usr
PBX_ETC : /etc/asterisk
PBX_LIB : /usr/lib
PBX_VARLIB : /var/lib/asterisk
PBX_DATADIR : /var/lib/asterisk
PBX_INCLUDE : /usr/src/chan-sccp/../asterisk-21.3.1/include/asterisk
Module Directory : /usr/lib/asterisk/modules
Making all in src
make[1]: Entering directory '/usr/src/chan-sccp/src'
make all-recursive
make[2]: Entering directory '/usr/src/chan-sccp/src'
Making all in pbx_impl
make[3]: Entering directory '/usr/src/chan-sccp/src/pbx_impl'
CC pbx_impl.lo
CCLD libpbximpl.la
make[3]: Leaving directory '/usr/src/chan-sccp/src/pbx_impl'
Making all in pbx_impl/ast
make[3]: Entering directory '/usr/src/chan-sccp/src/pbx_impl/ast'
CC libast_la-ast.lo
CCLD libast.la
make[3]: Leaving directory '/usr/src/chan-sccp/src/pbx_impl/ast'
Making all in pbx_impl/ast118/
make[3]: Entering directory '/usr/src/chan-sccp/src/pbx_impl/ast118'
CC libast118_la-ast118.lo
CCLD libast118.la
make[3]: Leaving directory '/usr/src/chan-sccp/src/pbx_impl/ast118'
Making all in pbx_impl/ast_announce
make[3]: Entering directory '/usr/src/chan-sccp/src/pbx_impl/ast_announce'
CC libast_announce_la-ast_announce.lo
CCLD libast_announce.la
make[3]: Leaving directory '/usr/src/chan-sccp/src/pbx_impl/ast_announce'
Making all in .
make[3]: Entering directory '/usr/src/chan-sccp/src'
CC chan_sccp_la-chan_sccp.lo
CC libsccp_la-sccp_callinfo.lo
CC libsccp_la-sccp_channel.lo
CC libsccp_la-sccp_device.lo
CC libsccp_la-sccp_debug.lo
CC libsccp_la-sccp_indicate.lo
CC libsccp_la-sccp_pbx.lo
CC libsccp_la-sccp_session.lo
sccp_session.c: In function ‘sccp_session_setFD’:
sccp_session.c:184:41: error: ‘sccp_transport_t’ {aka ‘const struct sccp_transport’} has no member named ‘__ast_fdleak_close’
184 | s->srvcontext->transport->close(&s->sc);
| ^~
compilation terminated due to -Wfatal-errors.
make[3]: *** [Makefile:880: libsccp_la-sccp_session.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/usr/src/chan-sccp/src'
make[2]: *** [Makefile:1109: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/chan-sccp/src'
make[1]: *** [Makefile:668: all] Error 2
make[1]: Leaving directory '/usr/src/chan-sccp/src'
make: *** [Makefile:615: all-recursive] Error 1
You must be