This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

re: timed and glibc cvs


Ulrich,
   Have you attempted to build timed from RedHat 7.0 at all?
It seems that the changes related to clk_tck are causing a
compile time problem...

cc -O2 -fsigned-char -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline  timed.c -c
timed.c: In function `get_goodgroup':
timed.c:902: initializer element is not constant


This happens under both the Linux 2.4-test10 and 2.2.6 headers. The
code it is choking on is...

# define NG_DELAY (30*60*CLK_TCK)       /* 30 minutes */
        static unsigned long last_update = -NG_DELAY;

I am assuming that the problem is that CLK_TCK is no longer
defined properly through glibc cvs.
                           Jack

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]