From owner-freebsd-questions Sat Jul 15 15:24:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from harrier.prod.itd.earthlink.net (harrier.prod.itd.earthlink.net [207.217.121.12]) by hub.freebsd.org (Postfix) with ESMTP id C397D37B543 for ; Sat, 15 Jul 2000 15:24:07 -0700 (PDT) (envelope-from egravel@earthlink.net) Received: from earthlink.net (hybrid-024-221-117-152.phoenix.speedchoice.com [24.221.117.152]) by harrier.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id PAA14472 for ; Sat, 15 Jul 2000 15:24:05 -0700 (PDT) Message-ID: <3970E51E.316C25E6@earthlink.net> Date: Sat, 15 Jul 2000 15:26:38 -0700 From: Emmanuel Gravel X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: Other problems compiling kernel References: <3970AC35.456F3882@earthlink.net> <20000715.21421900@bartequi.ottodomain.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That's fine if I want to follow the stable branch and update the whole system. All I want to do is update my kernel to something more appropriate for my needs. I have 4.0-RELEASE right now. I know it's highly recommended to follow the stable branch but at this point that's not what I want to do. Has the ability to simply recompile the kernel been obscured so much in this release? Thanks! Emmanuel Salvo Bartolotta wrote: > > >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< > > On 7/15/00, 7:23:49 PM, Emmanuel Gravel wrote > regarding Other problems compiling kernel: > > > Got this error message when compiling. I can usually work around C > > problems, > > however assembler is another story... > > > cc -c -x assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > > -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi > > -nostdinc -I- -I. -I../.. -I../../../include -D_KERNEL -include > > opt_global.h -elf -mpreferred-stack-boundary=2 > > ../../i386/i386/bioscall.s > > /tmp/ccVA5358.s: Assembler messages: > > /tmp/ccVA5358.s:773: Error: operands given don't match any known 386 > > instruction > > /tmp/ccVA5358.s:838: Error: operands given don't match any known 386 > > instruction > > *** Error code 1 > > > So anyone know what I should do now? Got the latest sources today... > > > Thanks! > > > Emmanuel > > Dear Emmanuel Gravel, > > I may be completely wrong, but I am afraid you have tried to compile > your kernel (under 4-STABLE) utilizing the standard procedure. > > The 4-STABLE branch has recently received significant code > contributions which simply require a **different** build procedure; > the -stable forum has discussed the problems as well as the details of > the procedure in the past few days. > > ------ From Kris Kennaway's warning as of 10 July 2000 ------ > > Summary of Officially Sanctioned Update Procedure: > > make buildworld > make buildkernel > make installkernel > shutdown (drop into single-user mode) > make installworld > mergemaster > reboot > > Depart from the above procedure at your own risk. > > -------------------------------------------------------------- > > N.B. This procedure should create a /GENERIC kernel. > You will use chflags noschg/schg in order to be able to subsequently move > (ie rename) the kernels (kernel --> kernel.old; GENERIC --> kernel). > > Other "gory" details (e.g. how to manage a /WHATEVER kernel) in the > archives :-) > > Also, using the new procedure should be *safe* whenever you have > cvsup'ed your source tree; when you don't update your sources, you can > use the old standard method (config [-r], make depend; make; make > install). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message