From owner-freebsd-stable@FreeBSD.ORG Fri Apr 11 05:52:32 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72B6837B401 for ; Fri, 11 Apr 2003 05:52:32 -0700 (PDT) Received: from speicher.org (sirius.speicher.org [209.74.10.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69E8C43FB1 for ; Fri, 11 Apr 2003 05:52:30 -0700 (PDT) (envelope-from geoff@speicher.org) Received: from localhost (geoff@localhost) by speicher.org (8.11.6/8.11.6) with ESMTP id h3BD5Jr27060; Fri, 11 Apr 2003 09:05:19 -0400 (EDT) (envelope-from geoff@speicher.org) Date: Fri, 11 Apr 2003 09:05:19 -0400 (EDT) From: "Geoffrey C. Speicher" To: Zoran Kolic In-Reply-To: <200304110958.12789.kolicz@eunet.yu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: my mistake compiling kernel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 12:52:32 -0000 On Fri, 11 Apr 2003, Zoran Kolic wrote: > > Dear FreeBSD! > On my home machine I`ve tried to > compile custom kernel for 5_0 release. > In a script commented out all scsi, raid, > ethernet, nfs options, I had not. So I`ve > included atapicam options and "device > pcm" for AC97 sound chip. After all, > result was an error: > > linking kernel > if.o: In function 'if_setlladdr': > if.o(.text+0x2725): undefined reference to 'arp_ifinit' > stop in /usr/orj/usr/src/sys/NEWKERN As you said, you removed "device ether", which for no good reason is required by "options INET". See the recent thread on hackers@ for more: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=97462+0+current/freebsd-hackers This shouldn't be the case, (you may want ppp support for internet dial-up without ethernet support, or you may want ethernet without IP), but for now, either replace "device ether" or remove the following if you don't need any networking at all: options INET options INET6 device sl device ppp device tun device gif I'd be interested to hear what anyone else thinks about these dependencies. > I am shure that mistake is mine, but don't know > what option to include. Must be something > I threw away, without knowlidge what it is. > Is there someone, who knows what to do > for linking kernel to finaly compile? Script > excludes and includes exactly what I said. > > Yes, 5_0 is very unstable and behaves a > lot different than stable 4_. Best regards Depends on what you mean by unstable, but it's been pretty stable for me. Did your 4.x kernel run without device ether but with INET? Geoff