Bug 35455

Summary: Unable to compile ISA NIC devices into kernel
Product: Base System Reporter: Jarkko Santala <jake>
Component: alphaAssignee: freebsd-alpha (Nobody) <alpha>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.5-RELEASE   
Hardware: Any   
OS: Any   

Description Jarkko Santala 2002-03-01 14:50:01 UTC
I tried adding and ISA NIC into the kernel config file, but 
'config ZEM && cd ../../compile/ZEM && make depend && make' results in:

-cut-
cc -c -O -pipe -mcpu=ev56 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mno-fp-regs -Wa,-mev56  setdef1.c
touch hack.c
cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh ../../conf/newvers.sh ZEM 
cc -c -O -pipe -mcpu=ev56 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mno-fp-regs -Wa,-mev56  vers.c
linking kernel
if_ep_isa.o: In function `ep_isa_identify':
if_ep_isa.o(.text+0x1d0): undefined reference to `elink_idseq'
if_ep_isa.o(.text+0x1d4): undefined reference to `elink_idseq'
if_ep_isa.o(.text+0x1e0): undefined reference to `elink_reset'
if_ep_isa.o(.text+0x1e4): undefined reference to `elink_reset'
if_ep_isa.o(.text+0x244): undefined reference to `elink_idseq'
if_ep_isa.o(.text+0x248): undefined reference to `elink_idseq'
*** Error code 1

Stop in /usr/src/sys/compile/ZEM.
zem:/usr/src/sys/compile/ZEM# 
-cut-

With device fe the end result of 'make depend' is:

-cut-
../../dev/fe/if_fe.c:71: opt_fe.h: No such file or directory
-cut-

How-To-Repeat: Take an alpha, install 4.5, add a device for a ISA NIC into kernel 
config and try to compile kernel.
Comment 1 Kris Kennaway freebsd_committer freebsd_triage 2003-07-13 00:37:00 UTC
State Changed
From-To: open->feedback

Does this problem persist with a newer version?  If so, 
please post your kernel configuration file.
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2003-08-16 04:37:44 UTC
State Changed
From-To: feedback->closed

Submitter is no longer able to repeat this.
Comment 3 Kris Kennaway 2003-08-16 04:38:21 UTC
----- Forwarded message from Jarkko Santala <jake@iki.fi> -----

X-Original-To: kkenn@localhost
Delivered-To: kkenn@localhost.obsecurity.org
Delivered-To: kris@freebsd.org
Date: Fri, 1 Aug 2003 06:04:14 +0300 (EEST)
From: Jarkko Santala <jake@iki.fi>
X-X-Sender: jake@trillian.santala.org
To: Kris Kennaway <kris@FreeBSD.org>
Subject: Re: alpha/35455: Unable to compile ISA NIC devices into kernel
In-Reply-To: <200307122337.h6CNbNt3036382@freefall.freebsd.org>
X-UIDL: d18775f9fc7d276783ef501dfe5b41fe
X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.13.7.2

Hi,

I am not able to test this anymore, at least not at this time. Sorry.

	-jake

-- 
Jarkko Santala <jake@iki.fi>            http://www.iki.fi/~jake/
System Administrator                    2001:670:83:f08::/64

----- End forwarded message -----