Subject: kern/5015: Kernel with NETATALK but no ethernet doesn't link
To: None <>
From: Dave Huang <>
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
>Originator:     Dave Huang
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet:   |   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
System: NetBSD 1.3C NetBSD 1.3C (SPIFF) #185: Tue Feb 17 17:25:49 CST 1998 i386
NetBSD 1.3C NetBSD 1.3C (GEDD) #482: Wed Feb 18 03:32:03 CST 1998 mac68k

	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

	Enable "options NETATALK", disable all ethernet interfaces
(but you can keep the SLIP and PPP interfaces), config, then compile
the kernel.
	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.