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

Hassan hbdivers2 at gmail.com
Thu Dec 31 15:47:42 UTC 2009


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.





More information about the questions mailing list