From: Neil C. <nc...@co...> - 2006-01-27 15:01:26
|
Ron wrote: > I guess a dependecy is missing. Tools like autoconf etc etc. > > I didn't follow the complete cm15 thread, since I don't own one, but > installing kernel-devel and headers is not enough to compile a kernel, those > are just enough for compiling a module. Actually they almost are enough, the problem comes in that there are new rules for compiling. A make help return this: # make help Cleaning targets: clean - remove most generated files but keep the config mrproper - remove all generated files + config + various backup files Configuration targets: config - Update current config utilising a line-oriented program menuconfig - Update current config utilising a menu based program xconfig - Update current config utilising a QT based front-end gconfig - Update current config utilising a GTK based front-end oldconfig - Update current config utilising a provided .config as base randconfig - New config with random answer to all options defconfig - New config with default answer to all options allmodconfig - New config selecting modules when possible allyesconfig - New config where all options are accepted with yes allnoconfig - New minimal config Other generic targets: all - Build all targets marked with [*] * vmlinux - Build the bare kernel * modules - Build all modules modules_install - Install all modules dir/ - Build all files in dir and below dir/file.[ois] - Build specified target only dir/file.ko - Build module including final link rpm - Build a kernel as an RPM package tags/TAGS - Generate tags file for editors cscope - Generate cscope index kernelrelease - Output the release version string Static analysers buildcheck - List dangling references to vmlinux discarded sections and init sections from non-init sections checkstack - Generate a list of stack hogs namespacecheck - Name space analysis on compiled kernel Kernel packaging: rpm-pkg - Build the kernel as an RPM package binrpm-pkg - Build an rpm package containing the compiled kernel and modules deb-pkg - Build the kernel as an deb package tar-pkg - Build the kernel as an uncompressed tarball targz-pkg - Build the kernel as a gzip compressed tarball tarbz2-pkg - Build the kernel as a bzip2 compressed tarball Documentation targets: make[1]: /usr/src/kernels/2.6.14-1.1656_FC4-i686/Documentation/DocBook/Makefile: No such file or directory make[1]: *** No rule to make target `/usr/src/kernels/2.6.14-1.1656_FC4-i686/Documentation/DocBook/Makefile'. Stop. make: *** [help] Error 2 > You need to build and install the complete kernel-sources to be able to > build a kernel. > Those are, (as far as I know) not readily available as a rpm package. That I won't argue with! This is getting nuts. > See my previous message for instructions. I'll look again. > Sorry, if I completely missed the point if you have them build already. No, this is great, I'm learning the little bits and pieces that I'm missing. -- Linux Home Automation Neil Cherry nc...@li... http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog http://home.comcast.net/~ncherry/ Backup site |