Date: Wed, 13 Nov 2002 15:18:40 -0500 (EST) From: Jason Borkowsky <jcborkow@tcpns.com> To: questions@freebsd.org Subject: Recompiling kernel and buildworld problems Message-ID: <Pine.BSF.4.44.0211131517530.30410-100000@bemused.tcpns.com>
next in thread | raw e-mail | index | archive | help
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: 1.Change to the /usr/src directory. # cd /usr/src 2.Compile the kernel. # make buildkernel KERNCONF=MYKERNEL # 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. It tells me my kernel configuration file is missing. But, yet, here it is: # 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... Anybody know what I am doing wrong that I can't get anything to work? Any help appreciated. Thanks! 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?Pine.BSF.4.44.0211131517530.30410-100000>