bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

glibc-2.2.2 sys/time.h


From: Achim Gottinger
Subject: glibc-2.2.2 sys/time.h
Date: Mon, 19 Feb 2001 12:50:02 +0100

Hi devs,

I tried to compile daemontools-0.7 with glibc-2.2.2 and it failed at
tai64nlocal.c.
I detected that this file includes sys/time.h because it requires
localtime.
locatime is defined in /usr/include/time.h and sys/time.h includes it. I
changed tai64nlocale to include time.h instead
of sys/time.h and it worked.
I compared sys/time.h with the version from 2.2.1 and found that the new
version defines __need_time.h before
it includes time.h. If that var is defined time.h does not declare
localtime.
Is this a bug or a feature?

Another thing. In the install docs stands that perl is used for make
check if it is avaliable. I tried to compile glibc
on a environment without perl and it falied at mtrace which is a perl
script.
So it whould be good to eighter change the docs or disable the test if
perl is not installed.

achim~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]