Re: 2.4.30 & 2.4.32 kernel comple error




"Harmon Seaver" <hseaver@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:PMwLf.897$iR1.195@xxxxxxxxxxxxxxxxxxxxxxxx
I'm trying to compile a 2.4 kernel for my old 486 laptop on my P2.2ghz
debian 3.1 box. I've compiled a lot of kernels before, but not trying to
do it this way. Anyway, after the config and make dep, the make bzImage
dies very quickly with this error messg:

/usr/src/linux-2.4.30/include/asm/processor.h:75: error: array type has
incomplete element type
make: *** [init/main.o] Error 1

Any clues? Or is trying to compile for an older machine on a newer
one just not doable?

Age of the box is one thing: Age of the gcc, glibc, existing kernel headers
and other core components are another and it may not be possible under your
existing setup. What OS are you working from? And if you have to do this,
why not use a Knoppix bootable CD to provide the basic tools, and mount the
hard drive to do the compilation in?


.



Relevant Pages

  • Re: Nokia c110 driver
    ... | I was attempting to compile the nokia c110 linux driver, ... | kernels, on 2.6.3. ... | are the errors the compile gives. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Compiling kernel 2.6.16 or higher under Sarge
    ... I've never followed the "Current Minimal Requirements" list, and have used the latest kernels for many years on all versions of Debian stable. ... > Can I compile 2.6.16 from source under Sarge? ... but would recommend the latest from kernel.org to get the newest security patches. ...
    (Debian-User)
  • 2.6.15 boot problems
    ... I compiled both kernels by hand, ... memory, then gives me the following message: ... (presumably because of the filesystem). ... A little more on the kernel compile. ...
    (Debian-User)
  • Re: 2.6.15 boot problems
    ... I compiled both kernels by hand, ... no additional filesystems (including /proc ... A little more on the kernel compile. ...
    (Debian-User)
  • How to enable/disable security features on mmap() ?
    ... For educational purpose (I'm teaching software security) I would like to ... be able to compile several kernels with or without features such as: ... The idea is to run these kernels in UML mode in order for the students ...
    (Linux-Kernel)