hwclock

Dennis J Perkins dperkins at frii.com
Sun Dec 25 18:05:06 PST 2005


On Sun, 2005-12-25 at 20:44 -0500, Joe Ciccone wrote:
> Dennis J Perkins wrote:
> 
> >Hwclock says it cannot access the hardware clock via any know method.  I
> >copied hwclock from another system and it runs fine.  Ldd says that the
> >version that works also depends on linux-gate.so.1.  Why is linux-gate
> >missing?
> >
> >  
> >
> As per why hwclock isn't working, check for /dev/rtc, and linux-gate is
> not a physical library, every executable binary and library is linked to
> linux-gate which is a virtual library. It provides the link from
> userland to kernelland.

My 32-bit system doesn't have /dev/rtc and running ldd on its hwclock
shows it is linked to linux-gate.  My 64-bit system doesn't
have /dev/rtc and hwclock is not linked to linux-gate.  Besides, I can
run the 32-bit hwclock on my 64-bit system and it works fine.




More information about the cross-lfs mailing list