php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11776 filestat.c:`php_if_diskfreespace': storage size of `buf' isn't known
Submitted: 2001-06-28 08:44 UTC Modified: 2001-08-18 12:07 UTC
From: jur at insource dot nl Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.6 OS: Linux 2.2, Slackware 4.0, gcc 2.
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jur at insource dot nl
New email:
PHP Version: OS:

 

 [2001-06-28 08:44 UTC] jur at insource dot nl
When trying to compile PHP 4.0.6 I get the following error:

gcc  -I. -I/mnt/src/apache-install/php-4.0.6/ext/standard -I/mnt/src/apache-install/php-4.0.6/main -I/mnt/src/apache-install/php-4.0.6 -I/mnt/src/apache-install/apache_1.3.20/src/include -I/mnt/src/apache-install/apache_1.3.20/src/os/unix -I/mnt/src/apache-install/php-4.0.6/Zend -I/usr/local/include/freetype -I/mnt/src/apache-install/gd-1.8.4 -I/usr/local/mysql/include/mysql -I/mnt/src/apache-install/php-4.0.6/ext/xml/expat/xmltok -I/mnt/src/apache-install/php-4.0.6/ext/xml/expat/xmlparse -I/mnt/src/apache-install/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2  -c filestat.c && touch filestat.lo
filestat.c: In function `php_if_diskfreespace':
filestat.c:159: storage size of `buf' isn't known
make[3]: *** [filestat.lo] Error 1
make[3]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/src/apache-install/php-4.0.6/ext'
make: *** [all-recursive] Error 1

My configureline: 

./configure --prefix=/usr/local/apache --activate-module=src/modules/auth_mysql/libauth_mysql.a --add-module=../mod_auth_cookie-1.9/mod_auth_cookie.c --activate-module=src/modules/php4/libphp4.a --enable-module=ssl

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-28 21:54 UTC] sniper@php.net
I wonder where you got those sources since in my version
of PHP 4.0.6 (which is the correct one) there is nothing
like that on line 159 of filestat.c. And is your install
of linux really working one? 

Do you have following header files:

/usr/include/sys/statvfs.h
/usr/include/sys/statfs.h
/usr/include/sys/mount.h


--Jani

 [2001-06-30 14:04 UTC] sniper@php.net
duplicate of #11790

 [2001-08-18 12:07 UTC] sniper@php.net
Fixed in CVS and PHP 4.0.7RC1.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Sep 17 01:01:29 2024 UTC