[CC] app_voicemail.c -> app_voicemail.o In file included from /usr/src/imap-2006k/c-client/osdep.h:63, from /usr/src/imap-2006k/c-client/c-client.h:42, from app_voicemail.c:83: /usr/src/imap-2006k/c-client/env_unix.h:71: warning: function declaration isn’t a prototype In file included from app_voicemail.c:101: /usr/src/asterisk-1.4.20.1/include/asterisk/file.h:27:2: error: #error You must include stdio.h before file.h! app_voicemail.c:117:36: error: asterisk/taskprocessor.h: No such file or directory app_voicemail.c: In function ‘apply_option’: app_voicemail.c:803: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:803: error: (Each undeclared identifier is reported only once app_voicemail.c:803: error: for each function it appears in.) app_voicemail.c:803: error: too few arguments to function ‘ast_log’ app_voicemail.c:817: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:817: warning: passing argument 4 of ‘ast_log’ makes pointer from integer without a cast app_voicemail.c:817: error: too few arguments to function ‘ast_log’ app_voicemail.c:823: error: too few arguments to function ‘ast_log’ app_voicemail.c:827: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:827: warning: passing argument 4 of ‘ast_log’ makes pointer from integer without a cast app_voicemail.c:827: error: too few arguments to function ‘ast_log’ app_voicemail.c:830: error: too few arguments to function ‘ast_log’ app_voicemail.c:842: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:842: warning: passing argument 4 of ‘ast_log’ makes pointer from integer without a cast app_voicemail.c:842: error: too few arguments to function ‘ast_log’ app_voicemail.c:845: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘vm_check_password_shell’: app_voicemail.c:862: error: ‘errno’ undeclared (first use in this function) app_voicemail.c:865: warning: implicit declaration of function ‘ast_safe_fork’ app_voicemail.c:887: warning: implicit declaration of function ‘ast_close_fds_above_n’ app_voicemail.c: In function ‘check_password’: app_voicemail.c:914: error: ‘AST_LOG_DEBUG’ undeclared (first use in this function) app_voicemail.c:914: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:914: error: too few arguments to function ‘ast_log’ app_voicemail.c:918: warning: implicit declaration of function ‘ast_debug’ app_voicemail.c:923: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:923: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:923: error: too few arguments to function ‘ast_log’ app_voicemail.c:926: error: ‘AST_LOG_NOTICE’ undeclared (first use in this function) app_voicemail.c:926: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:926: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘change_password_realtime’: app_voicemail.c:949: warning: implicit declaration of function ‘ast_realtime_require_field’ app_voicemail.c:949: error: ‘RQ_CHAR’ undeclared (first use in this function) app_voicemail.c:949: error: ‘SENTINEL’ undeclared (first use in this function) app_voicemail.c: In function ‘is_valid_dtmf’: app_voicemail.c:1031: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:1031: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘find_user_realtime’: app_voicemail.c:1063: error: ‘SENTINEL’ undeclared (first use in this function) app_voicemail.c: In function ‘vm_change_password’: app_voicemail.c:1157: error: ‘CONFIG_FLAG_WITHCOMMENTS’ undeclared (first use in this function) app_voicemail.c:1162: error: too many arguments to function ‘ast_config_load’ app_voicemail.c:1166: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:1166: error: too few arguments to function ‘ast_log’ app_voicemail.c:1171: error: too few arguments to function ‘ast_log’ app_voicemail.c:1177: error: too few arguments to function ‘ast_log’ app_voicemail.c:1192: error: too many arguments to function ‘ast_config_load’ app_voicemail.c:1199: error: too many arguments to function ‘ast_variable_new’ app_voicemail.c: In function ‘make_gsm_file’: app_voicemail.c:1250: warning: implicit declaration of function ‘ast_mkdir’ app_voicemail.c:1251: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:1251: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:1251: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘vm_imap_delete’: app_voicemail.c:1267: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:1267: warning: passing argument 4 of ‘ast_log’ makes pointer from integer without a cast app_voicemail.c:1267: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘create_dirpath’: app_voicemail.c:1297: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:1297: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:1297: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘vm_delete’: app_voicemail.c:2182: warning: implicit declaration of function ‘ast_destroy_realtime’ app_voicemail.c:2182: error: ‘SENTINEL’ undeclared (first use in this function) app_voicemail.c: In function ‘base_encode’: app_voicemail.c:2270: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:2270: error: ‘errno’ undeclared (first use in this function) app_voicemail.c:2270: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:2270: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘vmu_tm’: app_voicemail.c:2376: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type app_voicemail.c:2376: warning: passing argument 2 of ‘ast_localtime’ from incompatible pointer type app_voicemail.c: In function ‘make_email_file’: app_voicemail.c:2423: error: storage size of ‘tm’ isn’t known app_voicemail.c:2454: warning: implicit declaration of function ‘ast_strftime’ app_voicemail.c:2474: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:2474: error: too few arguments to function ‘ast_log’ app_voicemail.c:2494: error: too few arguments to function ‘ast_log’ app_voicemail.c:2560: error: too few arguments to function ‘ast_log’ app_voicemail.c:2423: warning: unused variable ‘tm’ app_voicemail.c: In function ‘sendmail’: app_voicemail.c:2641: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:2641: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:2641: error: too few arguments to function ‘ast_log’ app_voicemail.c:2650: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:2650: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘sendpage’: app_voicemail.c:2670: error: storage size of ‘tm’ isn’t known app_voicemail.c:2674: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:2674: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:2674: error: too few arguments to function ‘ast_log’ app_voicemail.c:2698: error: too few arguments to function ‘ast_log’ app_voicemail.c:2714: error: too few arguments to function ‘ast_log’ app_voicemail.c:2736: error: too few arguments to function ‘ast_log’ app_voicemail.c:2670: warning: unused variable ‘tm’ app_voicemail.c: In function ‘get_date’: app_voicemail.c:2759: error: storage size of ‘tm’ isn’t known app_voicemail.c:2762: warning: passing argument 1 of ‘ast_localtime’ from incompatible pointer type app_voicemail.c:2759: warning: unused variable ‘tm’ app_voicemail.c: In function ‘invent_message’: app_voicemail.c:2776: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:2776: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:2776: error: too few arguments to function ‘ast_log’ app_voicemail.c:2782: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c:2790: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c:2797: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c: In function ‘imap_store_file’: app_voicemail.c:3155: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:3155: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3155: error: too few arguments to function ‘ast_log’ app_voicemail.c:3163: error: too few arguments to function ‘ast_log’ app_voicemail.c:3174: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:3174: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘messagecount’: app_voicemail.c:3233: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:3233: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3233: error: too few arguments to function ‘ast_log’ app_voicemail.c:3238: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:3238: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3238: error: too few arguments to function ‘ast_log’ app_voicemail.c:3245: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3245: error: too few arguments to function ‘ast_log’ app_voicemail.c:3296: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘copy_message’: app_voicemail.c:3469: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:3469: error: too few arguments to function ‘ast_log’ app_voicemail.c:3473: error: too few arguments to function ‘ast_log’ app_voicemail.c:3479: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:3479: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3479: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘run_externnotify’: app_voicemail.c:3695: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:3695: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3695: error: too few arguments to function ‘ast_log’ app_voicemail.c:3697: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3697: error: too few arguments to function ‘ast_log’ app_voicemail.c:3699: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:3699: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3699: error: too few arguments to function ‘ast_log’ app_voicemail.c:3700: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3700: error: too few arguments to function ‘ast_log’ app_voicemail.c:3709: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3709: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘leave_voicemail’: app_voicemail.c:3810: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:3810: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3810: error: too few arguments to function ‘ast_log’ app_voicemail.c:3836: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:3836: error: too few arguments to function ‘ast_log’ app_voicemail.c:3918: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c:3985: error: ‘AST_LOG_NOTICE’ undeclared (first use in this function) app_voicemail.c:3985: error: too few arguments to function ‘ast_log’ app_voicemail.c:3994: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:3994: error: too few arguments to function ‘ast_log’ app_voicemail.c:4026: warning: passing argument 4 of ‘ast_log’ makes pointer from integer without a cast app_voicemail.c:4026: error: too few arguments to function ‘ast_log’ app_voicemail.c:4049: error: ‘errno’ undeclared (first use in this function) app_voicemail.c:4049: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:4049: error: too few arguments to function ‘ast_log’ app_voicemail.c:4057: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c:4065: warning: implicit declaration of function ‘ast_store_realtime’ app_voicemail.c:4065: error: ‘SENTINEL’ undeclared (first use in this function) app_voicemail.c:4097: error: too few arguments to function ‘ast_log’ app_voicemail.c:4108: error: ‘option_verbose’ undeclared (first use in this function) app_voicemail.c:4120: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:4120: error: too few arguments to function ‘ast_log’ app_voicemail.c:4152: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:4152: error: too few arguments to function ‘ast_log’ app_voicemail.c:4225: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘save_to_folder’: app_voicemail.c:4258: error: ‘AST_LOG_NOTICE’ undeclared (first use in this function) app_voicemail.c:4258: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:4258: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘adsi_begin’: app_voicemail.c:4454: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:4454: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘vm_forwardoptions’: app_voicemail.c:4879: error: ‘CONFIG_FLAG_NOCACHE’ undeclared (first use in this function) app_voicemail.c:4892: error: too many arguments to function ‘ast_config_load’ app_voicemail.c: In function ‘notify_new_message’: app_voicemail.c:5054: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:5054: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:5088: warning: implicit declaration of function ‘ast_app_inboxcount2’ app_voicemail.c: In function ‘forward_message’: app_voicemail.c:5234: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:5234: error: too few arguments to function ‘ast_log’ app_voicemail.c:5266: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c:5332: error: too few arguments to function ‘ast_log’ app_voicemail.c:5341: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:5341: error: too few arguments to function ‘ast_log’ app_voicemail.c:5355: error: too few arguments to function ‘ast_log’ app_voicemail.c:5390: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:5390: error: too few arguments to function ‘ast_log’ app_voicemail.c:5396: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:5396: error: too few arguments to function ‘ast_log’ app_voicemail.c:5409:33: error: macro "AST_LIST_REMOVE_CURRENT" requires 2 arguments, but only 1 given app_voicemail.c:5409: error: ‘AST_LIST_REMOVE_CURRENT’ undeclared (first use in this function) app_voicemail.c: In function ‘wait_file2’: app_voicemail.c:5442: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c:5443: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:5443: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:5443: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘wait_file’: app_voicemail.c:5449: error: too many arguments to function ‘ast_control_streamfile’ app_voicemail.c: In function ‘play_message_category’: app_voicemail.c:5460: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:5460: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:5460: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘play_message_datetime’: app_voicemail.c:5474: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:5474: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:5474: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘play_message_callerid’: app_voicemail.c:5573: warning: implicit declaration of function ‘ast_verb’ app_voicemail.c:5576: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c: In function ‘play_message’: app_voicemail.c:5673: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:5673: error: too few arguments to function ‘ast_log’ app_voicemail.c:5681: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:5681: error: too few arguments to function ‘ast_log’ app_voicemail.c:5704: error: too few arguments to function ‘ast_log’ app_voicemail.c:5711: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘imap_mailbox_name’: app_voicemail.c:5932: error: ‘vm’ undeclared (first use in this function) app_voicemail.c: In function ‘init_mailstream’: app_voicemail.c:5964: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:5964: error: too few arguments to function ‘ast_log’ app_voicemail.c:5991: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:5991: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘open_mailbox’: app_voicemail.c:6030: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:6030: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘imap_retrieve_file’: app_voicemail.c:6120: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:6120: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:6120: error: too few arguments to function ‘ast_log’ app_voicemail.c:6125: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:6125: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:6125: error: too few arguments to function ‘ast_log’ app_voicemail.c:6134: error: too few arguments to function ‘ast_log’ app_voicemail.c:6140: error: too few arguments to function ‘ast_log’ app_voicemail.c:6151: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘imap_delete_old_greeting’: app_voicemail.c:6181: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:6181: error: too few arguments to function ‘ast_log’ app_voicemail.c:6191: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘vm_newuser’: app_voicemail.c:7444: error: ‘AST_LOG_NOTICE’ undeclared (first use in this function) app_voicemail.c:7444: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:7444: error: too few arguments to function ‘ast_log’ app_voicemail.c:7458: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c: In function ‘vm_options’: app_voicemail.c:7582: error: ‘AST_LOG_NOTICE’ undeclared (first use in this function) app_voicemail.c:7582: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:7582: error: too few arguments to function ‘ast_log’ app_voicemail.c:7599: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c: In function ‘vm_authenticate’: app_voicemail.c:7931: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:7931: error: too few arguments to function ‘ast_log’ app_voicemail.c:7940: error: too few arguments to function ‘ast_log’ app_voicemail.c:7968: error: too few arguments to function ‘ast_log’ app_voicemail.c:7972: error: too few arguments to function ‘ast_log’ app_voicemail.c:7992: error: too few arguments to function ‘ast_log’ app_voicemail.c:7999: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘vm_execmain’: app_voicemail.c:8074: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:8074: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:8074: error: too few arguments to function ‘ast_log’ app_voicemail.c:8080: error: too few arguments to function ‘ast_log’ app_voicemail.c:8087: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:8087: error: too few arguments to function ‘ast_log’ app_voicemail.c:8090: error: too few arguments to function ‘ast_log’ app_voicemail.c:8093: error: too few arguments to function ‘ast_log’ app_voicemail.c:8152: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:8152: error: too few arguments to function ‘ast_log’ app_voicemail.c:8157: error: too few arguments to function ‘ast_log’ app_voicemail.c:8232: error: too few arguments to function ‘ast_log’ app_voicemail.c:8252: warning: passing argument 4 of ‘ast_log’ makes pointer from integer without a cast app_voicemail.c:8252: error: too few arguments to function ‘ast_log’ app_voicemail.c:8360: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘vm_exec’: app_voicemail.c:8743: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:8743: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:8743: error: too few arguments to function ‘ast_log’ app_voicemail.c:8767: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:8767: error: too few arguments to function ‘ast_log’ app_voicemail.c: In function ‘vm_box_exists’: app_voicemail.c:8851: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:8851: error: too few arguments to function ‘ast_log’ app_voicemail.c:8857: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:8857: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:8857: error: too few arguments to function ‘ast_log’ app_voicemail.c: At top level: app_voicemail.c:8901: warning: initialization from incompatible pointer type app_voicemail.c: In function ‘show_users_realtime’: app_voicemail.c:8946: error: ‘SENTINEL’ undeclared (first use in this function) app_voicemail.c:8947: error: ‘CLI_FAILURE’ undeclared (first use in this function) app_voicemail.c:8974: error: ‘CLI_SUCCESS’ undeclared (first use in this function) app_voicemail.c: At top level: app_voicemail.c:9002: warning: ‘struct ast_cli_args’ declared inside parameter list app_voicemail.c:9002: warning: its scope is only this definition or declaration, which is probably not what you want app_voicemail.c: In function ‘handle_voicemail_show_users’: app_voicemail.c:9010: error: ‘CLI_INIT’ undeclared (first use in this function) app_voicemail.c:9011: error: ‘struct ast_cli_entry’ has no member named ‘command’ app_voicemail.c:9016: error: ‘CLI_GENERATE’ undeclared (first use in this function) app_voicemail.c:9017: error: dereferencing pointer to incomplete type app_voicemail.c:9017: error: dereferencing pointer to incomplete type app_voicemail.c:9017: error: dereferencing pointer to incomplete type app_voicemail.c:9017: error: dereferencing pointer to incomplete type app_voicemail.c:9020: error: dereferencing pointer to incomplete type app_voicemail.c:9020: error: dereferencing pointer to incomplete type app_voicemail.c:9020: error: dereferencing pointer to incomplete type app_voicemail.c:9021: error: ‘CLI_SHOWUSAGE’ undeclared (first use in this function) app_voicemail.c:9022: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9023: error: dereferencing pointer to incomplete type app_voicemail.c:9025: error: dereferencing pointer to incomplete type app_voicemail.c:9030: error: dereferencing pointer to incomplete type app_voicemail.c:9033: error: dereferencing pointer to incomplete type app_voicemail.c:9038: error: dereferencing pointer to incomplete type app_voicemail.c:9040: error: ‘CLI_FAILURE’ undeclared (first use in this function) app_voicemail.c:9042: error: dereferencing pointer to incomplete type app_voicemail.c:9043: error: dereferencing pointer to incomplete type app_voicemail.c:9051: error: dereferencing pointer to incomplete type app_voicemail.c:9053: error: dereferencing pointer to incomplete type app_voicemail.c:9062: error: dereferencing pointer to incomplete type app_voicemail.c:9062: error: dereferencing pointer to incomplete type app_voicemail.c:9066: error: dereferencing pointer to incomplete type app_voicemail.c:9071: error: dereferencing pointer to incomplete type app_voicemail.c:9072: error: ‘CLI_SUCCESS’ undeclared (first use in this function) app_voicemail.c: At top level: app_voicemail.c:9076: warning: ‘struct ast_cli_args’ declared inside parameter list app_voicemail.c: In function ‘handle_voicemail_show_zones’: app_voicemail.c:9080: error: ‘CLI_SUCCESS’ undeclared (first use in this function) app_voicemail.c:9083: error: ‘CLI_INIT’ undeclared (first use in this function) app_voicemail.c:9084: error: ‘struct ast_cli_entry’ has no member named ‘command’ app_voicemail.c:9089: error: ‘CLI_GENERATE’ undeclared (first use in this function) app_voicemail.c:9093: error: dereferencing pointer to incomplete type app_voicemail.c:9094: error: ‘CLI_SHOWUSAGE’ undeclared (first use in this function) app_voicemail.c:9098: error: dereferencing pointer to incomplete type app_voicemail.c:9100: error: dereferencing pointer to incomplete type app_voicemail.c:9103: error: dereferencing pointer to incomplete type app_voicemail.c:9104: error: ‘CLI_FAILURE’ undeclared (first use in this function) app_voicemail.c: At top level: app_voicemail.c:9112: warning: ‘struct ast_cli_args’ declared inside parameter list app_voicemail.c: In function ‘handle_voicemail_reload’: app_voicemail.c:9115: error: ‘CLI_INIT’ undeclared (first use in this function) app_voicemail.c:9116: error: ‘struct ast_cli_entry’ has no member named ‘command’ app_voicemail.c:9121: error: ‘CLI_GENERATE’ undeclared (first use in this function) app_voicemail.c:9125: error: dereferencing pointer to incomplete type app_voicemail.c:9126: error: ‘CLI_SHOWUSAGE’ undeclared (first use in this function) app_voicemail.c:9128: error: dereferencing pointer to incomplete type app_voicemail.c:9131: error: ‘CLI_SUCCESS’ undeclared (first use in this function) app_voicemail.c: At top level: app_voicemail.c:9135: warning: implicit declaration of function ‘AST_CLI_DEFINE’ app_voicemail.c:9135: warning: missing braces around initializer app_voicemail.c:9135: warning: (near initialization for ‘cli_voicemail[0]’) app_voicemail.c:9135: error: initializer element is not constant app_voicemail.c:9135: error: (near initialization for ‘cli_voicemail[0].cmda[0]’) app_voicemail.c:9136: error: initializer element is not constant app_voicemail.c:9136: error: (near initialization for ‘cli_voicemail[0].cmda[1]’) app_voicemail.c:9137: error: initializer element is not constant app_voicemail.c:9137: error: (near initialization for ‘cli_voicemail[0].cmda[2]’) app_voicemail.c:9199:33: error: macro "AST_LIST_REMOVE_CURRENT" requires 2 arguments, but only 1 given app_voicemail.c: In function ‘handle_unsubscribe’: app_voicemail.c:9199: error: ‘AST_LIST_REMOVE_CURRENT’ undeclared (first use in this function) app_voicemail.c:9199: warning: statement with no effect app_voicemail.c: In function ‘mwi_unsub_event_cb’: app_voicemail.c:9258: warning: implicit declaration of function ‘ast_taskprocessor_push’ app_voicemail.c: In function ‘load_config’: app_voicemail.c:9439: error: ‘CONFIG_FLAG_FILEUNCHANGED’ undeclared (first use in this function) app_voicemail.c:9439: warning: initialization makes integer from pointer without a cast app_voicemail.c:9441: warning: implicit declaration of function ‘ast_unload_realtime’ app_voicemail.c:9444: error: too many arguments to function ‘ast_config_load’ app_voicemail.c:9444: error: ‘CONFIG_STATUS_FILEUNCHANGED’ undeclared (first use in this function) app_voicemail.c:9444: warning: comparison of distinct pointer types lacks a cast app_voicemail.c:9445: error: too many arguments to function ‘ast_config_load’ app_voicemail.c:9445: warning: comparison of distinct pointer types lacks a cast app_voicemail.c:9447: error: wrong type argument to bit-complement app_voicemail.c:9447: error: invalid operands to binary & app_voicemail.c:9447: error: incompatible types in assignment app_voicemail.c:9447: warning: statement with no effect app_voicemail.c:9448: error: too many arguments to function ‘ast_config_load’ app_voicemail.c:9450: error: wrong type argument to bit-complement app_voicemail.c:9450: error: invalid operands to binary & app_voicemail.c:9450: error: incompatible types in assignment app_voicemail.c:9450: warning: statement with no effect app_voicemail.c:9451: error: too many arguments to function ‘ast_config_load’ app_voicemail.c:9521: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:9521: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9521: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9521: warning: passing argument 4 of ‘ast_log’ makes pointer from integer without a cast app_voicemail.c:9521: error: too few arguments to function ‘ast_log’ app_voicemail.c:9521: warning: statement with no effect app_voicemail.c:9524: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9524: error: too few arguments to function ‘ast_log’ app_voicemail.c:9524: warning: statement with no effect app_voicemail.c:9540: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9540: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9540: warning: passing argument 4 of ‘ast_log’ makes pointer from integer without a cast app_voicemail.c:9540: error: too few arguments to function ‘ast_log’ app_voicemail.c:9540: warning: statement with no effect app_voicemail.c:9543: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9543: error: too few arguments to function ‘ast_log’ app_voicemail.c:9543: warning: statement with no effect app_voicemail.c:9565: error: ‘AST_LOG_DEBUG’ undeclared (first use in this function) app_voicemail.c:9565: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9565: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9565: error: too few arguments to function ‘ast_log’ app_voicemail.c:9565: warning: statement with no effect app_voicemail.c:9666: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:9666: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9666: error: too few arguments to function ‘ast_log’ app_voicemail.c:9666: warning: statement with no effect app_voicemail.c:9671: warning: implicit declaration of function ‘ast_dsp_get_threshold_from_settings’ app_voicemail.c:9671: error: ‘THRESHOLD_SILENCE’ undeclared (first use in this function) app_voicemail.c:9684: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9684: error: too few arguments to function ‘ast_log’ app_voicemail.c:9684: warning: statement with no effect app_voicemail.c:9690: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9690: error: too few arguments to function ‘ast_log’ app_voicemail.c:9690: warning: statement with no effect app_voicemail.c:9695: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9695: error: too few arguments to function ‘ast_log’ app_voicemail.c:9695: warning: statement with no effect app_voicemail.c:9704: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9704: error: too few arguments to function ‘ast_log’ app_voicemail.c:9704: warning: statement with no effect app_voicemail.c:9706: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9706: error: too few arguments to function ‘ast_log’ app_voicemail.c:9706: warning: statement with no effect app_voicemail.c:9712: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9712: error: too few arguments to function ‘ast_log’ app_voicemail.c:9712: warning: statement with no effect app_voicemail.c:9717: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9717: error: too few arguments to function ‘ast_log’ app_voicemail.c:9717: warning: statement with no effect app_voicemail.c:9719: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9719: error: too few arguments to function ‘ast_log’ app_voicemail.c:9719: warning: statement with no effect app_voicemail.c:9733: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9733: error: too few arguments to function ‘ast_log’ app_voicemail.c:9733: warning: statement with no effect app_voicemail.c:9741: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9741: error: too few arguments to function ‘ast_log’ app_voicemail.c:9741: warning: statement with no effect app_voicemail.c:9750: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9750: error: too few arguments to function ‘ast_log’ app_voicemail.c:9750: warning: statement with no effect app_voicemail.c:9759: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9759: error: too few arguments to function ‘ast_log’ app_voicemail.c:9759: warning: statement with no effect app_voicemail.c:9849: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9849: error: too few arguments to function ‘ast_log’ app_voicemail.c:9849: warning: statement with no effect app_voicemail.c:9913: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9913: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9913: error: too few arguments to function ‘ast_log’ app_voicemail.c:9913: warning: statement with no effect app_voicemail.c:9959: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:9959: error: too few arguments to function ‘ast_log’ app_voicemail.c:9959: warning: statement with no effect app_voicemail.c:10040: error: ‘AST_LOG_NOTICE’ undeclared (first use in this function) app_voicemail.c:10040: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10040: error: too few arguments to function ‘ast_log’ app_voicemail.c:10040: warning: statement with no effect app_voicemail.c:10068: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10068: error: too few arguments to function ‘ast_log’ app_voicemail.c:10068: warning: statement with no effect app_voicemail.c:10084: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10084: error: too few arguments to function ‘ast_log’ app_voicemail.c:10084: warning: statement with no effect app_voicemail.c: In function ‘sayname’: app_voicemail.c:10099: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c:10099: warning: assignment makes integer from pointer without a cast app_voicemail.c: In function ‘unload_module’: app_voicemail.c:10126: warning: implicit declaration of function ‘ast_taskprocessor_unreference’ app_voicemail.c:10126: warning: assignment makes pointer from integer without a cast app_voicemail.c: In function ‘load_module’: app_voicemail.c:10141: warning: implicit declaration of function ‘ast_taskprocessor_get’ app_voicemail.c:10141: warning: assignment makes pointer from integer without a cast app_voicemail.c:10142: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:10142: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10142: error: too few arguments to function ‘ast_log’ app_voicemail.c:10142: warning: statement with no effect app_voicemail.c:10153: error: ‘EVENT_FLAG_REPORTING’ undeclared (first use in this function) app_voicemail.c:10153: error: invalid operands to binary | app_voicemail.c:10153: warning: passing argument 2 of ‘ast_manager_register2’ makes integer from pointer without a cast app_voicemail.c:10159: warning: passing argument 3 of ‘ast_install_vm_functions’ from incompatible pointer type app_voicemail.c:10159: error: too many arguments to function ‘ast_install_vm_functions’ app_voicemail.c:10160: error: ‘RQ_UINTEGER3’ undeclared (first use in this function) app_voicemail.c:10160: error: ‘RQ_CHAR’ undeclared (first use in this function) app_voicemail.c:10160: error: ‘SENTINEL’ undeclared (first use in this function) app_voicemail.c: In function ‘dialout’: app_voicemail.c:10207: error: ‘option_verbose’ undeclared (first use in this function) app_voicemail.c:10207: warning: comparison between pointer and integer app_voicemail.c:10215: warning: comparison between pointer and integer app_voicemail.c: In function ‘advanced_options’: app_voicemail.c:10263: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:10263: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10263: error: too few arguments to function ‘ast_log’ app_voicemail.c:10263: warning: statement with no effect app_voicemail.c:10269: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:10269: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10269: error: too few arguments to function ‘ast_log’ app_voicemail.c:10269: warning: statement with no effect app_voicemail.c: In function ‘play_record_review’: app_voicemail.c:10495: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:10495: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10495: error: too few arguments to function ‘ast_log’ app_voicemail.c:10495: warning: statement with no effect app_voicemail.c:10518: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c:10518: warning: statement with no effect app_voicemail.c:10532: error: too few arguments to function ‘ast_stream_and_wait’ app_voicemail.c:10532: warning: assignment makes integer from pointer without a cast app_voicemail.c: In function ‘find_user_realtime_imapuser’: app_voicemail.c:10757: error: ‘SENTINEL’ undeclared (first use in this function) app_voicemail.c: In function ‘mm_status’: app_voicemail.c:10838: error: ‘AST_LOG_NOTICE’ undeclared (first use in this function) app_voicemail.c:10838: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10838: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10838: error: too few arguments to function ‘ast_log’ app_voicemail.c:10838: warning: statement with no effect app_voicemail.c:10840: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10840: error: too few arguments to function ‘ast_log’ app_voicemail.c:10840: warning: statement with no effect app_voicemail.c:10842: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10842: error: too few arguments to function ‘ast_log’ app_voicemail.c:10842: warning: statement with no effect app_voicemail.c:10844: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10844: error: too few arguments to function ‘ast_log’ app_voicemail.c:10844: warning: statement with no effect app_voicemail.c:10846: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10846: error: too few arguments to function ‘ast_log’ app_voicemail.c:10846: warning: statement with no effect app_voicemail.c:10848: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10848: error: too few arguments to function ‘ast_log’ app_voicemail.c:10848: warning: statement with no effect app_voicemail.c:10849: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10849: error: too few arguments to function ‘ast_log’ app_voicemail.c:10849: warning: statement with no effect app_voicemail.c: In function ‘mm_log’: app_voicemail.c:10861: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:10861: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10861: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10861: error: too few arguments to function ‘ast_log’ app_voicemail.c:10861: warning: statement with no effect app_voicemail.c:10864: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:10864: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10864: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10864: error: too few arguments to function ‘ast_log’ app_voicemail.c:10864: warning: statement with no effect app_voicemail.c: In function ‘mm_dlog’: app_voicemail.c:10872: error: ‘AST_LOG_NOTICE’ undeclared (first use in this function) app_voicemail.c:10872: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10872: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10872: error: too few arguments to function ‘ast_log’ app_voicemail.c:10872: warning: statement with no effect app_voicemail.c: In function ‘mm_fatal’: app_voicemail.c:10923: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:10923: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10923: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10923: error: too few arguments to function ‘ast_log’ app_voicemail.c:10923: warning: statement with no effect app_voicemail.c: In function ‘mm_parsequota’: app_voicemail.c:10941: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:10941: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:10941: error: too few arguments to function ‘ast_log’ app_voicemail.c:10941: warning: statement with no effect app_voicemail.c: In function ‘create_vm_state_from_user’: app_voicemail.c:11003: error: ‘option_debug’ undeclared (first use in this function) app_voicemail.c:11003: warning: comparison between pointer and integer app_voicemail.c:11004: error: ‘AST_LOG_DEBUG’ undeclared (first use in this function) app_voicemail.c:11004: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11004: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11004: error: too few arguments to function ‘ast_log’ app_voicemail.c:11004: warning: statement with no effect app_voicemail.c:11010: warning: comparison between pointer and integer app_voicemail.c:11011: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11011: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11011: error: too few arguments to function ‘ast_log’ app_voicemail.c:11011: warning: statement with no effect app_voicemail.c:11140:32: error: macro "AST_LIST_REMOVE_CURRENT" requires 2 arguments, but only 1 given app_voicemail.c: In function ‘vmstate_delete’: app_voicemail.c:11140: error: ‘AST_LIST_REMOVE_CURRENT’ undeclared (first use in this function) app_voicemail.c:11140: warning: statement with no effect app_voicemail.c:11152: error: ‘AST_LOG_ERROR’ undeclared (first use in this function) app_voicemail.c:11152: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11152: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11152: error: too few arguments to function ‘ast_log’ app_voicemail.c:11152: warning: statement with no effect app_voicemail.c: In function ‘set_update’: app_voicemail.c:11162: error: ‘option_debug’ undeclared (first use in this function) app_voicemail.c:11162: warning: comparison between pointer and integer app_voicemail.c:11163: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:11163: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11163: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11163: error: too few arguments to function ‘ast_log’ app_voicemail.c:11163: warning: statement with no effect app_voicemail.c: In function ‘check_quota’: app_voicemail.c:11261: error: ‘AST_LOG_WARNING’ undeclared (first use in this function) app_voicemail.c:11261: warning: passing argument 1 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11261: warning: passing argument 3 of ‘ast_log’ makes integer from pointer without a cast app_voicemail.c:11261: error: too few arguments to function ‘ast_log’ app_voicemail.c:11261: warning: statement with no effect make[1]: *** [app_voicemail.o] Error 1 make: *** [apps] Error 2