From owner-freebsd-questions Wed Nov 13 13:38: 8 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 E3DCA37B401 for ; Wed, 13 Nov 2002 13:38:05 -0800 (PST) Received: from elisha.daleco.biz (cdm-66-92-15-cart.cox-internet.com [66.76.92.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B16543E42 for ; Wed, 13 Nov 2002 13:38:01 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from DaleCoportable ([192.168.0.250]) by elisha.daleco.biz (8.12.6/8.12.4) with SMTP id gADLboFN000617; Wed, 13 Nov 2002 15:37:54 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <008601c28b5c$b35f3b10$fa00a8c0@DaleCoportable> From: "Kevin D. Kinsey, DaleCo, S.P." To: "Jason Borkowsky" , References: Subject: Re: Recompiling kernel and buildworld problems Date: Wed, 13 Nov 2002 15:36:13 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 From: "Jason Borkowsky" To: 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message