From owner-freebsd-stable Mon Jul 10 15:11:45 2000 Delivered-To: freebsd-stable@freebsd.org Received: from postfix3.free.fr (postfix3.free.fr [212.27.32.22]) by hub.freebsd.org (Postfix) with ESMTP id C991437B985; Mon, 10 Jul 2000 15:11:37 -0700 (PDT) (envelope-from jaco@titine.fr.eu.org) Received: from titine.fr.eu.org (toulouse-1-5-108.dial.proxad.net [213.228.5.108]) by postfix3.free.fr (Postfix) with ESMTP id 4D69586C2B; Tue, 11 Jul 2000 00:11:33 +0200 (CEST) Received: by titine.fr.eu.org (Postfix, from userid 1000) id 8D7B914CDF; Tue, 11 Jul 2000 00:10:44 +0200 (CEST) X-Attribution: Jaco To: Kris Kennaway Cc: stable@FreeBSD.ORG Subject: Re: HEADS UP! Always use the 'make buildkernel' target to make yer kernels References: From: Eric Jacoboni Date: 11 Jul 2000 00:10:44 +0200 In-Reply-To: Kris Kennaway's message of "Mon, 10 Jul 2000 14:15:54 -0700 (PDT)" Message-ID: <871z11iql7.fsf@titine.fr.eu.org> Lines: 36 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "Kris" =3D=3D Kris Kennaway writes: Kris> You can also build kernels the "old way" and it will work most of the Kris> time, but "buildkernel" is the officially supported way for *all* ker= nel Kris> builds - so please don't post bug reports unless you've tried buildke= rnel Kris> and it's failed. Yes, this should be documented in the handbook. I should say that a 'make buildkernel KERNEL=3DTITINE' fails (on a fresh cvsup) with the following messages : =3D=3D=3D> wi @ -> /usr/src/sys machine -> /usr/src/sys/i386/include perl @/kern/makedevops.pl -h @/kern/device_if.m perl @/kern/makedevops.pl -h @/kern/bus_if.m rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../i= nclude -I/usr/obj/usr/src/i386/usr/include /usr/src/sys/modules/wi/../../i= 386/isa/if_wi.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnes= ted-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winl= ine -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sy= s -I/usr/src/sys/../include -D_KERNEL -include opt_global.h -elf -mprefer= red-stack-boundary=3D2 /usr/src/sys/i386/i386/locore.s {standard input}: Assembler messages: {standard input}:1743: Error: .space specifies non-absolute value {standard input}:2454: Error: undefined symbol L0 in operation setting PTmap {standard input}:2454: Error: undefined symbol PDRSHIFT in operation settin= g PTmap {standard input}:1711: Error: undefined symbol L0 in operation [lot of stuff skipped...] {standard input}:2443: Error: Subtraction of two symbols in different secti= ons "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address = 1515. {standard input}:2446: Error: Subtraction of two symbols in different secti= ons "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address = 1538. {standard input}:2449: Error: Subtraction of two symbols in different secti= ons "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file address = 1557. *** Error code 1 but the old method works like a charm on the same kernel config... --=20 --------------------------------------------------------- =C9ric Jacoboni =AB No sport, cigars! =BB (W. Churchill) --------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message