Re: cant crosscompile kernel

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Thu, 21 Oct 2004 09:57:39 -0700
On Thu, Oct 21, 2004 at 05:45:19PM +0200, Danny Braniss wrote:
> after latest cvsup, i can't crosscompile kernel:
> 
> export MAKEOBJDIRPREFIX=/r+d/obj/x-dev
> cd /r+d/6.0/src; make -j4 buildkernel KERNCONF=HUJI TARGET_ARCH=amd64  
> --------------------------------------------------------------
> >>> Kernel build for HUJI started on Thu Oct 21 17:40:59 IST 2004
> --------------------------------------------------------------
> ===> 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=/usr/obj/amd64/r+d/6.0/src/i386/legacy/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  
> /r+d/6.0/src/sys/amd64/conf/HUJI
> ERROR: version of config(8) does not match kernel!
> config version = 500013, version required = 600000

Did you do a buildworld first?

Kris
Received on Thu Oct 21 2004 - 14:57:31 UTC

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