php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13415 Compile Time Error
Submitted: 2001-09-24 11:41 UTC Modified: 2001-09-25 09:43 UTC
From: gdunne at webworksinc dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Linux 2.0.34
Private report: No CVE-ID: None
 [2001-09-24 11:41 UTC] gdunne at webworksinc dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-09-24 11:48 UTC] 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 12:25 UTC] gdunne at webworksinc dot com
Slackware, not positive on the version #, but the kernel is 2.0.34
 [2001-09-24 12:32 UTC] gdunne at webworksinc dot 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-25 09:43 UTC] sniper@php.net
This is fixed in CVS and in PHP 4.0.7RC2.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 18:01:35 2024 UTC