From owner-freebsd-questions Thu Jan 11 2:36:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gekko.i-clue.de (server.ms-agentur.de [62.153.134.194]) by hub.freebsd.org (Postfix) with ESMTP id E9CE837B400 for ; Thu, 11 Jan 2001 02:36:20 -0800 (PST) Received: from i-clue.de (automatix.i-clue.de [192.168.0.112]) by gekko.i-clue.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id MAA24585; Thu, 11 Jan 2001 12:43:12 +0100 Message-ID: <3A5D8CF6.47A60189@i-clue.de> Date: Thu, 11 Jan 2001 11:37:42 +0100 From: Christoph Sold Reply-To: christoph.sold@server.i-clue.de Organization: i-clue interactive X-Mailer: Mozilla 4.75 [de] (WinNT; U) X-Accept-Language: de MIME-Version: 1.0 To: Paul Wolstenholme Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problems compiling new apps since upgrading References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Paul, have you upgraded the ports tree, too? HTH -Christoph Sold Paul Wolstenholme schrieb: > > 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