public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Is is possible to compile / run ntp utilities in cygwin
@ 2017-05-31  1:28 Cary Lewis
  2017-05-31  5:03 ` Is it " Brian Inglis
  0 siblings, 1 reply; 2+ messages in thread
From: Cary Lewis @ 2017-05-31  1:28 UTC (permalink / raw)
  To: cygwin

 it possible to build ntp under cygwin?

I am getting errors compiling:

make[3]: Entering directory '/home/clewis/ntp-4.2.8p10/libntp'
  CC       iosignal.o
iosignal.c: In function =E2=80=98init_clock_sig=E2=80=99:
iosignal.c:87:22: error: =E2=80=98I_SETSIG=E2=80=99 undeclared (first use i=
n this function)
   if (ioctl(rio->fd, I_SETSIG, S_INPUT) < 0)
                      ^
iosignal.c:87:22: note: each undeclared identifier is reported only once
for each function it appears in
iosignal.c:87:32: error: =E2=80=98S_INPUT=E2=80=99 undeclared (first use in=
 this function)
   if (ioctl(rio->fd, I_SETSIG, S_INPUT) < 0)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Is it possible to compile / run ntp utilities in cygwin
  2017-05-31  1:28 Is is possible to compile / run ntp utilities in cygwin Cary Lewis
@ 2017-05-31  5:03 ` Brian Inglis
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Inglis @ 2017-05-31  5:03 UTC (permalink / raw)
  To: cygwin

On 2017-05-30 14:47, Cary Lewis wrote:
>  it possible to build ntp under cygwin?
> I am getting errors compiling:
> make[3]: Entering directory '/home/clewis/ntp-4.2.8p10/libntp'
>   CC       iosignal.o
> iosignal.c: In function =E2=80=98init_clock_sig=E2=80=99:
> iosignal.c:87:22: error: =E2=80=98I_SETSIG=E2=80=99 undeclared (first use i=
> n this function)
>    if (ioctl(rio->fd, I_SETSIG, S_INPUT) < 0)
> iosignal.c:87:22: note: each undeclared identifier is reported only once
> for each function it appears in
> iosignal.c:87:32: error: =E2=80=98S_INPUT=E2=80=99 undeclared (first use in=
>  this function)
>    if (ioctl(rio->fd, I_SETSIG, S_INPUT) < 0)

NTP builds against BSD or GNU libc, and variants such as AIX, HPUX,
Solaris, with autotools, guile, OpenSSL, and other devel dependencies by
platform.
RTEMS has an NTP package that builds with their platform and newlib.
NTP, Cygwin, and newlib may need a lot of patches for Cygwin and Windows
interfaces, possibly autoconf tests, to get a working build.

Start by loading the stable distro source, the above tools and
libraries, and related devel packages.
With a minimal Cygwin and Windows PATH, run the bootstrap script in the
distro source directory, which touches a bunch of generated files which
may only be safely rebuilt using specific tools, then runs autoreconf.

If that works, again with a minimal Cygwin and Windows PATH, run the
build script in the stable distro source directory, then look in the
build subdirectory A.x86{,_64}-unknown-cygwin2.<ver>/ for config.log and
make.log, and address any issues.

There is also a ports directory which contains the configuration files
and custom Windows interfaces, to build the service and utilities using
VS (Express) and Windows OpenSSL IIRC.
A prebuilt Windows service and utilities binary installer package,
including OpenSSL if it is required, is available from the Meinberg web
site.
If you just want to run the package and utilities and gain experience
with the package, that is the quickest path under Windows.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-31  4:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-31  1:28 Is is possible to compile / run ntp utilities in cygwin Cary Lewis
2017-05-31  5:03 ` Is it " Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).