Date: Sun, 25 Nov 2001 13:58:11 -0800 From: Kent Stewart <kstewart@owt.com> To: Loren Koss <loren@pciway.com> Cc: Scott <scottro@nyc.rr.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Problem building kernel.. Message-ID: <3C016973.4080305@owt.com> References: <Pine.BSF.4.21.0111251349460.78176-100000@unix.pciway.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >>>>><snip> >>>>> >>>>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C016973.4080305>