PHP 4.0 Bug #5326: Compile problem: undeclared identifier
| From: | ralf at kuerbis dot org | Date: | Sun, 02 Jul 2000 01:39:24 +0000 |
| Subject: | PHP 4.0 Bug #5326: Compile problem: undeclared identifier | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23113@lists.php.net to get a copy of this message | ||
From: ralf@kuerbis.org
Operating system: SuSE Linux 6.3
PHP version: 4.0.1pl2
PHP Bug Type: Compile Failure
Bug description: Compile problem: undeclared identifier
I tried to compile the 4.0.1pl2 (and later the CVS), but compiling ends with an error:
/bin/sh /usr/local/src/comapache/new/php-4.0.1pl2/libtool --silent --mode=compile gcc
-DHAVE_CONFIG_H -I. -I/usr/local/src/comapache/new/php-4.0.1pl2/ext/standard
-I/usr/local/src/comapache/new/php-4.0.1pl2 -I/usr/local/src/comapache/new/php-4.0.1pl2/main
-I/opt/pdp/apache/include -I/usr/local/src/comapache/new/php-4.0.1pl2/Zend
-I/usr/local/src/comapache/new/php-4.0.1pl2 -I/usr/local/include -I/opt/pdp/mysql/include/mysql
-I/usr/local/src/comapache/new/php-4.0.1pl2/ext/xml/expat/xmltok
-I/usr/local/src/comapache/new/php-4.0.1pl2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c
microtime.c
microtime.c: In function `php_if_getrusage':
microtime.c:97: storage size of `usg' isn't known
microtime.c:100: `RUSAGE_SELF' undeclared (first use in this function)
microtime.c:100: (Each undeclared identifier is reported only once
microtime.c:100: for each function it appears in.)
microtime.c:106: `RUSAGE_CHILDREN' undeclared (first use in this function)
make[3]: *** [microtime.lo] Error 1
make[3]: Leaving directory `/usr/local/src/comapache/new/php-4.0.1pl2/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/comapache/new/php-4.0.1pl2/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/comapache/new/php-4.0.1pl2/ext'
make: *** [all-recursive] Error 1
My configure parameters are:
./configure --with-apxs=/opt/pdp/apache/bin/apxs --with-gd=/usr/local --with-mysql=/opt/pdp/mysql
--with-zlib --enable-sysvshm=yes --enable-sysvsem=yes --enable-versioning --disable-debug --with-ftp
System: SuSE 6.3 / Intel x86
With 4.0.1 without pl2 everything works well.
Best Regards,
Ralf