From owner-freebsd-questions Wed Jan 10 12:26:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from oscar.cprost.sfu.ca (oscar.cprost.sfu.ca [192.75.242.157]) by hub.freebsd.org (Postfix) with ESMTP id 67D8537B400 for ; Wed, 10 Jan 2001 12:26:02 -0800 (PST) Received: from localhost (wolstena@localhost) by oscar.cprost.sfu.ca (8.11.1/8.11.1) with ESMTP id f0AKPoq32088 for ; Wed, 10 Jan 2001 12:25:50 -0800 (PST) (envelope-from wolstena@oscar.cprost.sfu.ca) Date: Wed, 10 Jan 2001 12:25:50 -0800 (PST) From: Paul Wolstenholme To: freebsd-questions@freebsd.org Subject: Problems compiling new apps since upgrading Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have recently upgraded from FreeBSD 3.3 to 4.2-RELEASE (from iso image). Everything seemed to be working fine until I tried to upgrade a couple of programs (IMAP-UW and mod_php3). When compiling mod_php3.0.18, I get the following errors: functions/microtime.c: In function `php3_getrusage': functions/microtime.c:152: storage size of `usg' isn't known functions/microtime.c:155: `RUSAGE_SELF' undeclared (first use in this function)functions/microtime.c:155: (Each undeclared identifier is reported only once functions/microtime.c:155: for each function it appears in.) functions/microtime.c:161: `RUSAGE_CHILDREN' undeclared (first use in this function) *** Error code 1 Stop in /home/src/www-src/php-3.0.18. This is in the PHP faq but I'm not sure how to proceed to fix the problem: Your system is broken. You need to 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. /Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message