You are not logged in.

#1 2007-05-19 22:29:49

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

can't buld 2.6.21 kernel

When I try to make I get the following error:

# make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
scripts/Makefile.build:17: /usr/src/linux-2.6.21-ARCH/init/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-2.6.21-ARCH/init/Makefile'.  Stop.
make: *** [init] Error 2

Is this a bug or something not installed?

Offline

#2 2007-05-20 11:16:46

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: can't buld 2.6.21 kernel

The arch BINARY KERNEL package does not install the full kernel sources, you can not go in /usr/src/linux-2.6.21-ARCH and compile.
As the wiki documents thoroughly, there are two methods to compile your kernel (if you really need - or like - to do it): the ABS method and the plain, old downloading and untarring the sources from www.kernel.org in /usr/src,

make menuconfig
make 
make modules_install
cp arch/i386/boot/bzImage /boot/<kernelnameingrubconfig>
cp System.map /boot/System.map<foo>

Archlinux promotes the first method, but the second one is always so fashionable.


Mortuus in anima, curam gero cutis

Offline

#3 2007-05-20 13:01:51

dninja
Member
From: Sheffield, UK
Registered: 2006-04-29
Posts: 374
Website

Re: can't buld 2.6.21 kernel

I'll give the ABS method a go.

Thanks

Offline

Board footer

Powered by FluxBB