已经处理了,php8.4 源码中移除了php_mkdir_ex 函数,Appender.c 把这个文件对应位置的函数替换成建议的函数就行了。目前php8.4已经编译安装通过
官方文档说明 The php_mkdir() and php_mkdir_ex() APIs have been removed, use php_stream_mkdir() instead.
另外这个ErrorHook.c文件,有个old_error_cb 函数第二参数不能用char 类型,要改成zend_string 类型,不然参数类型冲突
tmp/SeasLog-2.2.0/src/ErrorHook.c:117:23: error: assignment to 'void (*)(int, zend_string *, const uint32_t, zend_string )' {aka 'void ()(int, struct _zend_string *, const unsigned int, struct _zend_string )'} from incompatible pointer type 'void ()(int, const char *, const SEASLOG_UINT, zend_string )' {aka 'void ()(int, const char *, const unsigned int, struct _zend_string *)'} [-Wincompatible-pointer-types]
117 | zend_error_cb = old_error_cb;
| ^
make: *** [Makefile:233: src/ErrorHook.lo] Error 1