Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 15:36:13 -0600
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        "Jason Borkowsky" <jcborkow@tcpns.com>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Recompiling kernel and buildworld problems
Message-ID:  <008601c28b5c$b35f3b10$fa00a8c0@DaleCoportable>
References:  <Pine.BSF.4.44.0211131517530.30410-100000@bemused.tcpns.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: "Jason Borkowsky" <jcborkow@tcpns.com>
To: <questions@FreeBSD.ORG>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008601c28b5c$b35f3b10$fa00a8c0>