netkit-combo

Thomas T. Veldhouse veldy at veldy.net
Tue Jan 23 06:29:20 PST 2001


You also forgot to mention that you were using glibc-2.2.

Tom Veldhouse
veldy at veldy.net

----- Original Message -----
From: "Andy Goth" <andy at chainsaw.grimnok.com>
To: <lfs-apps at linuxfromscratch.org>
Sent: Monday, January 22, 2001 9:07 PM
Subject: netkit-combo


> I know netkit-combo's not in the book, but oh well... maybe it should be.
:^)  For me to compile it, though, I had to manaully add #include <stdio.h>
to the netkit-rsh/rlogind/auth.c file.  And I'm still stuck on
netkit-timed/timed/timed/timed.c.  Redundant name, eh?  Anyway, I get
>
> timed.c: In function `get_goodgroup':
> timed.c:902: initializer element is not constant
>
> when compiling it.  The line(s) in question is (are?)
>
> # define NG_DELAY (30*60*CLK_TCK)       /* 30 minutes */
>         static unsigned long last_update = -NG_DELAY;
>
> That's odd... isn't that a constant?  Mmm... then, what's CLK_TCK?  It's
supposed to be 1000000l (one million), according to "globals.h", <time.h>,
and <bits/time.h>.  Lemme insert that directly...
>
> That fixed it.  Barring some wicked preprocessor magic, this is a compiler
bug--not being able to determine 30*60*1000000 at compile time just 'cuz
it's hidden by several layers of preprocessor defines.
> --
> Andy Goth  |  unununium at openverse.org  |  uin: 35256413  |  aim: Un111
>
> --
> Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
>
>


-- 
Unsubscribe: send email to lfs-apps-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the blfs-support mailing list