From seggers@semyam.dinoco.de  Tue May 26 07:21:04 1998
Received: from tim.xenologics.com (tim.xenologics.com [194.77.5.24])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA01606
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 26 May 1998 07:20:59 -0700 (PDT)
          (envelope-from seggers@semyam.dinoco.de)
Received: (from uucp@localhost)
	by tim.xenologics.com (8.8.5/8.8.8) with UUCP id QAA28606
	for FreeBSD-gnats-submit@freebsd.org; Tue, 26 May 1998 16:17:27 +0200 (MET DST)
Received: (from seggers@localhost)
	by semyam.dinoco.de (8.8.8/8.8.8) id KAA08431;
	Tue, 26 May 1998 10:48:03 +0200 (CEST)
	(envelope-from seggers)
Message-Id: <199805260848.KAA08431@semyam.dinoco.de>
Date: Tue, 26 May 1998 10:48:03 +0200 (CEST)
From: seggers@semyam.dinoco.de (Stefan Eggers)
Reply-To: seggers@semyam.dinoco.de
To: FreeBSD-gnats-submit@freebsd.org
Cc: seggers@semyam.dinoco.de
Subject: can't compile kernel w/o networking
X-Send-Pr-Version: 3.2

>Number:         6760
>Category:       kern
>Synopsis:       can't compile kernel w/o networking
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 26 07:20:03 PDT 1998
>Closed-Date:    Thu Aug 10 06:45:50 PDT 2000
>Last-Modified:  Thu Aug 10 06:47:49 PDT 2000
>Originator:     Stefan Eggers
>Release:        FreeBSD 2.2.6-STABLE i386
>Organization:
none
>Environment:

	A machine with 2.2-stable sources used to compile a kernel for
another (small and non-networked) machine.

>Description:

	I tried to make a new kernel with the below shown configura-
tion and failed due to the following error:

machdep.o: Undefined symbol `netisr_set' referenced from text segment
*** Error code 1

The linker can't find this symbol.  No wonder - nobody put anything
in this global object set.  This condition seems to be unacceptable to
the linking process and makes it impossible to completely remove the
networking code.

>How-To-Repeat:

	Use this kernel configuration file and try to compile FreeBSD
2.2-stable of last week:

machine		"i386"
cpu		"I386_CPU"
ident		MININST
maxusers	10
options		MATH_EMULATE
options		FFS
options		PROCFS
options		"COMPAT_43"
options		UCONSOLE
options		FAILSAFE
options		USERCONFIG
config		kernel	root on wd0
controller	isa0
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
pseudo-device	log
pseudo-device	pty	16

>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->suspended 
State-Changed-By: phk 
State-Changed-When: Wed May 27 02:23:27 PDT 1998 
State-Changed-Why:  
A dummy element is needed in the netisr_set 

awaiting committer 
State-Changed-From-To: suspended->closed 
State-Changed-By: phk 
State-Changed-When: Wed May 27 09:02:14 PDT 1998 
State-Changed-Why:  
fixed in -current according to Eivind. 
State-Changed-From-To: closed->open 
State-Changed-By: bde 
State-Changed-When: Wed Jun 3 00:57:47 PDT 1998 
State-Changed-Why:  
Wasn't fixed in -current. 
Just fixed in rev.1.298 of machdep.c in -current. 
Not fixed in -stable. 
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Thu Aug 10 06:45:50 PDT 2000 
State-Changed-Why:  
Fixed in rev 1.298 of machdep.c.  
Hence fixed in 3.x 4.x and -current. 
2.2.x is unmaintained. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=6760 
>Unformatted:
