From:             long+phpbugs at kestrel dot cc dot ku dot edu
Operating system: Tru64 4.0F
PHP version:      4.3.10
PHP Bug Type:     Compile Failure
Bug description:  new zend_strtod.c won't compile

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 bug report at http://bugs.php.net/?id=31129&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31129&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31129&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31129&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31129&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31129&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31129&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31129&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31129&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31129&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31129&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31129&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31129&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31129&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31129&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31129&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31129&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31129&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31129&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31129&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31129&r=mysqlcfg

Reply via email to