Subject: kern/5015: Kernel with NETATALK but no ethernet doesn't link
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 02/18/1998 18:10:52
>Number:         5015
>Category:       kern
>Synopsis:       Kernel with NETATALK but no ethernet doesn't link
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 18 16:20:01 1998
>Last-Modified:
>Originator:     Dave Huang
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        NetBSD-current as of February 18, 1998
>Environment:
	
System: NetBSD dahan.metonymy.com 1.3C NetBSD 1.3C (SPIFF) #185: Tue Feb 17 17:25:49 CST 1998 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386
NetBSD gedd.metonymy.com 1.3C NetBSD 1.3C (GEDD) #482: Wed Feb 18 03:32:03 CST 1998     khym@dahan.metonymy.com:/usr/src.local/sys/arch/mac68k/compile/GEDD mac68k


>Description:
	A kernel with "options NETATALK" but no ethernet interface
fails to link, with the following error:

aarp.o(.text+0x686): undefined reference to `ether_sprintf'
*** Error code 1

>How-To-Repeat:
	Enable "options NETATALK", disable all ethernet interfaces
(but you can keep the SLIP and PPP interfaces), config, then compile
the kernel.
>Fix:
	I dunno... currently, netatalk requires ethernet, so it's not
actually useful to enable netatalk without ethernet. But on the other
hand, it'd be nice if the kernel would work anyway. So, maybe no fix
is needed... or maybe ignore NETATALK if NETHER == 0.
>Audit-Trail:
>Unformatted: