You are not logged in.

#1 2004-12-17 17:41:38

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Kernel compile problems

Right, I think I now knwo why I can't get my bttv DVB card working and need a quick kernel recompile to build in dvb-core.

No problem with makemenuconfig

However, when I start with make clean I get:
make clean
scripts/Makefile.clean:10: arch/i386/boot/Makefile: No such file or directory
make[1]: *** No rule to make target `arch/i386/boot/Makefile'.  Stop.
make: *** [archclean] Error 2


Seems something is broke, or should I not be compiling from the source in /usr/src/linux-2.6.9-ARCH

Any one got any thoughts?

Could do with this working for my kids for Christmass <smile> <beg>


Kind regards

Benedict White

Offline

#2 2004-12-17 17:52:25

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel compile problems

the best/most arch-centric way to recompile the kernel is to check out "abs" - the Archlinux Build System...

run abs once to get the newest tree, then edit the PKGBUILD for the kernel....
you can make it interactive by removing some of the junk on menuconfig (i think it pipes in "yes")...

try that.

you can always, of course, download the vanilla source somewhere and do it all by hand.

Offline

#3 2004-12-18 12:45:03

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Kernel compile problems

Why do you use "make clean"? What does that do?

I always compile my kernels the same way:

- get the (latest) vanilla kernel from kernel.org
- copy the .bz2 or .gz file to /usr/src
- extract the file there
- make a symlink called "linux" pointing to the directory of the new kernel
- run "make menuconfig" and configure the kernel
- run "make bzImage && make modules && make modules_install"
- install the kernel to /boot and edit the bootloader.

Maybe you need a vanilla kernel (standard kernel) tree instead of Arch's kernel tree.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#4 2004-12-20 10:11:00

Benedict_White
Member
From: Sussex, UK
Registered: 2004-05-27
Posts: 331
Website

Re: Kernel compile problems

Actually I have tried the Arch centric way and it is fantastic.

I was able to put in my own config file, (I did have to kill the MD5 checksums) but it then worked absolutly fine with no further problems.

Seems to be a good way to keep a custom kernel and get it updated to the latest and greatest with little or no fuss.


Kind regards

Benedict White

Offline

Board footer

Powered by FluxBB