Slackware make problem
| From: | Lewis | Date: | Fri, 10 Aug 2001 02:01:24 +0000 |
| Subject: | Slackware make problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3921@lists.php.net to get a copy of this message | ||
I have read this same post a few times in this news group and have not seen
where anyone figured out what caused it. I also have sucesfully compiled
several other distro's on my Slackware 3.9 with 2.0.38 kernel so I am pretty
sure it is not a fault with my compiler. More likely an incompatible line or
two in the filestat.c . I also noticed when I aplied the PHP 4.0.6 memory
patch that it just added a three lines to the zend_alloc.c file. That cured
the mem_limit problem for that particular machine. So I am pretty sure that
this problem can be cured the same way. But I don't have a clue what would
need to be added to the filestat.c line 157? to cure this problem or if that
is where the problem actually is.
I am trying to make a dynamic module for Apache 1.3.9 ( I compiled)
in Slackware 3.9 with an upgraded 2.0.38 kernel (I compiled). Installed on a
AMD 350 96mb of ram and 13gig hard drive.
./configure --with-mysql=/usr/lib/mysql --with-apxs=/usr/local/bin/apxs
make
everything goes fine here ( no visible errors) until I get this at the
bottom of the screen during the make process. (see log below)
Does anyone have a clue as to how to fix it, or where I could possibly look
for an answer. ANY sugestions are welcome.
Thanks
Lightning Lew
-DNO_DL_NEEDED -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c filestat.c
filestat.c: In function `php_if_diskfreespace':
filestat.c:157: storage size of `buf' isn't known
make[3]: *** [filestat.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
make: *** [all-recursive] Error 1