Subject: port-i386/4445: kernel with if_we driver won't link
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 11/07/1997 06:53:59
>Number: 4445
>Category: port-i386
>Synopsis: kernel with if_we driver won't link
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 7 05:05:02 1997
>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 1.3_ALPHA as of November 6, 1997
>Environment:
System: NetBSD dahan.metonymy.com 1.3_ALPHA NetBSD 1.3_ALPHA (SPIFF) #156: Thu Nov 6 06:24:34 CST 1997 khym@dahan.metonymy.com:/usr/src.local/sys/arch/i386/compile/SPIFF i386
>Description:
A kernel with the we driver and no other dp8390-using NICs
fails to link with the following errors:
if_we.o: Undefined symbol `_dp8390_config' referenced from text segment
if_we.o: Undefined symbol `_dp8390_intr' referenced from text segment
if_we.o: Undefined symbol `_dp8390_rint' referenced from text segment
if_we.o: Undefined symbol `_dp8390_reset' referenced from text segment
Problem noticed by Markus Kilbinger <kilbi@rad.rwth-aachen.de>.
>How-To-Repeat:
Try to compile a kernel with the we driver and no other NICs.
>Fix:
--- /usr/src/sys/dev/isa/files.isa Thu Nov 6 07:48:54 1997
+++ files.isa Fri Nov 7 06:51:51 1997
@@ -207,7 +207,7 @@
file dev/isa/if_sm_isa.c sm_isa
# WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
-device we: ether, ifnet, arp
+device we: ether, ifnet, arp, dp8390nic
attach we at isa
file dev/isa/if_we.c we
>Audit-Trail:
>Unformatted: