Results 1 to 2 of 2
I'm running an apt-gotten kernel right now (kernel-image-2.6.8-10-amd64-generic), and I want to compile a new 2.6.9 kernel for various reasons. However,
Code:
CHK include/linux/version.h
CC scripts/mod/empty.o
cc1: error: code model ...
- 03-10-2005 #1Linux Newbie
- Join Date
- May 2004
- Location
- Boston, MA
- Posts
- 246
Kernel won't compile: core model 'the kernel' not support...
I'm running an apt-gotten kernel right now (kernel-image-2.6.8-10-amd64-generic), and I want to compile a new 2.6.9 kernel for various reasons. However,
I can't make heads or tails of this output; can you?Code:CHK include/linux/version.h CC scripts/mod/empty.o cc1: error: code model `kernel' not supported in 32 bit mode make[2]: *** [scripts/mod/empty.o] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2
- 07-15-2006 #2Just Joined!
- Join Date
- Jul 2006
- Posts
- 1
Took me a while but here's the solution. You need to use a special 32bit chroot command before compiling your kernel and other utils.
use:
linux32 chroot /mnt/gentoo /bin/bash


Reply With Quote
