#25573 [NEW]: php compilation error on Sun SPARC Solaris 7
| From: | wzaccone at telcordia dot com | Date: | Wed, 17 Sep 2003 13:46:51 +0000 |
| Subject: | #25573 [NEW]: php compilation error on Sun SPARC Solaris 7 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47696@lists.php.net to get a copy of this message | ||
From: wzaccone at telcordia dot com
Operating system: Sun Sparc Solaris 7
PHP version: 4.3.2
PHP Bug Type: Compile Failure
Bug description: php compilation error on Sun SPARC Solaris 7
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 bug report at http://bugs.php.net/?id=25573&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25573&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25573&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25573&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25573&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25573&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25573&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25573&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25573&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25573&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25573&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25573&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25573&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25573&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25573&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25573&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25573&r=float