php 4.0.5 microtime compiler error

From: Date: Wed, 02 May 2001 23:07:06 +0000
Subject: php 4.0.5 microtime compiler error
Groups: php.install 
Request: Send a blank email to php-install+get-2988@lists.php.net to get a copy of this message
hi, i just tried to compiler 4.0.5 with /bin/sh /usr/src/packages/apache/php-4.0.5/libtool --silent --mode=compile gcc -I. -I/usr/src/packages/apache/php-4.0.5/ext/standard -I/usr/src/packages/apache/php-4.0.5/main -I/usr/src/packages/apache/php-4.0.5 -I/usr/local/apache/include -I/usr/src/packages/apache/php-4.0.5/Zend -I/usr/local/ssl/include -I/usr/local/include -I/usr/include/freetype -I/usr/local/openldap/include -I/usr/local/mysql/include/mysql -I/usr/src/packages/apache/php-4.0.5/ext/xml/expat/xmltok -I/usr/src/packages/apache/php-4.0.5/ext/xml/expat/xmlparse -I/usr/src/packages/apache/php-4.0.5/TSRM -DLINUX=22 -DMOD_SSL=208100 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2 -c microtime.c microtime.c: In function `php_if_getrusage': microtime.c:99: storage size of `usg' isn't known microtime.c:102: `RUSAGE_SELF' undeclared (first use in this function) microtime.c:102: (Each undeclared identifier is reported only once microtime.c:102: for each function it appears in.) microtime.c:108: `RUSAGE_CHILDREN' undeclared (first use in this function) make[3]: *** [microtime.lo] Error 1 make[3]: Leaving directory `/mnt/export/src/packages/apache/php-4.0.5/ext/standard error. but 4.0.4pl1 works perfectly. i updatet my kernel and glibc. but the header files in /usr/include are ok. /usr/include/linux and ../asm are symlinks to kernel headers. uname -a Linux cinis.poelzi.org 2.4.4 #3 Mon Apr 30 14:17:08 CEST 2001 i686 unknown i removed in microtime.c a #ifdef, but i forgot whichone :) i think it was HAVE_SYS_TYPES_H compiler runs after this ugly operation :) -- AGI - Denken Sie Behälter !!! http://learn.to/quote

« previous php.install (#2988) next »