ID: 38696
Updated by: [EMAIL PROTECTED]
Reported By: neko at nekochan dot net
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: IRIX 6.5.30
PHP Version: 5.2.0RC3
New Comment:
Please try a future CVS snap.
Thanks
Previous Comments:
------------------------------------------------------------------------
[2006-09-03 08:32:39] neko at nekochan dot net
Description:
------------
Able to compile up to and including php-5.1.6 without error
(and run in a production environment). My attempt to build
php-5.2.0RC3 dies in php_date.c (an entity with internal
linkage cannot be referenced within an inline function with
external linkage).
IRIX64 Mai 6.5 6.5.30f 07202013 IP35
MIPSpro Compilers: Version 7.4.4m
Reproduce code:
---------------
'./configure'
'--prefix=/usr/nekoware/php5'
'--enable-dba'
'--enable-dbx'
'--enable-calendar'
'--enable-wddx'
'--with-config-file-path=/usr/nekoware/etc/php5'
'--with-apxs2=/usr/nekoware/apache2/bin/apxs'
'--enable-cli'
'--with-libxml-dir=/usr/nekoware'
'--with-expat-dir=/usr/nekoware'
'--with-png-dir=/usr/nekoware'
'--with-jpeg-dir=/usr/nekoware'
'--with-freetype-dir=/usr/nekoware'
'--with-zlib-dir=/usr/nekoware'
'--with-zlib'
'--with-curlwrappers'
'--with-curl=shared,/usr/nekoware'
'--with-openssl=shared,/usr/nekoware'
'--with-mysql=shared,/usr/nekoware/mysql5'
'--with-mysqli=shared,/usr/nekoware/mysql5/bin/mysql_config'
'--with-mhash=shared,/usr/nekoware'
'--with-mcrypt=shared,/usr/nekoware'
'--with-bz2=shared,/usr/nekoware'
'--enable-ftp=shared'
'--enable-sockets=shared'
'--with-gd=shared'
'--enable-sqlite-utf8'
'--with-sqlite=shared'
'--enable-exif=shared'
'--enable-dbase=shared'
'--with-xmlrpc'
'--with-gettext=shared,/usr/nekoware'
'--with-iconv-dir=/usr/nekoware'
Expected result:
----------------
Completed build.
Actual result:
--------------
/bin/sh /opt/build/php-5.2.0RC3/libtool --silent --preserve-
dup-deps --mode=compile c99 -Iext/date/lib -Iext/date/ -I/
opt/build/php-5.2.0RC3/ext/date/ -DPHP_ATOM_INC -I/opt/
build/php-5.2.0RC3/include -I/opt/build/php-5.2.0RC3/main -
I/opt/build/php-5.2.0RC3 -I/usr/nekoware/include/libxml2 -I/
usr/nekoware/include -I/opt/build/php-5.2.0RC3/ext/date/lib
-I/usr/nekoware/include/freetype2 -I/usr/nekoware/mysql5/
include/mysql -I/opt/build/php-5.2.0RC3/TSRM -I/opt/build/
php-5.2.0RC3/Zend -I/usr/nekoware/include -D_XPG_IV -L/usr/
lib32 -I/usr/include -O3 -mips4 -Wl,-rpath -Wl,/usr/
nekoware/lib -I/usr/nekoware/include -
OPT:Olimit=0:roundoff=3 -TARG:platform=IP35:proc=r14000 -c
/opt/build/php-5.2.0RC3/ext/date/php_date.c -o ext/date/
php_date.lo
c-3580 c99: ERROR File = /opt/build/php-5.2.0RC3/ext/date/
php_date.c, Line = 1495
an entity with internal linkage cannot be referenced
within an inline function
with external linkage
retval.handle = zend_objects_store_put(intern,
(zend_objects_store_dtor_t)zend_objects_destroy_object,
(zend_objects_free_object_storage_t)
date_object_free_storage_date, NULL TSRMLS_CC);
^
cc-3580 c99: ERROR File = /opt/build/php-5.2.0RC3/ext/date/
php_date.c, Line = 1496
an entity with internal linkage cannot be referenced
within an inline function
with external linkage
retval.handlers = &date_object_handlers_date;
^
cc-3580 c99: ERROR File = /opt/build/php-5.2.0RC3/ext/date/
php_date.c, Line = 1542
an entity with internal linkage cannot be referenced
within an inline function
with external linkage
retval.handle = zend_objects_store_put(intern,
(zend_objects_store_dtor_t)zend_objects_destroy_object,
(zend_objects_free_object_storage_t)
date_object_free_storage_timezone, NULL TSRMLS_CC);
^
cc-3580 c99: ERROR File = /opt/build/php-5.2.0RC3/ext/date/
php_date.c, Line = 1543
an entity with internal linkage cannot be referenced
within an inline function
with external linkage
retval.handlers = &date_object_handlers_timezone;
^
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38696&edit=1