Bug #62196 [Fbk->Opn]: stdlib.h:107:23: error: duplicate 'unsigned'
| From: | thierry dot tisserand at lu dot nomura dot com | Date: | Thu, 31 May 2012 11:15:29 +0000 |
| Subject: | Bug #62196 [Fbk->Opn]: stdlib.h:107:23: error: duplicate 'unsigned' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-170951@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62196&edit=1
ID: 62196
User updated by: thierry dot tisserand at lu dot nomura dot com
Reported by: thierry dot tisserand at lu dot nomura dot com
Summary: stdlib.h:107:23: error: duplicate 'unsigned'
-Status: Feedback
+Status: Open
Type: Bug
Package: Compile Failure
Operating System: AIX 7100-01-02-1150 (64 bits)
PHP Version: 5.3.13
Block user comment: N
Private report: N
New Comment:
Line 107 of file /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/include-fixed/stdlib.h :
typedef __SIZE_TYPE__ size_t;
Previous Comments:
------------------------------------------------------------------------
[2012-05-31 11:11:57] felipe@php.net
Can you paste the line 107 of file
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.6.3/include-fixed/stdlib.h ?
------------------------------------------------------------------------
[2012-05-31 10:20:13] thierry dot tisserand at lu dot nomura dot com
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 this bug report at https://bugs.php.net/bug.php?id=62196&edit=1