From owner-freebsd-questions Tue Mar 6 16:11:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.utexas.edu (wb3-a.mail.utexas.edu [128.83.126.138]) by hub.freebsd.org (Postfix) with SMTP id DEAED37B718 for ; Tue, 6 Mar 2001 16:11:27 -0800 (PST) (envelope-from oscars@mail.utexas.edu) Received: (qmail 2448 invoked by uid 0); 7 Mar 2001 00:11:26 -0000 Received: from chepe.cc.utexas.edu (HELO chepe.mail.utexas.edu) (128.83.135.25) by umbs-smtp-3 with SMTP; 7 Mar 2001 00:11:26 -0000 Message-Id: <5.0.2.1.2.20010306180546.036438d0@mail.utexas.edu> X-Sender: oscars@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Tue, 06 Mar 2001 18:10:09 -0600 To: freebsd-questions@freebsd.org From: Oscar Ricardo Silva Subject: Failure on compile of new kernel in 4.2-RELEASE Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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