From owner-freebsd-stable Mon Aug 21 20:17:58 2000 Delivered-To: freebsd-stable@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id B7BAD37B423 for ; Mon, 21 Aug 2000 20:17:51 -0700 (PDT) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id UAA00592; Mon, 21 Aug 2000 20:17:49 -0700 Message-ID: <39A1F0DD.AA954958@urx.com> Date: Mon, 21 Aug 2000 20:17:49 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Erich Zigler Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Oh the rapture References: <20000821215444.A21157@superhero.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Erich Zigler wrote: > > This is the error I get after cvsupping stable as of 08/21/2000 9:45 CDT > > Im trying to compile a new kernel. > Could this be because Im building a kernel instead of a make world first. > Should that matter if they are both 4.1-STABLE? The source tree and > installed system. > > cd /usr/obj/usr/src/sys/PRYDN; 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 -O2 -pipe -mpentiumpro > -march=pentiumpro -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 > {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 setting > PTmap > {standard input}:1711: Error: undefined symbol L0 in operation > > {standard input}:2446: Error: Subtraction of two symbols in different > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file > address 1538. > {standard input}:2449: Error: Subtraction of two symbols in different > sections "IdlePTD" {.data section} - "KERNBASE" {*UND* section} at file > address 1557. > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/PRYDN. > *** Error code 1 > > I thought that the kernel was compiled against the installed system libs and > compiler not the ones being compiled in /usr/obj or am I way off base here? After 4.1, yes. If you read /usr/src/UPDATING, you have two choices. The first one runs like 1. make buildworld 2. make buildkernel KERNEL=PRYDN 3. make installkernel KERNEL=PRYDN 4. reboot to single user 5. make installworld 6. mergemaster 7. reboot The second one requires a make world first but if your build's don't work, you are to do the build[install]kernel method before talking about an error. A cvsup and a kernel make or a cvsup and a config kernel don't make the list. Kent > > -- > Erich Zigler Sr. System Administrator > > Tell init(8) to lock-n-load, we're goin' zombie slaying! > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message