|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-08-07 22:46 UTC] bravehearts at 263 dot net
Commands: #./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.12 --enable-track-vars", #make When "Making all in standard", it said: microtime.c: In function `php_if_getrusage': microtime.c:94: storage size of `usg' isn't known microtime.c:97: `RUSAGE_SELF' undeclared (first use in this function) microtime.c:97: (Each undeclared identifier is reported only once microtime.c:97: for each function it appears in.) microtime.c:103: `RUSAGE_CHILDREN' undeclared (first use in this function) make[3]: *** [microtime.lo] Error 1 make[3]: Leaving directory `/home/master/php-4.0.1/ext/standard' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/master/php-4.0.1/ext/standard' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/master/php-4.0.1/ext' make: *** [all-recursive] Error 1 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 12:00:01 2026 UTC |
*sigh* I guess we need to make this a FAQ. Your system is broken. Please fix your /usr/include files either by making sure your /usr/include/linux symlink is pointing to the right place in your kernel sources or by installing a glibc-devel package that matches your glibc. This has absolutely nothing to do with PHP. To prove this to yourself, try this simple test: $ cat >test.c <<X #include <sys/resource.h> X $ gcc -E test.c >/dev/null If that spews out errors, you know your include files are messed up.