Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 200004

Re: [PHP4BETA] [Php4beta] Faile to compile From: Stig-Ørjan Smelror (Stig.Orjan.Smelror <email protected>)
Date: 04/15/00

> 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 <email protected>

-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>