Bug #79946 [NEW]: Build fails due to undeclared UINT32_C
From: rk at srsbiz dot pl
Operating system: Linux
PHP version: master-Git-2020-08-08 (Git)
Package: Compile Failure
Bug Type: Bug
Bug description:Build fails due to undeclared UINT32_C
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
--
Edit bug report at https://bugs.php.net/bug.php?id=79946&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79946&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79946&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79946&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79946&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79946&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79946&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79946&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79946&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79946&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79946&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79946&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79946&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79946&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79946&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79946&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79946&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79946&r=mysqlcfg
Thread (5 messages)
- rk at srsbiz dot pl