[ntp:questions] ntp-4.2.6 doesn't compile for Windows

Richard B. Gilbert rgilbert88 at comcast.net
Thu Dec 31 23:47:07 UTC 2009


Hassan wrote:
> Hello everybody,
> 
> I can't compile ntp-4.2.6 for windows.
> I am using Visual Studio 6.0, and i get the following error and
> warning :
> 
> libntp - Win32 Release
> ...
> decodenetnum.c
> D:\MISTRAL-ClientSMDI\ntp\ntp-4.2.6\libntp\decodenetnum.c(25) : error
> C2079: 'hints' uses undefined struct 'addrinfo'
> ...
> D:\MISTRAL-ClientSMDI\ntp\ntp-4.2.6\libntp\decodenetnum.c(46) :
> warning C4013: 'getaddrinfo' undefined; assuming extern returning int
> 
> 
> Can please anybody tell me what is the problem ?
> Is the project badly configured ?
> 
> Thank you in advance.
> 
> 

It is not easy to build NTPD for Windows.  That's why the folks at 
Meinberg Funkuhren provide a pre-built version




More information about the questions mailing list