Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 15:26:36 +0200
From:      "Robert Blank" <robert@craft.de>
To:        <freebsd-questions@FreeBSD.org>
Subject:   make buildkernel failed
Message-ID:  <NDBBLFBKDKMANNFGOJNEEEJCDJAA.robert@craft.de>

next in thread | raw e-mail | index | archive | help
Hi all,

uname -a: FreeBSD host.mydom.de 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Wed Dec
6 21:38:04 GMT 2000     olli@www.secnetix.de:/usr/src/sys/compile/GENERIC
i386

i wanted to patch the kernel according to the FreeBSD-SA-01:39.
downloaded the patch, did a patch -p and tried to recompile the kernel using

'make buildkernel KERNEL=GENERIC'

error:

===> 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@/../include -I/
usr/obj/usr/src/i386/usr/include  /usr/sr
c/sys/modules/wi/../../i386/isa/if_wi.c
cd /usr/obj/usr/src/sys/GENERIC;  MAKEOBJDIRPREFIX=/usr/obj
COMPILER_PATH=/usr/obj/usr/src/i386/usr/libexec:/usr/obj/usr/src/
i386/usr/bin
LIBRARY_PATH=/usr/obj/usr/src/i386/usr/lib:/usr/obj/usr/src/i386/usr/lib
OBJFORMAT_PATH=/usr/obj/usr/src/i386/u
sr/libexec  PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503
DESTDIR=/usr/obj/usr/src/i386  INSTALL="sh /usr/src/tools
/install.sh"
PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/u
sr/src/i386/usr/games:/sbin:/bin:/us
r/sbin:/usr/bin MACHINE=i386 make KERNEL=kernel all
cc -c -x
assembler-with-cpp -DLOCORE -O -Wall -Wredundant-decls -Wnested-externs -Wst
rict-prototypes  -Wmissing-prototypes -Wp
ointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- 
-I. -I/usr/src/sys -I/usr/src/sys/../include  -D_K
ERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2
/usr/src/sys/i386/i386/locore.s
/tmp/cchs8600.s: Assembler messages:
/tmp/cchs8600.s:1748: Error: .space specifies non-absolute value
/tmp/cchs8600.s:2474: Error: undefined symbol L0^A in operation setting
PTmap
/tmp/cchs8600.s:2474: Error: undefined symbol PDRSHIFT in operation setting
PTmap
/tmp/cchs8600.s:1716: Error: undefined symbol L0^A in operation

and so on ...

/tmp/cchs8600.s:2463: Error: Subtraction of two symbols in different
sections "IdlePTD" {.data section} - "KERNBASE" {*UND* se
ction} at file address 1554.
/tmp/cchs8600.s:2466: Error: Subtraction of two symbols in different
sections "IdlePTD" {.data section} - "KERNBASE" {*UND* se
ction} at file address 1577.
/tmp/cchs8600.s:2469: Error: Subtraction of two symbols in different
sections "IdlePTD" {.data section} - "KERNBASE" {*UND* se
ction} at file address 1596.
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1


any ideas?

i tried 'make buildworld' allready, but it did not help.


thanks in advance

robert


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?NDBBLFBKDKMANNFGOJNEEEJCDJAA.robert>