Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2004 19:34:01 +0200
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: cant crosscompile kernel 
Message-ID:  <20041021173403.22B3843D2D@mx1.FreeBSD.org>
In-Reply-To: Message from Kris Kennaway <kris@obsecurity.org>  <20041021165739.GB9901@xor.obsecurity.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> --dTy3Mrz/UPE2dbVg
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Thu, Oct 21, 2004 at 05:45:19PM +0200, Danny Braniss wrote:
> > after latest cvsup, i can't crosscompile kernel:
> >=20
> > export MAKEOBJDIRPREFIX=3D/r+d/obj/x-dev
> > cd /r+d/6.0/src; make -j4 buildkernel KERNCONF=3DHUJI TARGET_ARCH=3Damd64=
>  =20
> > --------------------------------------------------------------
> > >>> Kernel build for HUJI started on Thu Oct 21 17:40:59 IST 2004
> > --------------------------------------------------------------
> > =3D=3D=3D> HUJI
> > mkdir -p /usr/obj/amd64/r+d/6.0/src/sys
> > --------------------------------------------------------------
> > >>> stage 1: configuring the kernel
> > --------------------------------------------------------------
> > cd /r+d/6.0/src/sys/amd64/conf;  PATH=3D/usr/obj/amd64/r+d/6.0/src/i386/l=
> egacy/us
> > r/sbin:/usr/obj/amd64/r+d/6.0/src/i386/legacy/usr/bin:/usr/obj/amd64/r+d/=
> 6.0/sr
> > c/i386/legacy/usr/games:/usr/obj/amd64/r+d/6.0/src/i386/usr/sbin:/usr/obj=
> /amd64
> > /r+d/6.0/src/i386/usr/bin:/usr/obj/amd64/r+d/6.0/src/i386/usr/games:/sbin=
> :/bin:
> > /usr/sbin:/usr/bin  config  -d /usr/obj/amd64/r+d/6.0/src/sys/HUJI =20
> > /r+d/6.0/src/sys/amd64/conf/HUJI
> > ERROR: version of config(8) does not match kernel!
> > config version =3D 500013, version required =3D 600000
> 
> Did you do a buildworld first?

i think i see the problem, the PATH does not include MAKEOBJDIRPREFIX which
i set to /r+d/obj/x-dev, and does contain a i386 executable config

 /usr/obj/x-dev/amd64/r+d/6.0/src/i386/r+d/6.0/src/usr.sbin/config/config

danny




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041021173403.22B3843D2D>