php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36931 php-5.1.3RC2/ext/standard/info.c
Submitted: 2006-03-31 13:04 UTC Modified: 2006-04-03 09:41 UTC
From: rainer dot wiener at schlund dot de Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.1.3RC2 OS: GNU Linux Debian 3.0
Private report: No CVE-ID: None
 [2006-03-31 13:04 UTC] rainer dot wiener at schlund dot de
Description:
------------
Configure options:

CONFIG_PHP = --program-suffix=5 --with-pear=/usr/local/lib/php5 --with-config-file-path=/usr/local/lib/php5 --with-libxml-dir=/usr/local/php5
--without-sqlite --with-config-file-scan-dir=. --with-mysqli=/usr/local/mysql/bin/mysql_config
--enable-soap --with-xsl=/usr/local/php5 --enable-mbstring=all
--with-curl=/usr/local/php5 --with-mcrypt=/usr/local/php5 --with-gd --with-pdo-mysql=/usr/local/mysql
--with-freetype-dir --with-libxml-dir=/usr/local/php5
--with-mysql=/usr/local/mysql --with-zlib --enable-debug=no --enable-safe-mode=no
--enable-discard-path=no --with-png-dir=/usr/lib --enable-track-vars --with-db
--with-gdbm --enable-force-cgi-redirect --with-ttf=/usr/ --enable-ftp --enable-dbas
--enable-memory-limit --enable-calendar --enable-wddx --with-jpeg-dir=/usr/src/kundenserver/jpeg-6b
--enable-bcmath --enable-gd-imgstrttf --enable-shmop --enable-mhash --with-mhash=/usr/src/kundenserver/mhash-0.8.9/
--with-openssl --enable-xslt --with-xslt-sablot --with-dom --with-dom-xslt --with-dom-exslt
--with-imap --with-iconv=/usr/local --with-bz2 --with-gettext --enable-exif --with-idn

gcc --version : 2.95.4

compilation failt with this output:

Reproduce code:
---------------
/bin/sh /kunden/homepages/neu/php/php-5.1.3RC2/apache-build/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/standard/ -I/kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/ -DPHP_ATOM_INC -I/kunden/homepages/neu/php/php-5.1.3RC2/apache-build/include -I/kunden/homepages/neu/php/php-5.1.3RC2/apache-build/main -I/kunden/homepages/neu/php/php-5.1.3RC2 -I/usr/local/php5/include/libxml2 -I/usr/local/ssl/include -I/usr/local/php5/include -I/kunden/homepages/neu/php/php-5.1.3RC2/apache-build/ext/date/lib -I/kunden/homepages/neu/php/php-5.1.3RC2/ext/date/lib -I/usr/include/freetype2 -I/usr/local/include -I/usr/include/c-client -I/kunden/homepages/neu/php/php-5.1.3RC2/ext/mbstring/oniguruma -I/kunden/homepages/neu/php/php-5.1.3RC2/apache-build/ext/mbstring/oniguruma -I/kunden/homepages/neu/php/php-5.1.3RC2/ext/mbstring/libmbfl -I/kunden/homepages/neu/php/php-5.1.3RC2/apache-build/ext/mbstring/libmbfl -I/kunden/homepages/neu/php/php-5.1.3RC2/ext/mbstring/libmbfl/mbfl -I/kunden/homepages/neu/php/php-5.1.3RC2/apache-build/ext/mbstring/libmbfl/mbfl -I/usr/local/mysql/include -I/kunden/homepages/neu/php/php-5.1.3RC2/apache-build/TSRM -I/kunden/homepages/neu/php/php-5.1.3RC2/apache-build/Zend -I/kunden/homepages/neu/php/php-5.1.3RC2/main -I/kunden/homepages/neu/php/php-5.1.3RC2/Zend -I/kunden/homepages/neu/php/php-5.1.3RC2/TSRM -I/kunden/homepages/neu/php/php-5.1.3RC2/apache-build/    -I/usr/local/include -O2 -Wall -fsigned-char -fno-inline  -prefer-non-pic -c /kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/info.c -o ext/standard/info.lo 
/kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/info.c: In function `php_info_write_wrapper':
/kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/info.c:66: parse error before `int'
/kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/info.c:69: `written' undeclared (first use in this function)
/kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/info.c:69: (Each undeclared identifier is reported only once
/kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/info.c:69: for each function it appears in.)
/kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/info.c:69: `elem_esc' undeclared (first use in this function)
/kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/info.c:69: `new_len' undeclared (first use in this function)
/kunden/homepages/neu/php/php-5.1.3RC2/ext/standard/info.c:74: warning: control reaches end of non-void function
make[1]: *** [ext/standard/info.lo] Error 1
make[1]: Leaving directory `/homepages/neu/php/php-5.1.3RC2/apache-build'
make: *** [build-apache-stamp] Error 2



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-31 13:11 UTC] tony2001@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2006-04-02 21:51 UTC] tony2001@php.net
Please check that the issue is fixed for you, I can't reproduce it neither with gcc 3, nor with 2.95.
 [2006-04-02 21:55 UTC] tony2001@php.net
Ok, I just have reproduced it with 2.95.
 [2006-04-03 09:41 UTC] rainer dot wiener at schlund dot de
yes thx very much. Now it works
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 11:01:28 2024 UTC