Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2001 12:25:50 -0800 (PST)
From:      Paul Wolstenholme <wolstena@oscar.cprost.sfu.ca>
To:        freebsd-questions@freebsd.org
Subject:   Problems compiling new apps since upgrading
Message-ID:  <Pine.BSF.4.21.0101101214320.30961-100000@oscar.cprost.sfu.ca>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101101214320.30961-100000>