[ntp:bugs] [Bug 720] socklen_t undeclared

bugzilla at ntp.isc.org bugzilla at ntp.isc.org
Wed Oct 11 20:55:28 UTC 2006


http://bugs.ntp.isc.org/720



----------------------------------------------------------------------------
Additional Comments From stenn at ntp.org (Harlan Stenn)
Submitted on 2006-10-11 20:55

Paul,

What C compiler?  It is working for me on a 2.6 box at that same Generic_
level with a stock cc.

On my machine, I see:

> grep GETSOCK config.h
#define GETSOCKNAME_SOCKLEN_TYPE int
>

and line 3147 of ntp_io should be:

        GETSOCKNAME_SOCKLEN_TYPE saddrlen = SOCKLEN(addr);

in p54.

If this is not enough, there should be something in your config.log file
around line 13340, where it checks for the socklen type.


-- 
Harlan Stenn <stenn at ntp.org>



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the bugs mailing list