Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2000 21:42:19 GMT
From:      Salvo Bartolotta <bartequi@inwind.it>
To:        Emmanuel Gravel <egravel@earthlink.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Other problems compiling kernel
Message-ID:  <20000715.21421900@bartequi.ottodomain.org>
In-Reply-To: <3970AC35.456F3882@earthlink.net>
References:  <3970AC35.456F3882@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 7/15/00, 7:23:49 PM, Emmanuel Gravel <egravel@earthlink.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000715.21421900>