Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Mar 2001 18:10:09 -0600
From:      Oscar Ricardo Silva <oscars@mail.utexas.edu>
To:        freebsd-questions@freebsd.org
Subject:   Failure on compile of new kernel in 4.2-RELEASE
Message-ID:  <5.0.2.1.2.20010306180546.036438d0@mail.utexas.edu>

next in thread | raw e-mail | index | archive | help
I just did a fresh install of 4.2-RELEASE, using the iso image.  In trying 
to recompile the kernel, I received errors looking like this:

===> 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/src/sys/modules/wi/../../i386/isa/if_wi.c
cd 
/usr/obj/usr/src/sys/newkernel;  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/usr/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/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin 
MACHINE=i386 make KERNEL=kernel all
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/usr/src/sys -I/usr/src/sys/../include  -D_KERNEL -include opt_global.h 
-elf  -mpreferred-stack-boundary=2 /usr/src/sys/i386/i386/locore.s
/tmp/ccz60166.s: Assembler messages:
/tmp/ccz60166.s:1744: Error: .space specifies non-absolute value
/tmp/ccz60166.s:2455: Error: undefined symbol L0 in operation setting PTmap
/tmp/ccz60166.s:2455: Error: undefined symbol PDRSHIFT in operation setting 
PTmap
/tmp/ccz60166.s:1712: Error: undefined symbol L0 in operation

/tmp/ccz60166.s:2389: Error: Subtraction of two symbols in different 
sections "cpu_feature" {.data section} - "KERNBASE" {*UND* section} at file 
address 1146.
/tmp/ccz60166.s:2394: Error: Subtraction of two symbols in different 
sections ".data" {.data section} - "KERNBASE" {*UND* section} at file 
address 1164.
/tmp/ccz60166.s:2397: Error: Subtraction of two symbols in different 
sections ".data" {.data section} - "KERNBASE" {*UND* section} at file 
address 1183.
/tmp/ccz60166.s:2400: Error: Subtraction of two symbols in different 
sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file 
address 1205.


A previous response to a question of the same type was:


>Typical message from doing a buildkernel with out doing a buildworld
>first. Buildkernel depends on /usr/obj being populated by the
>buildworld.

If I did a fresh install, would /usr/obj be populated with anything?  I 
want to keep the system at 4.2-RELEASE and don't think I need to do a 'make 
buildworld' before recompiling the kernel.  Also, why does the failure 
appear to be in building the components of 'wi'?  In the other question, 
the failure also seemed to occur in 'wi'.

Any help would be appreciated.



Thanks,

Oscar


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?5.0.2.1.2.20010306180546.036438d0>