can't compile kernel 2.6.3

From: Mark McGlone (dmcglone_at_NOSPAM-REMOVEsan.rr.com)
Date: 02/22/04


Date: Sun, 22 Feb 2004 00:49:51 GMT

I've been having trouble getting the 2.6 kernel to compile.
I was able to compile it 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
                      and made a few changes)
     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 compiling 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.

The directory structure of the source tree appears to be sound
with the required files present (drivers/pci exists, and so does
drivers/pci/gen-devlist).
I tried this a few weeks ago and had exactly the same result (a
slightly earlier version of the 2.6 kernel), except that time
I was never able to get successful compile at all.

I suppose the changes I made to the configuration broke
something somehow. Unfortunately, I can't remember exactly
what I changed. I've been trying to make slight changes to the
configuration and recompiling but it keeps happening.

I have removed and reinstalled the whole 2.6.3 source tree
several times now, but it doesn't help.

Anyone know what's going on?

thanks,

Mark McGlone



Relevant Pages

  • Re: Distributions
    ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
    (Debian-User)
  • Re: Distributions
    ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
    (Debian-User)
  • Problems with custom kernel fbsd 6.2
    ... My kernel for freebsd 6.2 is not compiling but only with my custom config. ... I was able to compile it with the GENERIC kernel included, but my modified one will not compile. ... # Power management support ...
    (freebsd-questions)
  • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
    ... >optimisations independently of each other', is fairly simple, (in ... >concept), and elegant, (as it lets you compile the most finely tuned ... >Up to now, selecting a CPU to compile for basically means, "Use ... it's silly to include them all in a kernel for a 386. ...
    (Linux-Kernel)
  • Re: 2.6.9 wont compile
    ... importing the configuration of my current ... The reason for me to use this kernel is because I have a VIA VT82C ... Your compiler is probably too new to be able to compile 2.6.9. ...
    (Linux-Kernel)