|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2020-08-08 19:17 UTC] rk at srsbiz dot pl
Description:
------------
Git revision 05478e985eb50c473054b4f1bf174f48ead78784
g++ (GCC) 4.5.2
uconv v2.1 ICU 56.1
Configure script:
./configure --prefix=/usr/local/php-master --with-config-file-path=/usr/local/php-master/etc --enable-bcmath --enable-calendar --enable-exif --enable-ftp --enable-gd --enable-intl --enable-mbstring --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --disable-cgi --disable-phar --with-bz2 --with-curl --with-freetype --with-gdbm --with-gmp --with-iconv --with-jpeg --with-mhash --with-mysql-sock=/var/run/mysql/mysql.sock --with-mysqli=mysqlnd --with-openssl --with-pdo-mysql=mysqlnd --with-pdo-pgsql --with-pgsql --with-pspell --with-readline --with-webp --with-xpm --with-zip --without-pear
Error:
/bin/sh /usr/src/php-master/libtool --silent --preserve-dup-deps --mode=compile g++ -DU_NO_DEFAULT_INCLUDE_UTF_HEADERS=1 -DU_HIDE_OBSOLETE_UTF_OLD_H=1 -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DUNISTR_FROM_CHAR_EXPLICIT=explicit -DUNISTR_FROM_STRING_EXPLICIT=explicit -Iext/intl/ -I/usr/src/php-master/ext/intl/ -I/usr/src/php-master/include -I/usr/src/php-master/main -I/usr/src/php-master -I/usr/src/php-master/ext/date/lib -I/usr/include/libxml2 -I/usr/local/include -I/usr/include/libpng14 -I/usr/include/freetype2 -I/usr/src/php-master/ext/mbstring/libmbfl -I/usr/src/php-master/ext/mbstring/libmbfl/mbfl -I/usr/local/pgsql/include -I/usr/include/pspell -I/usr/lib/libzip/include -I/usr/src/php-master/TSRM -I/usr/src/php-master/Zend -g -O2 -c /usr/src/php-master/ext/intl/intl_convertcpp.cpp -o ext/intl/intl_convertcpp.lo
In file included from /usr/src/php-master/Zend/zend.h:32:0,
from /usr/src/php-master/main/php.h:31,
from /usr/src/php-master/ext/intl/intl_convertcpp.cpp:20:
/usr/src/php-master/Zend/zend_string.h: In function ‘zend_ulong zend_inline_hash_func(const char*, size_t)’:
/usr/src/php-master/Zend/zend_string.h:381:20: error: ‘UINT32_C’ was not declared in this scope
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 06:00:01 2025 UTC |
First solution resulted in similar error in other file: In file included from /usr/src/php-master/Zend/zend.h:32:0, from /usr/src/php-master/main/php.h:31, from /usr/src/php-master/ext/intl/common/common_enum.h:25, from /usr/src/php-master/ext/intl/common/common_enum.cpp:24: /usr/src/php-master/Zend/zend_string.h: In function ‘zend_ulong zend_inline_hash_func(const char*, size_t)’: /usr/src/php-master/Zend/zend_string.h:381:20: error: ‘UINT32_C’ was not declared in this scope make: *** [ext/intl/common/common_enum.lo] Error 1 Second solution fixed it.