为了能快速了解并处理您的问题,请提供以下基础信息: 相关截图(日志、错误):/www/server/php/74/src/ext/libxml/libxml.c:1050:49: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types]  1050 |                 xmlSetStructuredErrorFunc(NULL, php_libxml_structured_error_handler);       |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~       |                                                 |       |                                                 void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/valid.h:15,                  from /usr/include/libxml2/libxml/parser.h:19,                  from /www/server/php/74/src/ext/libxml/libxml.c:34: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’}   898 |                                  xmlStructuredErrorFunc handler);       |                                  ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /www/server/php/74/src/ext/libxml/libxml.c: In function ‘zif_libxml_get_last_error’: /www/server/php/74/src/ext/libxml/libxml.c:1066:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]  1066 |         error = xmlGetLastError();       |               ^ make: *** [Makefile:710: ext/libxml/libxml.lo] Error 1  
 |   
 
 
 
 
 |