From:
Operating system: Solaris 2.8
PHP version: 5.2.14
Package: Compile Failure
Bug Type: Bug
Bug description:make fails with error: conflicting types for 'int8_t'
Description:
------------
PHP v5.2.14
Solaris 2.8 (sparc)
./configure \
--prefix=/opt/php-5.2.14 \
--with-mysql=/opt/mysql \
--with-mysql-sock=/tmp \
--with-apxs2=/opt/httpd-2.2.16/bin/apxs \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/share/src/libpng-1.2.1 \
--with-gd \
--with-ttf \
--with-freetype-dir=/usr/local/lib \
--with-curl=/usr/local/bin \
--with-xsl \
--enable-cli \
--enable-ftp \
--enable-zip \
--with-ldap=/opt/ldap \
--with-zlib
....
....
In file included from
/usr/share/src/php-5.2.14/ext/pcre/pcrelib/pcre_internal.h:198,
from
/usr/share/src/php-5.2.14/ext/pcre/pcrelib/pcre_chartables.c:25:
/usr/include/stdint.h:41: error: conflicting types for 'int8_t'
/usr/include/sys/int_types.h:62: error: previous declaration of 'int8_t'
was here
/usr/include/stdint.h:42: error: conflicting types for 'int_least8_t'
/usr/include/sys/int_types.h:119: error: previous declaration of
'int_least8_t' was here
make: *** [ext/pcre/pcrelib/pcre_chartables.lo] Error 1
--
Edit bug report at http://bugs.php.net/bug.php?id=52601&edit=1
--
Try a snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=52601&r=trysnapshot52
Try a snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=52601&r=trysnapshot53
Try a snapshot (trunk):
http://bugs.php.net/fix.php?id=52601&r=trysnapshottrunk
Fixed in SVN:
http://bugs.php.net/fix.php?id=52601&r=fixed
Fixed in SVN and need be documented:
http://bugs.php.net/fix.php?id=52601&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=52601&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=52601&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=52601&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=52601&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=52601&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=52601&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=52601&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=52601&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=52601&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52601&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52601&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=52601&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=52601&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=52601&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=52601&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=52601&r=mysqlcfg