#25573 [Opn->Fbk]: php compilation error on Sun SPARC Solaris 7
| From: | jay@php.net | Date: | Wed, 17 Sep 2003 14:30:34 +0000 |
| Subject: | #25573 [Opn->Fbk]: php compilation error on Sun SPARC Solaris 7 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47700@lists.php.net to get a copy of this message | ||
ID: 25573
Updated by: jay@php.net
Reported By: wzaccone at telcordia dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Sun Sparc Solaris 7
PHP Version: 4.3.2
New Comment:
What versions of bison and gcc are you using?
J
Previous Comments:
------------------------------------------------------------------------
[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