From owner-freebsd-questions Wed Nov 13 12:18:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04A1E37B401 for ; Wed, 13 Nov 2002 12:18:52 -0800 (PST) Received: from tcpns.com (dsl-64-192-239-221.telocity.com [64.192.239.221]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33E5D43E8A for ; Wed, 13 Nov 2002 12:18:51 -0800 (PST) (envelope-from jcborkow@tcpns.com) Received: from localhost (localhost [127.0.0.1]) by tcpns.com (8.12.6/8.12.3) with ESMTP id gADKIe1Y030412 for ; Wed, 13 Nov 2002 15:18:40 -0500 (EST) (envelope-from jcborkow@tcpns.com) Date: Wed, 13 Nov 2002 15:18:40 -0500 (EST) From: Jason Borkowsky To: questions@freebsd.org Subject: Recompiling kernel and buildworld problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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