Subject: _arpintr undefined (fwd)
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Drew Hess <dhess@CS.Stanford.EDU>
List: netbsd-bugs
Date: 04/25/1994 03:52:54
I'm forwarding this e-mail I received from Frank van der Linden a few
days ago that addresses the problem with NetBSD/i386-current and kernel
configs that do not define an ethernet device.

The problem persists with the latest source so it appears it didn't get
to the proper channels.

The error occurs when locore.o is built.

All credit goes to Frank for this fix, I'm just forwarding it to the
bug-list.



Frank van der Linden writes:
> To: dhess@cs.stanford.edu
> Subject: _arpintr undefined
> Cc: mycroft@gnu.ai.mit.edu
> 
>  dhess@cs.stanford.edu complained about:
> > locore.o: Undefined symbol _arpintr referenced from text segment
> 
>  Below is a diff that solves this.
> (cc'ed to mycroft@gnu.ai.mit.edu)
> 
> Onno van der Linden     c/o       vdlinden@fwi.uva.nl (Frank van der Linden)
> 
> *** /sys/arch/i386/isa/icu.s.orig	Tue Apr 19 20:29:14 1994
> --- /sys/arch/i386/isa/icu.s	Tue Apr 19 20:29:42 1994
> ***************
> *** 138,143 ****
>   	xorl	%edi,%edi
>   	xchgl	_netisr,%edi
> ! #ifdef INET
>   	DONET(NETISR_ARP, _arpintr)
>   	DONET(NETISR_IP, _ipintr)
>   #endif
> --- 138,145 ----
>   	xorl	%edi,%edi
>   	xchgl	_netisr,%edi
> ! #ifdef ETHER
>   	DONET(NETISR_ARP, _arpintr)
> + #endif
> + #ifdef INET
>   	DONET(NETISR_IP, _ipintr)
>   #endif
> 


------------------------------------------------------------------------------