On Friday 01 September 2006 14:29, Xavier MOGHRABI wrote: > I'm trying to generate a kernel without module. So I've disabled "Enable > loadable module support" option with genkernel. > > Genkernel compiles well the bzimage but fails after with the message > "ERROR: Failed to compile the "modules" target..." (look hereunder log). > > Do you know how can I generate my kernel w/o module support using Genkernel > ?
> The present kernel configuration has modules disabled. > Type 'make config' and enable loadable module support. > Then build a kernel with module support enabled. I'm not sure where that error comes from, but it sounds like you do need to heed it. If you *want* a kernel without modules, then enable module loading and make sure all the drivers you need are compiled in. If you *need* to not have module loading, then I'd imagine you have no choice but to compile it manually. p.s. Do you *need* an initrd/initramfs? With no modules I doubt you do, so try genkernel with kernel instead of all. -- Mike Williams -- [email protected] mailing list

