php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62196 stdlib.h:107:23: error: duplicate 'unsigned'
Submitted: 2012-05-31 10:20 UTC Modified: 2016-07-10 04:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: thierry dot tisserand at lu dot nomura dot com Assigned: cmb
Status: No Feedback Package: Compile Failure
PHP Version: 5.3.13 OS: AIX 7100-01-02-1150 (64 bits)
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-05-31 10:20 UTC] 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.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-31 11:11 UTC] 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 11:11 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2012-05-31 11:15 UTC] thierry dot tisserand at lu dot nomura dot com
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;
 [2012-05-31 11:15 UTC] thierry dot tisserand at lu dot nomura dot com
-Status: Feedback +Status: Open
 [2012-07-03 03:46 UTC] roopalya at gmail dot com
Getting the same issue on AIX 5.3 and PHP-5.3.14
 [2016-06-30 11:15 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2016-06-30 11:15 UTC] cmb@php.net
Is that still an issue with recent PHP versions? If so, please
re-open the ticket and update the "PHP version" field.
 [2016-07-10 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2016 The PHP Group
All rights reserved.
Last updated: Sun Jul 24 06:01:40 2016 UTC