Re: Unable to build custom kernel

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

 



On Fri, 2004-03-05 at 15:45, Todd A. Jacobs wrote:
> I'm running Fedora Core 1, and am unable to build a standard (e.g. not
> customized) kernel from the standard Fedora kernel sources:
> 
>     # RPMs: kernel-source-2.4.22-1.2174.nptl,
>     # glibc-kernheaders-2.4-8.36, gcc-3.3.2-1
>     #
>     cp configs/kernel-2.4.22-i686.config .config &&
>     make clean dep modules bzImage
> 
> The included configuration fails when building both the modules and the
> kernel, and making mrproper hoses the build entirely. Has anyone else
> had problems building the kernel on Core 1?
1. To Compile and install new kernel:
	cd /usr/src/linux-2.4 (linux-2.4 points to kernel source)
	make mrproper
	cp configs/kernel-2.4.22-i686.config .config
	make oldconfig (necessary for certain buggy systems)
	make menuconfig
	make dep
	export CC=gcc32    <--- important step
	make clean
	modify /usr/src/linux-2.4/Makefile for version name (optional)
	make bzImage modules modules_install
	make install
2. Reboot
3. Check for pcmcia startup problems (rm
/lib/modules/2.4.22-1.xxx.nptlcustom/pcmcia)

Travis Fraser





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux