ID:               25573
 Updated by:       [EMAIL PROTECTED]
 Reported By:      wzaccone at telcordia dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Sun Sparc Solaris 7 and 8
 PHP Version:      4.3.2


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

[2003-09-17 11:34:12] [EMAIL PROTECTED]

It compiles fine here using Solaris 8, gcc 2.95 and bison 
1.28. (This is using the latest CVS.) 
 
Can you try using 4.3.3 or the latest CVS snapshot? 
 
The gcc version might make a difference, too. I haven't 
used 3.0.1 on Solaris, though, so I can't say for certain. 
 
J 

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

[2003-09-17 10:41:09] wzaccone at telcordia dot com

it also fails on Solaris 8 as well.

gcc -v
Reading specs from
/usr/local.28/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/s
pecs
Configured with: ../configure --with-as=/usr/local/bin/as
--with-ld=/usr/local/b
in/ld --enable-libgcj
Thread model: posix
gcc version 3.0.1
which bison
/usr/local.28/bin/bison
bison -V
GNU Bison version 1.28

             uname -a
SunOS titcher4 5.8 Generic_108528-23 sun4u sparc SUNW,Ultra-Enterprise

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

[2003-09-17 10:30:33] [EMAIL PROTECTED]

What versions of bison and gcc are you using? 
 
J 

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

[2003-09-17 09:46:51] wzaccone at telcordia dot com

Description:
------------
php 4.3.2 fails to compile using gcc on Sun SPARC Solaris 7.
compiles ok on Solaris 8. but not Solaris 7. is there a workaround?? 
is this fixed in 4.3.3?? 
output follows below; tried to capture the old build commands before
the error occured.. 
Warren



Actual result:
--------------
bison -y 
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/parsedate.y
mv y.tab.c
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/parsedate.c
/bin/sh
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/libtool
--silent --preserve-dup-deps --mode=compile gcc  -Iext/standard/
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/
-DPHP_ATOM_INC
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/include
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/main
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/Zend
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/xml/expat
 -D_POSIX_PTHREAD_SEMANTICS
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/TSRM
 -g -O2  -prefer-pic -c
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/parsedate.c
-o ext/standard/parsedate.lo 
/usr/local/share/bison.simple: In function `php_gd_parse':
/usr/local/share/bison.simple:219: number of arguments doesn't match
prototype
/usr/local/share/bison.simple:153: prototype declaration
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/parsedate.y:
In function `php_parse_date':
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/parsedate.y:933:
too many arguments to function `php_gd_parse'
*** Error code 1
make: Fatal error: Command failed for target
`ext/standard/parsedate.lo'
/bin/sh
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/libtool
--silent --preserve-dup-deps --mode=compile gcc  -Iext/standard/
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/
-DPHP_ATOM_INC
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/include
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/main
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/Zend
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/xml/expat
 -D_POSIX_PTHREAD_SEMANTICS
-I/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/TSRM
 -g -O2  -prefer-pic -c
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/parsedate.c
-o ext/standard/parsedate.lo 
/usr/local/share/bison.simple: In function `php_gd_parse':
/usr/local/share/bison.simple:219: number of arguments doesn't match
prototype
/usr/local/share/bison.simple:153: prototype declaration
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/parsedate.y:
In function `php_parse_date':
/FREE_2.4/NMA_WEB/NMA.r131_09-13-2003/install_apache_php/php-4.3.2/ext/standard/parsedate.y:933:
too many arguments to function `php_gd_parse'
*** Error code 1
make: Fatal error: Command failed for target
`ext/standard/parsedate.lo'



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


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

Reply via email to