diff --git a/utils/check_expr.c b/utils/check_expr.c
index df3b19b584e339007173eba3668462b9c919c2f0..164774f6b29f4ab18e809b0bfd7d3db4c71557b3 100644
--- a/utils/check_expr.c
+++ b/utils/check_expr.c
@@ -167,6 +167,21 @@ void ast_unregister_file_version(const char *file)
 {
 }
 
+void ast_cli(int fd, const char *fmt, ...);
+void ast_cli(int fd, const char *fmt, ...)
+{
+}
+
+struct ast_cli_entry {
+	char * const cmda; /* just something to satisfy compile & link; will never be used */
+};
+
+int ast_cli_register_multiple(struct ast_cli_entry *e, int len);
+int ast_cli_register_multiple(struct ast_cli_entry *e, int len)
+{
+ return 0;
+}
+
 char *find_var(const char *varname) /* the list should be pretty short, if there's any list at all */
 {
 	struct varz *t;