From owner-freebsd-questions Sat Jul 15 13:41:26 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay2.inwind.it (relay2.inwind.it [212.141.53.73]) by hub.freebsd.org (Postfix) with ESMTP id A657737B6A1 for ; Sat, 15 Jul 2000 13:41:21 -0700 (PDT) (envelope-from bartequi@inwind.it) Received: from bartequi.ottodomain.org (212.141.78.158) by relay2.inwind.it; 15 Jul 2000 22:41:19 +0200 From: Salvo Bartolotta Date: Sat, 15 Jul 2000 21:42:19 GMT Message-ID: <20000715.21421900@bartequi.ottodomain.org> Subject: Re: Other problems compiling kernel To: Emmanuel Gravel , freebsd-questions@FreeBSD.ORG In-Reply-To: <3970AC35.456F3882@earthlink.net> References: <3970AC35.456F3882@earthlink.net> X-Mailer: SuperCalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 7/15/00, 7:23:49 PM, Emmanuel Gravel wrote=20 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=3D2 > ../../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=20 your kernel (under 4-STABLE) utilizing the standard procedure. The 4-STABLE branch has recently received significant code=20 contributions which simply require a **different** build procedure;=20 the -stable forum has discussed the problems as well as the details of=20 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.=20 You will use chflags noschg/schg in order to be able to subsequently mov= e=20 (ie rename) the kernels (kernel --> kernel.old; GENERIC --> kernel).=20 Other "gory" details (e.g. how to manage a /WHATEVER kernel) in the=20 archives :-) Also, using the new procedure should be *safe* whenever you have=20 cvsup'ed your source tree; when you don't update your sources, you can=20 use the old standard method (config [-r], make depend; make; make=20 install). HTH, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message