Generating embedded module rules ... [CC] chan_dahdi.c -> chan_dahdi.o [CC] dahdi/bridge_native_dahdi.c -> dahdi/bridge_native_dahdi.o [CC] sig_pri.c -> sig_pri.o [LD] chan_dahdi.o dahdi/bridge_native_dahdi.o sig_analog.o sig_pri.o sig_ss7.o -> chan_dahdi.so [CC] chan_extra.c -> chan_extra.o chan_extra.c:4106: error: ‘AST_FORMAT_SLINEAR’ undeclared (first use in this function) chan_extra.c:4107: error: request for member ‘id’ in something not a structure or union chan_extra.c:4107: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function) chan_extra.c:4108: error: request for member ‘id’ in something not a structure or union chan_extra.c:4108: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function) chan_extra.c:4109: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’ chan_extra.c:4154: error: request for member ‘id’ in something not a structure or union chan_extra.c: In function ‘extra_new’: chan_extra.c:4467: error: storage size of ‘deflaw’ isn’t known chan_extra.c:4488: warning: implicit declaration of function ‘ast_format_clear’ chan_extra.c:4504: warning: passing argument 8 of ‘__ast_channel_alloc’ from incompatible pointer type /usr/src/asterisk-13.6.0/include/asterisk/channel.h:1161: note: expected ‘const struct ast_assigned_ids *’ but argument is of type ‘const char *’ chan_extra.c:4504: warning: passing argument 9 of ‘__ast_channel_alloc’ makes pointer from integer without a cast /usr/src/asterisk-13.6.0/include/asterisk/channel.h:1161: note: expected ‘const struct ast_channel *’ but argument is of type ‘int’ chan_extra.c:4504: error: incompatible type for argument 10 of ‘__ast_channel_alloc’ /usr/src/asterisk-13.6.0/include/asterisk/channel.h:1161: note: expected ‘enum ama_flags’ but argument is of type ‘char *’ chan_extra.c:4533: warning: implicit declaration of function ‘ast_format_set’ chan_extra.c:4533: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function) chan_extra.c:4539: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function) chan_extra.c:4570: warning: implicit declaration of function ‘ast_format_cap_add’ chan_extra.c:4572: warning: implicit declaration of function ‘ast_format_copy’ chan_extra.c:4467: warning: unused variable ‘deflaw’ chan_extra.c: In function ‘sms_new’: chan_extra.c:6180: warning: passing argument 9 of ‘__ast_channel_alloc’ makes pointer from integer without a cast /usr/src/asterisk-13.6.0/include/asterisk/channel.h:1161: note: expected ‘const struct ast_channel *’ but argument is of type ‘int’ chan_extra.c:6180: error: incompatible type for argument 10 of ‘__ast_channel_alloc’ /usr/src/asterisk-13.6.0/include/asterisk/channel.h:1161: note: expected ‘enum ama_flags’ but argument is of type ‘char *’ chan_extra.c: In function ‘sms_send_new’: chan_extra.c:6329: warning: passing argument 9 of ‘__ast_channel_alloc’ makes pointer from integer without a cast /usr/src/asterisk-13.6.0/include/asterisk/channel.h:1161: note: expected ‘const struct ast_channel *’ but argument is of type ‘int’ chan_extra.c:6329: error: incompatible type for argument 10 of ‘__ast_channel_alloc’ /usr/src/asterisk-13.6.0/include/asterisk/channel.h:1161: note: expected ‘enum ama_flags’ but argument is of type ‘char *’ chan_extra.c:6349: error: storage size of ‘deflaw’ isn’t known chan_extra.c:6360: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function) chan_extra.c:6366: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function) chan_extra.c:6349: warning: unused variable ‘deflaw’ chan_extra.c: In function ‘__unload_module’: chan_extra.c:11372: warning: implicit declaration of function ‘ast_format_cap_destroy’ chan_extra.c:11372: warning: assignment makes pointer from integer without a cast chan_extra.c: In function ‘process_extra’: chan_extra.c:11717: warning: implicit declaration of function ‘ast_cdr_amaflags2int’ chan_extra.c: In function ‘load_module’: chan_extra.c:12625: error: storage size of ‘tmpfmt’ isn’t known chan_extra.c:12626: error: expected expression before ‘)’ token chan_extra.c:12629: error: ‘AST_FORMAT_SLINEAR’ undeclared (first use in this function) chan_extra.c:12630: error: ‘AST_FORMAT_ULAW’ undeclared (first use in this function) chan_extra.c:12631: error: ‘AST_FORMAT_ALAW’ undeclared (first use in this function) chan_extra.c:12625: warning: unused variable ‘tmpfmt’ make[1]: *** [chan_extra.o] Error 1 make: *** [channels] Error 2 =========================================================================== Installing Asterisk: make ... [ Failure ] ===========================================================================