Subject: Re: kernel make complains about if_ethersubr.c
To: Thomas M. Crockett <tmc@netcom.com>
From: Herb Peyerl <Herb.Peyerl@novatel.ca>
List: current-users
Date: 12/17/1993 08:20:24
: I received the following when trying to make a new kernel today (12/16).
: Did I miss something via CVS report?
: cc  -c -O  -I. -I../../../../arch -I../../../.. -I../../../../sys 
: -DCOYOTE -DI486_CPU -DTCP_COMPAT_42 -DCOMPAT_43 -DCOMPAT_NOMID -DDDB 
: -DISO -DINET -DTPIP -DMACHINE_NONCONTIG -DXSERVER -DUCONSOLE -DKERNFS 
: -DFDESC -DMSDOSFS -DMFS -DQUOTA -DFIFO -DKTRACE -DDEVPAGER -DVNODEPAGER 
: -DSWAPPAGER -DKERNEL -Di386  ../../../../net/if_ethersubr.c
: ../../../../net/if_ethersubr.c: In function `ether_addmulti':
: ../../../../net/if_ethersubr.c:500: structure has no member named `ac_multiaddrs'
: ../../../../net/if_ethersubr.c:522: structure has no member named `ac_multiaddrs'
: ../../../../net/if_ethersubr.c:523: structure has no member named `ac_multiaddrs'
: ../../../../net/if_ethersubr.c:524: structure has no member named `ac_multicnt'
: ../../../../net/if_ethersubr.c: In function `ether_delmulti':
: ../../../../net/if_ethersubr.c:582: structure has no member named `ac_multiaddrs'
: ../../../../net/if_ethersubr.c:597: structure has no member named `ac_multiaddrs'
: ../../../../net/if_ethersubr.c:603: structure has no member named `ac_multicnt'

nope.  The problem is as a result of <netinet/if_ether.h> which was
part of the multicast patches.  The suspect lines of code are:

#if defined(ISO) && !defined(MULTICAST)
#define MULTICAST 1
#endif

So; the temporary fix is to either comment out "OSI" in your config file
or add "options MULTICAST, MROUTING".

I'm waiting for Theo to decide on the appropriate *real* fix. (Since I'm
not in a state of mind which is conducive to thinking for myself at the
moment.:->)

hpeyerl@novatel.ca                           |  NovAtel Commnications Ltd.
hpeyerl@fsa.ca                               | <nothing I say matters anyway>
       <NetBSD: A drinking group with a serious computing problem!>
          d-- p c+++ !l u++ e* m--- s n--- h++ f+ g+ w t+ r- y?

------------------------------------------------------------------------------