NetBSD Problem Report #84

From gnats  Sat Jan 15 16:07:36 1994
Received: from localhost (cgd@localhost) by sun-lamp.cs.berkeley.edu (8.6.4/8.6.4) id QAA04770; Sat, 15 Jan 1994 16:02:09 -0800
Message-Id: <199401160002.QAA04770@sun-lamp.cs.berkeley.edu>
Date: Sat, 15 Jan 1994 16:02:09 -0800
From: cgd@sun-lamp.cs.berkeley.edu
Reply-To: cgd@sun-lamp.cs.berkeley.edu
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: kernel won't compile with "options ISO" without "options MULTICAST"
X-Send-Pr-Version: 3.01.6

>Number:         84
>Category:       kern
>Synopsis:       way MULTICAST is being defined for ISO is broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 15 16:20:06 +0000 1994
>Closed-Date:    Thu Feb 24 01:05:43 +0000 1994
>Last-Modified:  Sun Mar 03 17:59:14 +0000 2013
>Originator:     Chris G. Demetriou
>Release:        NetBSD-current, 1/15/94
>Organization:
Kernel Hackers 'r' Us
>Environment:
NetBSD-current, 1/15/94, a kernel with "options ISO", but not
"options MULTICAST"
System: NetBSD sun-lamp.cs.berkeley.edu 0.9a SUN_LAMP_AHBBT_NODDB#13 i386


>Description:
sys/net/if_ethersubr.c gets several lines of syntax errors if compiled
with ISO defined but not MULTICAST.

>How-To-Repeat:
config a kernel with
options		ISO
and NOT
options		MULTICAST
>Fix:
well, the cause of the problem is that MULTICAST is defined if ISO
is defined, in if_ether.h on line 142.  however, two fields in
struct arpcom (defined around line 119 of if_ether.h) depend on the
definition of MULTICAST.  one possible solution is to move the definition
of MULTICAST up.  another possibility is to remove the kludge which
#define's MULTICAST, and either require MULTICAST if you're going to
have ISO, or just make the MULTICAST code standard.  Requiring MULTICAST
for ISO is probably more practical for the present system, but making
MULTICAST standard is what was done by 4.4, and is probably the best
long-term solution.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: cgd 
State-Changed-When: Wed Feb 23 17:05:43 PST 1994 
State-Changed-Why:  
multicast is now standard.  that makes the problem go away. 

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.