From:             rainer dot wiener at schlund dot de
Operating system: GNU Linux Debian 3.0
PHP version:      5.1.3RC2
PHP Bug Type:     Compile Failure
Bug description:  php-5.1.3RC2/ext/standard/info.c

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



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

Reply via email to