Subject: Compiling getdate
To: None <port-mac68k@NetBSD.ORG>
From: Josh Hope <otaku@redneck.hick.com>
List: port-mac68k
Date: 08/07/1997 04:12:41
I found this little Linux program on sunsite. I grabbed the source and
tried to compile it. It gets the time from a NTP server and sets the clock
to that time. Since I'm using NetBSD, this is pretty necessary ;) In 5
hours, my clock went off by 10 minutes. In 3 days, it was off by 1 hour.
Anyways, I *do* have xntpd. It's set up correctly, but it doesn't change
the setting of my clock! The /etc/ntp.drift file does record correct
drift, but it does nothing my clock...
Anyways, I grabbed this simple and small program, and tried compilin
git...I get the following error:
[otaku@otaku.users.netset.com]% make
cc -O2 -DHAVE_ADJTIME -o getdate getdate.c
/var/tmp/cc0251321.o: Undefined symbol `_stime' referenced from text
segment
*** Error code 1
Stop.
That's real similar to the error I get when trying to compile something
that needs -lcrypt at the end of the command line. Except, it's
`_scrypt'...
So, is this going to be impossible? Or can I get it working under NetBSD?
:)
Thanks a lot for any help!
Josh