Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

kernel/3356: inet needs ether

From: David Leonard <d(at)adaptive-enterprises.com.au>
Date: Thu Jul 17 2003 - 23:03:23 EDT


>Number: 3356
>Category: kernel
>Synopsis: inet needs ether
>Confidential: no
        

	System      : OpenBSD 3.3
	Architecture: OpenBSD.sparc
	Machine     : sparc

>Description:
When building a kernel with no NICs, but with PPP and INET enabled, some symbols aren't found. This is because inet support includes ether-over-IP support (ip_ether.c), and accesses variables in ethersubr.c.
>How-To-Repeat:
try building the kernel at http://www.itee.uq.edu.au/~leonard/personal/stylistic/IKE (intended for a 4MB tablet device)

>Fix:

Index: files



RCS file: /openbsd/cvs/src/sys/conf/files,v retrieving revision 1.269
diff -u -u -r1.269 files
--- files	24 Feb 2003 01:17:36 -0000	1.269
+++ files	18 Jul 2003 02:59:04 -0000

@@ -611,7 +611,7 @@
 file net/if.c
 file net/if_arcsubr.c			arc			needs-flag
 file net/if_atmsubr.c			atm			needs-flag
-file net/if_ethersubr.c			ether | fddi | token	needs-flag
+file net/if_ethersubr.c			inet | ether | fddi | token	needs-flag
 file net/if_fddisubr.c			fddi
 file net/if_spppsubr.c			sppp
 file net/if_loop.c			loop
@@ -657,7 +657,7 @@
 file netccitt/pk_timer.c		ccitt
 file netccitt/pk_usrreq.c		ccitt
 file netinet/if_atm.c			atm
-file netinet/if_ether.c			ether
+file netinet/if_ether.c			ether | inet
 #file netinet/if_ieee1394arp.c		ieee1394 & inet
 file netinet/in4_cksum.c		inet
 file netinet/igmp.c			inet

>Release-Note:
Received on Thu Jul 17 23:34:07 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:30:00 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library