Re: cant crosscompile kernel

From: Danny Braniss <danny_at_cs.huji.ac.il>
Date: Thu, 21 Oct 2004 19:34:01 +0200
> 
> --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
Received on Thu Oct 21 2004 - 15:34:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:18 UTC