[php-src] Issue #10172: make: *** [Makefile:2690: Zend/zend_hash.lo] Error 1

From: Date: Wed, 28 Dec 2022 13:35:21 +0000
Subject: [php-src] Issue #10172: make: *** [Makefile:2690: Zend/zend_hash.lo] Error 1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243264@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10172 Author: fly2-high ### Description PHP 8.1.9 works just fine but the 8.2.0 installation fail with the following message. 1. my configuration ./configure --prefix=/usr/local/php82 --with-apxs2=/usr/local/httpd24/bin/apxs --enable-fpm --with-fpm-user --with-fpm-group --enable-litespeed --enable-phpdb g --enable-phpdbg-debug --enable-phpdbg-readline --enable-debug --enable-debug-assertions --enable-zts --enable-rtld-now --enable-sigchild --enable-libgcc --with- openssl --with-kerberos --with-zlib --enable-bcmath --with-bz2 --enable-calendar --with-curl --enable-exif --enable-ftp --with-openssl-dir --enable-gd --with-webp --with-jpeg --with-xpm --with-freetype --with-gettext --with-mhash --with-imap --with-kerberos --with-imap-ssl --enable-intl --with-ldap-sasl --enable-mbstring - -with-mysqli --with-mysql-sock=/tmp/mysql.sock2 --enable-pcntl --with-pdo-mysql --with-zlib-dir --with-libedit --with-readline --enable-shmop --enable-soap --enab le-sockets --with-sodium --enable-sysvmsg --enable-sysvsem --enable-sysvshm --with-tidy --with-expat --with-xsl --enable-zend-test --with-zip --enable-mysqlnd --w ith-pear --enable-dba --with-unixODBC --with-dbmaker 2. my server uname -m = i686 uname -r = 2.6.32-754.33.1.el6.i686 uname -s = Linux uname -v = #1 SMP Tue Aug 25 15:54:25 UTC 2020 3. the error message /bin/sh /home/src/php-8.2.0/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -IZend/ -I/home/src/php-8.2.0/Zend/ -I/home/src/php-8.2.0/include -I/home/src/php-8.2.0/main -I/home/src/php-8.2.0 -I/home/src/php-8.2.0/ext/date/lib -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/libpng15 -I/usr/include/freetype2 -I/usr/include/imap -I/home/src/php-8.2.0/ext/mbstring/libmbfl -I/home/src/php-8.2.0/ext/mbstring/libmbfl/mbfl -I/usr/local/include/editline -I/home/src/php-8.2.0/TSRM -I/home/src/php-8.2.0/Zend -D_GNU_SOURCE -D_REENTRANT -pthread -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -fvisibility=hidden -pthread -O0 -DZTS -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/src/php-8.2.0/Zend/zend_hash.c -o Zend/zend_hash.lo -MMD -MF Zend/zend_hash.dep -MT Zend/zend_hash.lo /home/src/php-8.2.0/Zend/zend_hash.c:238: warning: missing initializer /home/src/php-8.2.0/Zend/zend_hash.c:238: warning: (near initialization for ‘zend_empty_array.gc.u’) /home/src/php-8.2.0/Zend/zend_hash.c:241: error: unknown field ‘arData’ specified in initializer /home/src/php-8.2.0/Zend/zend_hash.c:241: warning: missing braces around initializer /home/src/php-8.2.0/Zend/zend_hash.c:241: warning: (near initialization for ‘zend_empty_array.<anonymous>’) /home/src/php-8.2.0/Zend/zend_hash.c:241: warning: initialization from incompatible pointer type make: *** [Makefile:2690: Zend/zend_hash.lo] Error 1 make: *** Waiting for unfinished jobs.... [config.zip](https://github.com/php/php-src/files/10314414/config.zip) ### PHP Version PHP 8.2.0 ### Operating System CentOS 6.9

« previous php.bugs (#243264) next »