ID:               31129
 User updated by:  long+phpbugs at kestrel dot cc dot ku dot edu
 Reported By:      long+phpbugs at kestrel dot cc dot ku dot edu
 Status:           Assigned
 Bug Type:         Compile Failure
 Operating System: Tru64 4.0F
 PHP Version:      4.3.10
 Assigned To:      derick
 New Comment:

Ok, I lied.  It looks like it shouldn't be a problem to get you an
account on the Tru64 box.  Details to follow.


Previous Comments:
------------------------------------------------------------------------

[2004-12-16 18:30:59] long+phpbugs at kestrel dot cc dot ku dot edu

There is a good chance my sys admins won't allow me to give you an
account on the Tru64 system.  Bjorn: do you think it is more likely you
could get derick an account on the AIX system?

------------------------------------------------------------------------

[2004-12-16 18:28:22] Bjorn dot Wiberg at its dot uu dot se

This also happens on IBM AIX 5.2.0.0 ML4 with PHP 5.0.3:

/../

/bin/sh /usr/local/src/php-5.0.3/libtool --silent --preserve-dup-deps
--mode=compile /usr/local/bin/gcc  -IZend/
-I/usr/local/src/php-5.0.3/Zend/ -DPHP_ATOM_INC
-I/usr/local/src/php-5.0.3/include -I/usr/local/src/php-5.0.3/main
-I/usr/local/src/php-5.0.3 -I/usr/local/src/php-5.0.3/Zend
-I/opt/freeware/include/libxml2 -I/opt/freeware/include
-I/usr/local/include -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/local/src/php-5.0.3/ext/mbstring/oniguruma
-I/usr/local/src/php-5.0.3/ext/mbstring/libmbfl
-I/usr/local/src/php-5.0.3/ext/mbstring/libmbfl/mbfl
-I/usr/local/mnogosearch/include -I/usr/local/mysql/include/mysql 
-I/usr/local/include -I/usr/local/src/php-5.0.3/TSRM  -g -O2 
-prefer-pic -c /usr/local/src/php-5.0.3/Zend/zend_strtod.c -o
Zend/zend_strtod.lo 
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:233: error: parse error
before "one"
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:234: error: parse error
before "IBM"
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:240: error: parse error
before '}' token
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:240: warning: data
definition has no type or storage class
/usr/local/src/php-5.0.3/Zend/zend_strtod.c: In function `ulp':
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:928: error: parse error
before "x"
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:930: error: parse error
before "a"
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:932: error: `x' undeclared
(first use in this function)
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:932: error: (Each
undeclared identifier is reported only once
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:932: error: for each
function it appears in.)
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:940: error: `a' undeclared
(first use in this function)
/usr/local/src/php-5.0.3/Zend/zend_strtod.c: In function `b2d':
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:970: error: parse error
before "d"
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:988: error: `d' undeclared
(first use in this function)
/usr/local/src/php-5.0.3/Zend/zend_strtod.c: In function `d2b':
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:1041: error: parse error
before "d"
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:1046: error: `d' undeclared
(first use in this function)
/usr/local/src/php-5.0.3/Zend/zend_strtod.c: In function `ratio':
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:1172: error: parse error
before "da"
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:1175: error: `da'
undeclared (first use in this function)
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:1176: error: `db'
undeclared (first use in this function)
/usr/local/src/php-5.0.3/Zend/zend_strtod.c: In function
`zend_strtod':
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:1243: error: parse error
before "rv"
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:1252: error: `rv'
undeclared (first use in this function)
/usr/local/src/php-5.0.3/Zend/zend_strtod.c:1485: error: `rv0'
undeclared (first use in this function)
make: *** [Zend/zend_strtod.lo] Error 1
[EMAIL PROTECTED]:/usr/local/src/php-5.0.3#

------------------------------------------------------------------------

[2004-12-16 17:52:35] [EMAIL PROTECTED]

Please grant me an account on the machine so that I can debug it. Feel
free to mail that to my personal email address.

------------------------------------------------------------------------

[2004-12-16 17:20:02] long+phpbugs at kestrel dot cc dot ku dot edu

Description:
------------
Here was my configure line:
LD_LIBRARY_PATH=/usr/local/ldap/lib \
CFLAGS='-O2 -std1 -ifo -taso' \
CXXFLAGS='-std1 -O2 -ifo -taso' \
CC='cc' \
CXX='cxx' \
'./configure' \
'--with-openssl' \
'--enable-bcmath' \
'--with-ndbm' \
'--with-dbm' \
'--enable-dbase' \
'--enable-filepro' \
'--enable-ftp' \
'--with-gd' \
'--with-ttf' \
'--with-java=/usr/opt/java141' \
'--with-mysql' \
'--with-oci8' \
'--with-oracle' \
'--enable-shmop' \
'--enable-sockets' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-wddx' \
'--enable-dba=shared' \
'--enable-calendar' \
'--enable-exif' \
'--enable-discard-path' \
'--enable-dbx' \
'--enable-ctype' \
'--with-hyperwave' \
'--enable-mailparse' \
'--enable-mbstring' \
'--enable-mbstr-enc-trans' \
'--enable-memory-limit' \
'--with-ldap=/usr/local/ldap' \
'--with-inifile' \
'--with-flatfile' \
'--enable-dio' \
'--enable-sysvmsg' \
'--with-zlib' \
'--with-zlib-dir=/usr/local' \
'--with-jpeg-dir=/usr/local' \
'--with-png-dir=/usr/local' \
'--with-cdb=shared'

Here's where the compile fails:
cc  -IZend/ -I/homeb/long/src/php-4.3.10/Zend/ -DPHP_ATOM_INC
-I/homeb/long/src/php-4.3.10/include -I/homeb/long/src/php-4.3.10/main
-I/homeb/long/src/php-4.3.10 -I/homeb/long/src/php-4.3.10/Zend
-I/usr/local/ssl/include -I/usr/local/include -I/usr/local/ldap/include
-I/homeb/long/src/php-4.3.10/ext/mbstring/mbregex
-I/homeb/long/src/php-4.3.10/ext/mbstring/libmbfl
-I/homeb/long/src/php-4.3.10/ext/mbstring/libmbfl/mbfl
-I/homeb/oracle/u01/app/oracle/product/817/rdbms/public
-I/homeb/oracle/u01/app/oracle/product/817/rdbms/demo
-I/homeb/long/src/php-4.3.10/ext/xml/expat 
-I/homeb/long/src/php-4.3.10/TSRM  -O2 -std1 -ifo -taso  -c
/homeb/long/src/php-4.3.10/Zend/zend_strtod.c -o Zend/zend_strtod.o  &&
echo > Zend/zend_strtod.lo
cc: Error: /homeb/long/src/php-4.3.10/Zend/zend_strtod.c, line 233:
Missing ";". (nosemi)
Exactly one of IEEE_LITTLE_ENDIAN IEEE_BIG_ENDIAN, VAX, or
--------^

I also got the failure with php4-STABLE-200412152330


Reproduce code:
---------------
n/a

Expected result:
----------------
I expect the code to compile :-)

Actual result:
--------------
Compile fails.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31129&edit=1

Reply via email to