php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12159 Make fails, both 4.0.5 and 4.0.6 during microtime...
Submitted: 2001-07-14 01:41 UTC Modified: 2001-07-26 19:27 UTC
From: gandolf_the_grey at hotmail dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 4.0.6 OS: Linux kernel 2.4.4
Private report: No CVE-ID: None
 [2001-07-14 01:41 UTC] gandolf_the_grey at hotmail dot com
Make fails during compilation: both in 4.0.5 and .6
microtime.c: In function `php_if_getrusage`:
microtime.c:99: storage size of 'usg' isn't known
microtime.c:103: `RUSAGE_SELF' undeclared (first use in ...
microtime.c:108: `RUSAGE_CHILDREN' undeclared (first...
make[3]: *** [microtime.lo] Error 1
make[3]: Leaving directory `/usr/src/php-4.0.5/ext/standard
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/php-4.0.5/ext/standard
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php-4.0.5/ext
make: *** [all-recursive] Error 1

Config directive :
--with-mysql --with-apxs=/LIBRARY/WebServers/apache/sbin/apxs --prefix=/LIBRARY/WebServers/php --exec-prefix=/LIBARY/WebServers/php

Mod_so.c exists and appears in httpd -l .
/usr/local/lib/mysql exists in /etc/ld.config.

Make fails at that point.

Michael Grey

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-14 01:43 UTC] rasmus@php.net
This is a FAQ.  You upgraded to the Linux 2.4 kernel without upgrading your kernel headers and libc appropriately.  See http://php.net/FAQ.php#6.12
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Apr 03 20:01:23 2020 UTC