[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling kernel ...

Thank you both, now i believe i can boot a 64bits kernel :)

After i build the kernel can i copy it into my normal system and boot it ?
Can i only compile 64bits programs under the biarch environment ?

It's 3AM here ... too late for this :P

João Grilo

Alex Perry wrote:

I never managed to make it work with pure Sarge, and there are comments
on the mailing list suggesting it is now impossible to do that.
My sources.list looks like this:

deb     http://ftp.us.debian.org/debian/ stable         main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable         main contrib non-free
deb http://security.debian.org/          stable/updates main contrib non-free
deb     http://debian-amd64.alioth.debian.org/ sarge main
deb-src http://debian-amd64.alioth.debian.org/ sarge main

Did you remember to install the gcc.bart ?  Your command line implies
that you're trying to use it, but you don't mention installing it.

Also, note that you do not need to install "automake" to build kernels.
As mentioned in the instructions, if you install "kernel-package",
it will bring in all the other dependencies you have to have.

Hope that helps ...

On Thu, Mar 25, 2004 at 06:29:21PM -0800, Jo?o Grilo wrote:
I have sarge biarch chroot, i've done it with debootstrap and all i have

in apt sources.list is the alioth source.

I have all installed but i cant compile the kernel because i dont have "make". And if i do a apt-get install automake (with other source in apt), apt removes the lib64c6 which i believe i need.

How should i do it?

Tks in advance
Jo?o Grilo

Frederik Schueler wrote:


you need a woody chroot with sarge biarch stuff and the gcc.bart
according to the CVS version of the HOWTO, then you can cross-compile
from pristine sources. If you already got everything, save your
make mrproper, copy your .config back and try again.

Frederik Schueler

On Fri, Mar 26, 2004 at 01:59:13AM +0000, Jo?o Grilo wrote:

I tried to compile 2.6.4 with support for 64bits but i always get this

# ARCH="x86_64" make HOSTCC="gcc -m32"
CHK     include/linux/version.h
CC      scripts/empty.o
cc1: error: code model `kernel' not supported in the 32 bit mode
make[1]: *** [scripts/empty.o] Error 1
make: *** [scripts] Error 2

What i'm doing wrong ?

Jo?o Grilo

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: