Bug #62196 [NEW]: stdlib.h:107:23: error: duplicate 'unsigned'
| From: | thierry dot tisserand at lu dot nomura dot com | Date: | Thu, 31 May 2012 10:20:13 +0000 |
| Subject: | Bug #62196 [NEW]: stdlib.h:107:23: error: duplicate 'unsigned' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-170948@lists.php.net to get a copy of this message | ||
From: thierry dot tisserand at lu dot nomura dot com
Operating system: AIX 7100-01-02-1150 (64 bits)
PHP version: 5.3.13
Package: Compile Failure
Bug Type: Bug
Bug description:stdlib.h:107:23: error: duplicate 'unsigned'
Description:
------------
Php Source : 5.3.13 (RPM downloaded from http://www.perzl.org/aix)
gcc (GCC) 4.6.3
libtool 1.5.26
Compilation of php 5.3.13 FAILED.
Test script:
---------------
./configure --prefix=/opt/freeware \
--with-apxs2=/opt/freeware/etc/httpd/bin/apxs \
--with-config-file-path=/opt/freeware/etc/httpd/conf \
--with-gd \
--with-zlib-dir=/opt/freeware/lib \
--enable-shared --disable-static \
--with-png \
--with-zlib \
--with-bz2 \
--with-xml \
--with-jpeg-dir=/opt/freeware/lib \
--with-png-dir=/opt/freeware/lib \
--with-xpm-dir=/opt/freeware/lib \
--with-freetype-dir=/opt/freeware/lib
make
Actual result:
--------------
/bin/sh /opt/freeware/src/packages/SOURCES/php-5.3.13/libtool
--silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/
-I/opt/freeware/src/packages/SOURCES/php-5.3.13/ext/date/ -DPHP_ATOM_INC
-I/opt/freeware/src/packages/SOURCES/php-5.3.13/include
-I/opt/freeware/src/packages/SOURCES/php-5.3.13/main
-I/opt/freeware/src/packages/SOURCES/php-5.3.13
-I/opt/freeware/src/packages/SOURCES/php-5.3.13/ext/date/lib
-I/opt/freeware/src/packages/SOURCES/php-5.3.13/ext/ereg/regex
-I/opt/freeware/include/libxml2 -I/usr/include/freetype2
-I/opt/freeware/src/packages/SOURCES/php-5.3.13/ext/sqlite3/libsqlite
-I/opt/freeware/src/packages/SOURCES/php-5.3.13/TSRM
-I/opt/freeware/src/packages/SOURCES/php-5.3.13/Zend -I/usr/include -g
-O2 -fvisibility=hidden -c
/opt/freeware/src/packages/SOURCES/php-5.3.13/ext/date/php_date.c -o
ext/date/php_date.lo
In file included from
/opt/freeware/src/packages/SOURCES/php-5.3.13/include/../main/php_config.h:2452:0,
from
/opt/freeware/src/packages/SOURCES/php-5.3.13/Zend/zend_config.h:1,
from
/opt/freeware/src/packages/SOURCES/php-5.3.13/Zend/zend.h:51,
from
/opt/freeware/src/packages/SOURCES/php-5.3.13/main/php.h:34,
from
/opt/freeware/src/packages/SOURCES/php-5.3.13/ext/date/php_date.c:21:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/include-fixed/stdlib.h:107:23:
error: duplicate 'unsigned'
In file included from
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/include-fixed/sys/wait.h:51:0,
from
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/include-fixed/stdlib.h:349,
from
/opt/freeware/src/packages/SOURCES/php-5.3.13/include/../main/php_config.h:2452,
from
/opt/freeware/src/packages/SOURCES/php-5.3.13/Zend/zend_config.h:1,
from
/opt/freeware/src/packages/SOURCES/php-5.3.13/Zend/zend.h:51,
from
/opt/freeware/src/packages/SOURCES/php-5.3.13/main/php.h:34,
from
/opt/freeware/src/packages/SOURCES/php-5.3.13/ext/date/php_date.c:21:
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/include-fixed/sys/types.h:587:17:
error: two or more data types in declaration specifiers
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/include-fixed/sys/types.h:587:17:
error: two or more data types in declaration specifiers
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/include-fixed/sys/types.h:588:18:
error: two or more data types in declaration specifiers
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/include-fixed/sys/types.h:588:18:
error: two or more data types in declaration specifiers
make: The error code from the last command is 1.
Stop.
--
Edit bug report at https://bugs.php.net/bug.php?id=62196&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62196&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62196&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62196&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=62196&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62196&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=62196&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=62196&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=62196&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=62196&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=62196&r=support
Expected behavior: https://bugs.php.net/fix.php?id=62196&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=62196&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=62196&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=62196&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62196&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=62196&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=62196&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=62196&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=62196&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=62196&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=62196&r=mysqlcfg