According to the faq I should check if /usr/include/linux points to the
right place. Yes it does!

[root@jiv][11:40am] ~ # ls -lah /usr/include/linux/
lrwxrwxrwx   1 root     root           28 Jan  1  2000 /usr/include/linux ->
/usr/src/linux/include/linux/
[root@jiv][11:41am] ~ # ls -lah /usr/src/linux
lrwxrwxrwx   1 root     root           20 Jul 19 01:22 /usr/src/linux ->
/usr/src/linux-2.4.3/

The other suggestion from this faq is:
"... or by installing a glibc-devel package that matches your glibc ... "
???


----- Original Message -----
From: "Bug Database" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 20, 2001 10:25 PM
Subject: Bug #12240 Updated: microtime.x


> ID: 12240
> Updated by: rasmus
> Reported By: [EMAIL PROTECTED]
> Old Status: Open
> Status: Closed
> Bug Type: Any
> Operating System: Slackware 7.0
> PHP Version: 4.0.6
> New Comment:
>
> This is a FAQ - http://www.php.net/FAQ.php#6.12
>
> Basically you probably upgraded a Linux 2.2 box to the 2.4 kernel, right?
> And you screwed up your header files.
>
> Previous Comments:
> ------------------------------------------------------------------------
>
> [2001-07-18 18:41:01] [EMAIL PROTECTED]
>
> The problem:
> _________________
> microtime.c: In function `php_if_getrusage':
> microtime.c:99: storage size of `usg' isn't known
> microtime.c:102: `RUSAGE_SELF' undeclared (first use in this function)
> microtime.c:102: (Each undeclared identifier is reported only once
> microtime.c:102: for each function it appears in.)
> microtime.c:108: `RUSAGE_CHILDREN' undeclared (first use in this function)
> make[3]: *** [microtime.lo] Error 1
> make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/standard'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/standard'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
> make: *** [all-recursive] Error 1
> ___________________________________
>
> A part from the ./configure output:
> ___________________________________
> [root@jiv][01:39am] /usr/local/src/php-4.0.6 #
/configure  --with-mysql=/usr/local/ --with-apxs=/var/lib/apache/sbin/apxs |
grep time
> checking for sys/time.h... yes
> checking for utime.h... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for asctime_r... yes
> checking for ctime_r... yes
> checking for gettimeofday... yes
> checking for gmtime_r... yes
> checking for localtime_r... yes
> checking for setitimer... yes
> checking for strftime... yes
> checking for utime... yes
> checking whether utime accepts a null argument... yes
> checking for declared timezone... yes
> checking for type of reentrant time-related functions... POSIX
> configure: warning: You will need bison 1.28 if you want to regenerate the
Zend parser (found 1.27).
>
>
> ------------------------------------------------------------------------
>
>
>
> ATTENTION! Do NOT reply to this email!
> To reply, use the web interface found at
http://bugs.php.net/?id=12240&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to