在make步骤的时候出现错误:
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:72:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *ext;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:73:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *base_uri;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:74:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *directory;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:75:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *local_library;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:76:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *local_namespaces;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:77:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *view_directory;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:78:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *view_ext;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:79:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *default_module;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:80:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *default_controller;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:81:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *default_action;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:28:
./php_yaf.h:82:2: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string *bootstrap;
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:30:
./yaf_loader.h:69:23: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
int yaf_loader_import(zend_string *path, int use_path);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:30:
./yaf_loader.h:72:59: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
yaf_loader_t *yaf_loader_instance(yaf_loader_t *this_ptr, zend_string *library_path, zend_string *global_path);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:30:
./yaf_loader.h:72:86: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
yaf_loader_t *yaf_loader_instance(yaf_loader_t *this_ptr, zend_string *library_path, zend_string *global_path);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:32:
./yaf_application.h:31:36: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
int yaf_application_is_module_name(zend_string *name);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:35:
./yaf_view.h:34:53: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
void yaf_view_simple_clear_assign(yaf_view_t *view, zend_string *name);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:36:
./yaf_controller.h:34:1: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
zend_string * yaf_controller_render(zval *instance, char *action_name, int len, zval *var_array);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:38:
./yaf_request.h:47:62: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
yaf_request_t *yaf_request_instance(yaf_request_t *this_ptr, zend_string *info);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
In file included from /Users/John/downloads/yaf-3.0.5/yaf-3.0.5/yaf.c:38:
./yaf_request.h:48:54: error: unknown type name 'zend_string'; did you mean 'zend_stream'?
int yaf_request_set_base_uri(yaf_request_t *request, zend_string *base_uri, zend_string *request_uri);
^~~~~~~~~~~
zend_stream
/usr/include/php/Zend/zend_stream.h:60:3: note: 'zend_stream' declared here
} zend_stream;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]