kernel compile error

xyzzy at hotpop.com xyzzy at hotpop.com
Sun Feb 22 08:49:12 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Saturday 21 February 2004 1:47 am, Mark McGlone wrote:
> On Fri, Feb 20, 2004 at 08:25:04PM -0600, Jeff Vian wrote:
> > Mark McGlone wrote:
> > >I was able to compile the 2.6 kernel once.
> > >
> > >But I found that I'd forgotten a few things and had to recompile.
> > >
> > >I did
> > >
> > >    make mrproper
> > >    make menuconfig (and reloaded my previous configuration)


You forgot to do 'make dep' here.  That should take care of your problems.  
Always do a 'make dep' after you change the configuration.

This is unless the 2.6 kernel takes care of that automatically... in which 
case, ignore this.


> > >    make
> > >
> > >It churned along for a while then I got this error
> > >
> > >      CC      drivers/pci/pci.o
> > >      CC      drivers/pci/quirks.o
> > >      HOSTCC  drivers/pci/gen-devlist
> > >      DEVLIST drivers/pci/devlist.h
> > >    /bin/sh: line 1: cd: drivers/pci: No such file or directory
> > >    /bin/sh: line 1: ./gen-devlist: No such file or directory
> > >    make[2]: *** [drivers/pci/devlist.h] Error 127
> > >    make[1]: *** [drivers/pci] Error 2
> > >    make: *** [drivers] Error 2
> > >
> > >I have no problem comiling my 2.4 kernel, and like I said I was able to
> > >compile
> > >the 2.6 kernel once. I downloaded this as an rpm from
> > > mirrors.kernel.org.
> >
> > do drivers/pci and drivers/pci/gen-devlist  exist in your kernel tree???
>
> Yes, they do.
>
> gen-devlist appears to be generated as make occurs, and somehow, it
> does get created, though I still get that error ending the make.
> devlist.h, which I guess is generated by gen-devlist, does not exist.
-----BEGIN PGP SIGNATURE-----

iD8DBQFAOG0PrT0x/nxLkjwRAzUVAJ9MC+03h1WoblF25mxZ60eXkEjQjwCdE4MZ
GKrPeprS7zx+zl7NoJoYW5M=
=Heoy
-----END PGP SIGNATURE-----





More information about the fedora-list mailing list