|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-07-25 10:47 UTC] cmb@php.net
[2021-07-25 11:26 UTC] herbert at groot dot jebbink dot nl
-Status: Open
+Status: Closed
[2021-07-25 11:26 UTC] herbert at groot dot jebbink dot nl
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 16 22:00:01 2025 UTC |
Description: ------------ Compiling yaml from PECL fails, it did work earlier with the same pecl/yaml version 2.2.1 in the 8.1 cycle cc -I. -I/tmp/pear/temp/yaml -I/tmp/pear/temp/pear-build-root8R4Yon/yaml-2.2.1/include -I/tmp/pear/temp/pear-build-root8R4Yon/yaml-2.2.1/main -I/tmp/pear/temp/yaml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/yaml/detect.c -MMD -MF detect.dep -MT detect.lo -fPIC -DPIC -o .libs/detect.o /tmp/pear/temp/yaml/detect.c: In function ‘scalar_is_numeric’: /tmp/pear/temp/yaml/detect.c:545:24: error: macro "ZEND_ATOL" passed 2 arguments, but takes just 1 545 | ZEND_ATOL(*lval, buf); | ^ In file included from /usr/local/include/php/Zend/zend_range_check.h:22, from /usr/local/include/php/Zend/zend_portability.h:74, from /usr/local/include/php/Zend/zend_types.h:25, from /usr/local/include/php/Zend/zend.h:27, from /usr/local/include/php/main/php.h:31, from /tmp/pear/temp/yaml/php_yaml.h:46, from /tmp/pear/temp/yaml/detect.c:36: /usr/local/include/php/Zend/zend_long.h:76: note: macro "ZEND_ATOL" defined here 76 | # define ZEND_ATOL(s) atoll((s)) | /tmp/pear/temp/yaml/detect.c:545:4: error: ‘ZEND_ATOL’ undeclared (first use in this function); did you mean ‘ZEND_AST_OR’? 545 | ZEND_ATOL(*lval, buf); | ^~~~~~~~~ | ZEND_AST_OR /tmp/pear/temp/yaml/detect.c:545:4: note: each undeclared identifier is reported only once for each function it appears in make: *** [Makefile:212: detect.lo] Error 1 ERROR: `make' failed