Re: PHP 4.0 Bug #4948 Updated: microtime.c can't get compiled, various errors
| From: | Abdul Basit | Date: | Sat, 10 Jun 2000 13:52:18 +0000 |
| Subject: | Re: PHP 4.0 Bug #4948 Updated: microtime.c can't get compiled, various errors | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20893@lists.php.net to get a copy of this message | ||
In Compilation process i am getting this :
--------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I/compiles/php-4.0.0/ext/standard
-I/compiles/php-4.0.0 -I/compiles/php-4.0.0/Zend -I/compiles/php-4.0.0
-I/compiles/php-4.0.0/ext/mysql/libmysql
-I/compiles/php-4.0.0/ext/xml/expat/xmltok
-I/compiles/php-4.0.0/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2
-Wall -c microtime.c && touch microtime.lo
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)
microtime.c:110: warning: implicit declaration of function `getrusage'
microtime.c:97: warning: unused variable `usg'
make[3]: *** [microtime.lo] Error 1
make[3]: Leaving directory `/compiles/php-4.0.0/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/compiles/php-4.0.0/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/compiles/php-4.0.0/ext'
make: *** [all-recursive] Error 1
I am using gcc 2.95.2 and bison 1.28 and slackware 7 2.4-test1 kernel
- Basit
On 10 Jun 2000, Bug Database wrote:
> ID: 4948
> Updated by: zeev
> Reported By: basit@basit.yi.org
> Status: Closed
> Bug Type: Compile Failure
> Assigned To:
> Comments:
>
> Obviously that's nothing we can work with. What 'various errors' are you
> getting? Please submit a single bug report with all the relevant information.
>
> Full Bug description available at:
> http://bugs.php.net/version4/?id=4948
>
>