kernel compile procedure

kate kate7234 at yahoo.com
Wed Jul 14 21:41:31 UTC 2004


--- Shawn Mahon <smahon at gmail.com> wrote:
> On Wed, 14 Jul 2004 13:51:13 -0700 (PDT), kate
> <kate7234 at yahoo.com> wrote:
> > kernel compile procedure
> > 
> > I am wanting to learn how to compile a kernel. and
> > perhaps tweak the kernel for my athlon cpu. just
> to
> > say that I've done it and learn.

> > - what I've done so far-
> > from [http://www.kernel.org/]
> > 
> > "The latest stable version of the Linux kernel is:
> > 2.6.7 2004-06-16 06:02 UTC F"
> > linux-2.6.7.tar.bz   download to /home/kate/kernel
> > 
> > (from lesbell website, see above)
> > 
> > cd /usr/src
> > mkdir linux-2.6.7
> > rm linux
> > ln -s linux-2.6.7 linux
> > 
> > bzcat /home/kate/kernel/linux-2.6.7.tar.bz2 | tar
> xvf
> > -
> > ..
> > linux-2.6.7/kernel/power/poweroff.c
> > linux-2.6.7/kernel/power/pmdisk.c
> > ..
> > 
> > - OK this far
> > 
> > cd linux
> > make mrproper
> > 
> > make dep
> > 
> > -OK this far
> > 
> > - What directory should I be in here for make
> > menuconfig?
> > 
> > make menuconfig
> > 
> > -but the output is this-
> > 
> >   HOSTCC  scripts/basic/fixdep
> > scripts/basic/fixdep.c:97:23: sys/types.h: No such

Thanks, I tried again-

[root at blue linux-2.6.7]# cp
/boot/config-2.6.6-1.435.2.3 .
[root at fulham linux-2.6.7]# make menuconfig
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:97:23: sys/types.h: No such
file or directory... etc

Any ideas? Your instructions seem straightforward but
there's something I'm missing, and I don't know enough
to figure it out!

tia
kate


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail





More information about the users mailing list