From: "Jason Borkowsky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 13, 2002 2:18 PM Subject: Recompiling kernel and buildworld problems
> I am trying to both update my kernel sources with the latest patches by > using cvsup and also rebuild my kernel. I am following the EXACT > instructions in the FreeBSD handbook, but can't get anything to work. > Anybody have any idea why. > > For updating the kernel with the latest sources, I configured and ran > cvsup and got all updates successfully (I am going from RELENG_4_6_2 > to RELENG_4_6-p4). I then remove all files under /usr/obj, cd to /usr/src, > and run a "make buildworld" as in the handbook. When I do this, I get the > following error: > > gen-perf.o: In function Gen_Perf::Gen_Perf()': > gen-perf.o(.text+0x195): undefined reference to _Unwind_Resume' > > main.o: In function main': > main.o(.text+0x6c): undefined reference to _Unwind_Resume' > main.o(.eh_frame+0x12): undefined reference to __gxx_personality_v0' > options.o(.eh_frame+0x11): undefined reference to __gxx_personality_v0' > read-line.o: In function Read_Line::readln_aux(int)': > read-line.o(.text+0xb8): undefined reference to operator new[](unsigned)' > read-line.o(.eh_frame+0x11): undefined reference to __gxx_personality_v0' > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/gperf. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > Then, if I go to rebuild my kernel instead, I follow what they have in the > handbook again: > > # cd /usr/src > # make buildkernel KERNCONF=/usr/src/sys/i386/conf/MYKERNEL > >>> ERROR: Missing kernel configuration file(s) > (/usr/src/sys/i386/conf/MYKERNEL). > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > # more /usr/src/sys/i386/conf/MYKERNEL > > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.43 2002/05/23 17:04:01 > obrien Exp $ > > machine i386 > cpu I686_CPU > ident TCPNS > maxusers 32 > ...etc... > Doublecheck your cvs tags in the supfile and try again. As for 2nd issue, methinks the kernel gets built from the source code under /usr/obj during buildworld...............mergemaster sequence..... Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message