Bug #13415 Updated: Compile Time Error
| From: | sniper@php.net | Date: | Tue, 25 Sep 2001 13:43:46 +0000 |
| Subject: | Bug #13415 Updated: Compile Time Error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66546@lists.php.net to get a copy of this message | ||
ID: 13415
Updated by: sniper
Reported By: gdunne@webworksinc.com
Old Status: Open
Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.0.34
PHP Version: 4.0.6
New Comment:
This is fixed in CVS and in PHP 4.0.7RC2.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2001-09-24 12:32:31] gdunne@webworksinc.com
I went into filestat.c and changed the function to this, I won't be able to use this function
now, but everything compiled and ran smoothly...
PHP_FUNCTION(diskfreespace)
{
double bytesfree = 0;
RETURN_DOUBLE(bytesfree);
}
------------------------------------------------------------------------
[2001-09-24 12:25:12] gdunne@webworksinc.com
Slackware, not positive on the version #, but the kernel is 2.0.34
------------------------------------------------------------------------
[2001-09-24 11:48:22] hholzgra@php.net
i guess it's due to the rather old kernel?
can you tell us what distribution (vendor and version)
you are using?
------------------------------------------------------------------------
[2001-09-24 11:41:39] gdunne@webworksinc.com
Configuration Line -
./configure --with-mysql --with-gd=/usr/local --enable-track-vars --with-apxs=/usr/local/apache
-1.3.20/bin/apxs
Apache Version - 1.3.20
Reported Error:
filestat.c: In function `php_if_diskfreespace':
filestat.c:157: storage size of `buf' isn't known
make[3]: *** [filestat.lo] Error 1
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13415&edit=1