Skip site navigation (1)Skip section navigation (2)
Date:      11 Jul 2000 00:10:44 +0200
From:      Eric Jacoboni <jaco@titine.fr.eu.org>
To:        Kris Kennaway <kris@FreeBSD.ORG>
Cc:        stable@FreeBSD.ORG
Subject:   Re: HEADS UP! Always use the 'make buildkernel' target to make yer kernels
Message-ID:  <871z11iql7.fsf@titine.fr.eu.org>
In-Reply-To: Kris Kennaway's message of "Mon, 10 Jul 2000 14:15:54 -0700 (PDT)"
References:  <Pine.BSF.4.21.0007101414130.6216-100000@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Kris" =3D=3D Kris Kennaway <kris@FreeBSD.ORG> 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




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