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

Re: recipe for kernel build...



Re my earlier post:
> > So how does this look as a recipe for rebuilding my 2.6.8-2-386
> > kernel from source:
> > 	apt-get install kernel-tree-2.6.8
> > 	apt-get install pcmcia-source
> > 	cd /usr/src
> > 	tar jxf kernel-source-2.6.8.tar.bz2
> > 	tar -xvzf pcmcia-cs.tar.gz
> > 	cd kernel-source-2.6.8
> > 	cp /boot/config-2.6.8-2-386 .config
> > 	make-kpkg clean
> > 	make-kpkg --revision=libretto.1.0 kernel_image.
> > this is where I am up to at the moment.... still building so
> > the rest is untested...
> > 	make-kpkg modules_image
> > 	dpkg -i ../kernel-image-2.6.8-386_libretto.1.0_i386.deb
> > 	dpkg -i ../modules-imageXX.deb
> > 	shutdown -r now
> > 

The 'make-kpkg --revision=libretto.1.0 kernel_image' seemed to finish
fine, but...

The 'make-kpkg modules_image' didn't seem to work. It ends with a
	/usr/src/kernel-source-2.6.8/include/linux/modversions.h does not exist!
	    To fix, run 'make dep' in /usr/src/kernel-source-2.6.8.
	
	Configuration failed.
	
	make[2]: *** [.prereq.ok] Error 1
	make[2]: Leaving directory `/usr/src/modules/pcmcia-cs'
	make[1]: *** [kdist_image] Error 2
	make[1]: Leaving directory `/usr/src/modules/pcmcia-cs'
	Module /usr/src/modules/pcmcia-cs failed.
	Hit return to Continue

And if I follow the instruction and type 'make dep' I get
	*** Warning: make dep is unnecessary now.

Any ideas on what is going wrong...

The non-found modversions.h file seems to actually exsit in
	/usr/src/kernel-source-2.6.8/include/config/modversions.h
rather than
	/usr/src/kernel-source-2.6.8/include/linux/modversions.h


Regards,
DigbyT
-- 
Digby R. S. Tarvin                                          digbyt(at)digbyt.com
http://www.digbyt.com



Reply to: