Date: Wed, 27 Jul 2005 09:24:42 +0800 From: Wang FreeBSD <freebsd.wang@gmail.com> To: =?ISO-8859-1?Q?J=F6rg_Reisenweber?= <me@reusel.de> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: buildkernel failed Message-ID: <c854b8bb0507261824bba4b72@mail.gmail.com> In-Reply-To: <5367E0E3-D54B-4E94-834D-749B14FE2872@reusel.de> References: <c854b8bb0507261703126a70e0@mail.gmail.com> <5367E0E3-D54B-4E94-834D-749B14FE2872@reusel.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you very much!
I had try to buildworld with source code of cvsup tag RELENG_5_4 and
meet many problem. It seem that some problem with the config, so
generated code has some bugs.
libstdc++, unwind.h can't found
libgroff, nonposix.h can't found
I check the error shell command line and get one head file include
path missing, but it is appeared in CFLAGS。It raised error because
these files are C++ file, compiled by c++, it doesn't use CFLAGS and
use CXXFLAGS instead. So I fixed these two problem by modified
variable CXXFLAGS in Makefile of libstdc++ and libgroff, it works.
But when I fixed it, another problem came out, there is two
version of getstemp declare, one is c++ version in "lib.h", another is
c version in stdlib.h. I modified the lib.h define a macro to disable
c version in stdlib.h. But it's not the end, just begin, so I gave up
finally.
On 7/27/05, Jörg Reisenweber <me@reusel.de> wrote:
> Hi Wang,
>
>
> Am 27.07.2005 um 02:03 schrieb Wang FreeBSD:
>
> ERROR: version of config(8) does not match kernel!
> config version = 500012, version required = 500013
>
>
> it seems to me that you have to do a "make buildworld" before making the new
> kernel. This should solve your problme - maybe ;).
>
> So do in /usr/src/ a
>
> make buildworld
> make kernel KERNCONF=<YOURKERNEL>
> init 6
> make installworld
> init 6
>
> Hope that helps,
> Jörg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c854b8bb0507261824bba4b72>
