Re: [PHP4BETA] [Php4beta] Faile to compile
| From: | Stig-Ørjan Smelror | Date: | Sat, 15 Apr 2000 17:27:32 +0000 |
| Subject: | Re: [PHP4BETA] [Php4beta] Faile to compile | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13593@lists.php.net to get a copy of this message | ||
> Fabrizio wrote:
>
> here is the error i obtain
>
> gcc -DHAVE_CONFIG_H -I. -I/root/temp/php-4.0RC1/ext/standard -I../..
> -I../../Zend -I/root/temp/php-4.0RC1
> -I/root/temp/apache_1.3.12/src/include
> -I/root/temp/apache_1.3.12/src/os/unix
> -I/root/temp/php-4.0RC1/ext/mysql/libmysql
> -I/root/temp/php-4.0RC1/ext/xml/expat/xmltok
> -I/root/temp/php-4.0RC1/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12
> -D_REENTRANT -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 `/root/temp/php-4.0RC1/ext/standard'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/temp/php-4.0RC1/ext/standard'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/root/temp/php-4.0RC1/ext'
> make: *** [all-recursive] Error 1
> are there possiblle Solutions to this?
I get the same error but on 3.0.16 and on different lines.
I'm running Linux-Mandrake 7.0, installed with norwegian locale.
Thanks for your time!
--
Vennlig hilsen/Best Regards
Stig-Ørjan Smelror
Stig.Orjan.Smelror@winther.net