On Thursday July 18 2002 06:55 am, Dalton Calford wrote:
> Take a stock Linux Mandrake 8.2 install with the kernal
> source/development tools.
> Go to /usr/src/linux
> do a
> make oldconfig dep clean bzImage
> everything is fine
> do a
> make modules
> and it bombs out with errors
> same results with gcc-2.96 or gcc-3
> I am trying to compile my kernal for a Athlon.
> Does anyone know the step by step (from a brand new clean install) to
> get the mandrake kernal compiled?
Did you do 'make mrproper' first ? It's always required.
cd /usr/src/linux
cp .config k7config (<---save the Mandrake default config)
make mrproper
edit k7config to (<-- you can ignore the warning not to edit)
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set (<-- this is the default)
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y (<--- set Athlon optimization)
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
cp k7config .config
edit Makefile to somethin like EXTRAVERSION = -21k7
and uncomment export INSTALL_PATH=/boot so that
a last step of 'make install' will make move the proper
files to /boot, make the links for you and edit/run
lilo (or grub) so that the new kernel will be an option
when you re-boot.
make oldconconfig
make dep && make clean && make bzImage && make modules
make modules_install && make install
--
Tom Brinkman Corpus Christi, Texas
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com