91
来自「Unix/Linux 网络时间协议版本3 Network Time Proto」· 代码 · 共 60 行
TXT
60 行
Replied: Sun, 16 Feb 1997 18:11:08 -0500Replied: "John Hay <jhay@zibbi.mikom.csir.co.za> "Received: from snow-white.ee.udel.edu by whimsy.udel.edu id aa15531; 16 Feb 97 19:36 GMTReceived: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.8.5/8.8.5) id VAA10878 for stenn@whimsy.udel.edu; Sun, 16 Feb 1997 21:36:51 +0200 (SAT)From: John Hay <jhay@zibbi.mikom.csir.co.za>Message-Id: <199702161936.VAA10878@zibbi.mikom.csir.co.za>Subject: Re: xntp3-5.89.x and FreeBSDIn-Reply-To: <9702132136.aa29915@whimsy.udel.edu> from "stenn@whimsy.udel.edu" at "Feb 13, 97 09:36:35 pm"To: stenn@whimsy.udel.eduDate: Sun, 16 Feb 1997 21:36:51 +0200 (SAT)X-Mailer: ELM [version 2.4ME+ PL31 (25)]MIME-Version: 1.0Content-Type: text/plain; charset=US-ASCIIContent-Transfer-Encoding: 7bitHarlan,> All I know is that if I compile with HAVE_SIGNALED_IO the> fcntl(F_SETOWN) fails and the refclock does not come up. If I #undef> HAVE_SIGNALED_IO the refclock "appears".I tried 89.7 on both a 3.0-current and a 2.1.6.1 machine and bothproduce the "fcntl(F_SETOWN) fails" message if I configure a localclock. By setting USE_FSETOWNCTTY in config.h it fixed it on bothsystems. I attach a patch to configure.in at the end.Just a note: The 2.1.6.1 machine does not really have a local clockattached to it, so I could not verify that it really got time fromthat interface. It is also not using the kernel PLL stuff, butapart from that it is looking ok. It haven't crashed or hanged yet.(Which I'm happy for because the machine is at work and I would notwant to drive in on a sunday night. :-))John-- John Hay -- John.Hay@mikom.csir.co.za*** configure.in.org Fri Feb 14 04:06:54 1997--- configure.in Sun Feb 16 21:09:16 1997****************** 487,496 ****--- 487,499 ---- AC_CACHE_CHECK(if we need a ctty for F_SETOWN, ac_cv_func_ctty_for_f_setown, [case "$target" in *-*-bsdi2*) ans=yes ;;+ *-*-freebsd*)+ ans=yes+ ;; *-*-osf*) ans=yes ;; *) ans=no ;;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?