From owner-freebsd-questions Sun Nov 25 13:58:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 6BCD137B419 for ; Sun, 25 Nov 2001 13:58:18 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id NAA12359; Sun, 25 Nov 2001 13:58:15 -0800 Message-ID: <3C016973.4080305@owt.com> Date: Sun, 25 Nov 2001 13:58:11 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Loren Koss Cc: Scott , freebsd-questions@FreeBSD.ORG Subject: Re: Problem building kernel.. References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Loren Koss wrote: > Kent, > > Yes, I am tracking RELENG_4. I am not using the config method, I am > doing: > > 1. make buildworld > 2. make buildkernel KERNCONF=MICHELLE > > Step 1 completed fine, step 2 is failing with the error I posted > previously.. Should I wipe my src and re-cvsup?? I'm not sure what else > to try.. There was an email from someone on stable where they went into the linux modules and did a "make cleandir" twice. You have crufty stuff left over from earlier builds and the build tree needs to be cleaned up. The linux_proto.h used to be generated and now it exists. You have competing definitions. I did the cleandir twice in /usr/src and recvsuped. The problem went away. I don't know what the simplest approach is. You should be asking this question on -stable anyway. This is not the right list for stable questions. Kent > > Loren > > On Sun, 25 Nov 2001, Kent Stewart wrote: > > >> >>Loren Koss wrote: >> >> >>>I just tried that with no luck.. And yes, MICHELLE is the name of the >>>kernel. Do you mean before compilation of world or kernel? >>> >> >>This usually only happens when you cvsup RELENG_4 and don't do a >>buildkernel. The makefile is supposed to take care of the problem. Most >>people only see it if they do a kernel build using the config method, >>which you are told not to do in /usr/src/UPDATING >> >>Kent >> >> >> >>>Thanks >>>Loren >>> >>>On Sun, 25 Nov 2001, Scott wrote: >>> >>> >>> >>>>At 12:46 2001/11/25 -0800, Loren Koss wrote: >>>> >>>> >>>>>For some reason after getting latest from the stable tree, I can't build >>>>>my kernel.. Anyone else having problems?? Here's the error I get: >>>>> >>>>>mkdep -f .depend -a -nostdinc -nostdinc -D_KERNEL -DKLD_MODULE -I- >>>>>-I. -I@ -I@/../include >>>>>/usr/src/sys/modules/linux/../../i386/linux/linux_dummy.c >>>>>/usr/src/sys/modules/linux/../../compat/linux/linux_file.c >>>>>/usr/src/sys/modules/linux/../../compat/linux/linux_getcwd.c >>>>> >>>>> >>>>Yup, a lot of folks are having a similar problem. However, all you have to >>>>do to fix it is, before compilation either remove or rename >>>>/usr/obj/usr/src/sys/MICHELLE >>>>(I'm assuming MICHELLE is the name of your kernel) >>>>That should fix it >>>> >>>>HTH >>>>Scott Robbins >>>> >>>> >>>> >>>> >>> >>>To Unsubscribe: send mail to majordomo@FreeBSD.org >>>with "unsubscribe freebsd-questions" in the body of the message >>> >>>. >>> >>> >>> >> >>-- >>Kent Stewart >>Richland, WA >> >>mailto:kbstew99@hotmail.com >>http://users.owt.com/kstewart/index.html >>FreeBSD News http://daily.daemonnews.org/ >> >> > > > . > > -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message