[ntp:bugs] [Bug 721] New: ntp_request.c: struct sockaddr_storage has no member named ss_len

bugzilla at ntp.isc.org bugzilla at ntp.isc.org
Wed Oct 11 19:01:42 UTC 2006


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

           Summary: ntp_request.c: struct sockaddr_storage has no member
                    named ss_len
           Product: ntp
           Version: 4.2.2
          Platform: IBM
        OS/Version: AIX
            Status: NEW
          Severity: normal
          Priority: P3
         Component: ntpd
        AssignedTo: stenn at ntp.org
        ReportedBy: dclark at pobox.com
                CC: bugs at ntp.isc.org


ntp-4.2.2p3 is failing to build on AIX 5.3 (ML5) with GCC 4.1.1. The exact text
is included below; the general error message is "ntp_request.c: struct
sockaddr_storage has no member named ss_len", and then the build fails.

BTW I am compiling on a large range of platforms, and this is the first issue
I've run into - as a reference point, AIX 5.2 ML1 with GCC 3.3.2 works fine. I
also did extensive google searches, but didn't find this issue anywhere.

/usr/local/src/tmp/ntp-4.2.2p3 # oslevel -r
5300-05
/usr/local/src/tmp/ntp-4.2.2p3 # gcc --version
gcc (GCC) 4.1.1
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
/usr/local/src/tmp/ntp-4.2.2p3 # ./configure && gmake
[ ... snip ... ]
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../include -I../include
-I/usr/local/include  -g -O2 -DHAVE_BAD_HEADERS -D_XOPEN_EXTENDED_SOURCE -Wall
-Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes
-MT ntp_request.o -MD -MP -MF ".deps/ntp_request.Tpo" -c -o ntp_request.o
ntp_request.c; \
then mv -f ".deps/ntp_request.Tpo" ".deps/ntp_request.Po"; else rm -f
".deps/ntp_request.Tpo"; exit 1; fi
ntp_request.c: In function 'peer_info':
ntp_request.c:829: error: 'struct sockaddr_storage' has no member named 'ss_len'
ntp_request.c: In function 'peer_stats':
ntp_request.c:954: error: 'struct sockaddr_storage' has no member named 'ss_len'
ntp_request.c: In function 'do_conf':
ntp_request.c:1375: error: 'struct sockaddr_storage' has no member named 'ss_len'
ntp_request.c: In function 'do_unconf':
ntp_request.c:1530: error: 'struct sockaddr_storage' has no member named 'ss_len'
ntp_request.c:1575: error: 'struct sockaddr_storage' has no member named 'ss_len'
ntp_request.c: In function 'reset_peer':
ntp_request.c:2044: error: 'struct sockaddr_storage' has no member named 'ss_len'
ntp_request.c:2074: error: 'struct sockaddr_storage' has no member named 'ss_len'
ntp_request.c: In function 'get_clock_info':
ntp_request.c:2581: error: 'struct sockaddr_storage' has no member named 'ss_len'
ntp_request.c: In function 'set_clock_fudge':
ntp_request.c:2656: error: 'struct sockaddr_storage' has no member named 'ss_len'
ntp_request.c: In function 'get_clkbug_info':
ntp_request.c:2724: error: 'struct sockaddr_storage' has no member named 'ss_len'
gmake[2]: *** [ntp_request.o] Error 1
gmake[2]: Leaving directory `/usr/local/src/tmp/ntp-4.2.2p3/ntpd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/tmp/ntp-4.2.2p3'
gmake: *** [all] Error 2

-- 
Daniel Clark <dclark at pobox.com>



------- 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