From nobody@FreeBSD.org  Fri Mar  1 06:44:41 2002
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 7270337B402
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 Mar 2002 06:44:41 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g21EifN99936;
	Fri, 1 Mar 2002 06:44:41 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200203011444.g21EifN99936@freefall.freebsd.org>
Date: Fri, 1 Mar 2002 06:44:41 -0800 (PST)
From: Jarkko Santala <jake@iki.fi>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Unable to compile ISA NIC devices into kernel
X-Send-Pr-Version: www-1.0

>Number:         35455
>Category:       alpha
>Synopsis:       Unable to compile ISA NIC devices into kernel
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-alpha
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 01 06:50:01 PST 2002
>Closed-Date:    Fri Aug 15 20:38:05 PDT 2003
>Last-Modified:  Fri Aug 15 20:40:22 PDT 2003
>Originator:     Jarkko Santala
>Release:        4.5-RELEASE-p1
>Organization:
>Environment:
FreeBSD zem.xxx.xxx 4.5-RELEASE-p1 FreeBSD 4.5-RELEASE-p1 #0: Fri Mar  1 15:23:31 EET 2002     jake@zem.xxx.xxx:/usr/src/sys/compile/ZEM  alpha

>Description:
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.
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Sat Jul 12 16:37:00 PDT 2003 
State-Changed-Why:  
Does this problem persist with a newer version?  If so, 
please post your kernel configuration file. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35455 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Fri Aug 15 20:37:44 PDT 2003 
State-Changed-Why:  
Submitter is no longer able to repeat this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35455 

From: Kris Kennaway <kris@obsecurity.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: alpha/35455: Unable to compile ISA NIC devices into kernel
Date: Fri, 15 Aug 2003 20:38:21 -0700

 ----- 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 -----
>Unformatted:
