[ntp:questions] NTPD Run

Rob nomail at example.com
Wed Jul 29 15:06:15 UTC 2009

nasa138 <nasa138 at gmail.com> wrote:
> I would like to add a few printf statement in the ntpd source code,
> and recompile it, and then run it, so that I can see the value.
> Here's what I did:
> 1) ./configure   --->> it configure ok
> 2) add some printf statements in ntpd.c
> 3) make
> 4) go to ntpd_directory
> 5) run ntpd, by entering ntpd at the prompt

That will normally not run the executable in the current directory.
It will search the PATH and find the standard executable and run that.
You should enter ./ntpd instead of ntpd.

More information about the questions mailing list