Date: Mon, 21 Aug 2000 20:17:49 -0700 From: Kent Stewart <kstewart@urx.com> To: Erich Zigler <erichz@superhero.org> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Oh the rapture Message-ID: <39A1F0DD.AA954958@urx.com> References: <20000821215444.A21157@superhero.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > <snip> > {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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39A1F0DD.AA954958>