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

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to