Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Arslan S. on May 23, 2010, 03:44:30 PM
-
i have downloaded linux-2.6.33.3-patched.tar.bz2 and extracted it
downloaded config-2.6.33.3-tinycore64 and copied it to top level linux source directory with the name .config then
make oldconfig
make modules_prepare
[tc@box:/mnt/sda10/linux-2.6.33.3/64bit/linux-2.6.33.3$ make prepare
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
HOSTCC scripts/basic/docproc
CC kernel/bounds.s
kernel/bounds.c:1: error: code model 'kernel' not supported in the 32 bit mode
kernel/bounds.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2/code]
what am i doing wrong ?
i am on a microcore 3.0alpha4 + Xorg + gnome install
-
It was compiled with toolchain64.tcz. You'll need to also add some vars to cross-compile the kernel:
export ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu-
-
It was compiled with toolchain64.tcz. You'll need to also add some vars to cross-compile the kernel:
export ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu-
thanks Curaga I have successfully compiled my kernel modules for 2.6.33.3-tinycore64 after your post