Re: 2.4.30 & 2.4.32 kernel comple error



Nico Kadel-Garcia wrote:
"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?


I'm running debian 3.1 on the pentium machine, and DSL (knoppix) on
the 486. The 486 has no cdrom, so to get DSL on it, I had to take the
drive out and put it in the pentium to do the install. DSL has no gcc,
no make, and so far I can't get either X or the wifi card to work --
which is why I'm trying to compile a kernel for it, to get better
functionality. Plus, since I installed DSL with the pentium, which has
pci and usb and different video, etc. all that stuff is in the DSL
kernel and the 486 laptop doesn't have any of it and complains.
I'm thinking knoppix is too broken to work for my 486.
.



Relevant Pages

  • 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)
  • ASUS A7N8X Deluxe Questions
    ... I was trying to get Debian working properly on my ... This was traced to an apparent need to compile a 2.4.22 kernel (I was ... with a Knoppix CD so I could write down my partition info. ...
    (Debian-User)
  • computer freezes, no obvious reason
    ... I recently installed debian stable. ... and compiled myself the latest kernel version: ... When I try to compile something with g++ every now and then I get the ... 00:0f.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev ...
    (Debian-User)
  • Re: VMWare player: why no package?
    ... a similar program 'Virtual Box' is packaged for Debian. ... I had to rebuild the kernel because VMWare Player requires certain ... installer will then try to compile them, but they GCC build has to match the ...
    (Debian-User)
  • module via-rhine for woody (3.0) using both onboard LANs on a VIA-EPIA mini-ITX CL1000 motherboard
    ... preferably not even going for a backports.org kernel upgrade so as to ... be sure that debian security upgrades would keep working for me. ... the driver for the dual port VT6103/6105 ethernet controller ... So you have to compile your own new ...
    (Debian-User)