Subject: Re: problem building telnetd with latest from CVS
To: Laine Stump <lainestump@rcn.com>
From: Assar Westerlund <assar@sics.se>
List: current-users
Date: 12/21/1999 22:16:36
lainestump@rcn.com (Laine Stump) writes:
> cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -DINET6 -DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOPENPTY_PTY -DOLD_ENVIRON -DENV_HACK -DSECURELOGIN -DAUTHENTICATION -DENCRYPTION -I/usr/src/libexec/telnetd/../../crypto-us/libexec/telnetd/../../lib -I/usr/src/libexec/telnetd/../../lib -I/usr/src/libexec/telnetd/../../crypto-us/libexec/telnetd -I/usr/src/libexec/telnetd -c /usr/src/libexec/telnetd/../../crypto-us/libexec/telnetd/telnetd.c
> /usr/src/libexec/telnetd/../../crypto-us/libexec/telnetd/telnetd.c: In function `main':
> /usr/src/libexec/telnetd/../../crypto-us/libexec/telnetd/telnetd.c:623: structure has no member named `__ss_family'
> *** Error code 1

This is probably due to (us) telnetd not being updated to the this change:

    Module Name:	syssrc
    Committed By:	itojun
    Date:		Mon Dec 20 06:18:47 UTC 1999

    Modified Files:
            syssrc/sys/sys: socket.h

    Log Message:
    based on recent discussion on ipngwg, use XNET definition for
    sockaddr_storage.  next revision of RFC2553 will be using this.

    ss_len and ss_family are now available for userland programmers.

So just changing `__ss_family' to `ss_family' should make everything
work.

/assar