Re: 2.4.30 & 2.4.32 kernel comple error




"Harmon Seaver" <hseaver@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:43FF11C8.7050502@xxxxxxxxxxxxxxxxxxxxxxxx
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.

Knoppix is pretty good, actually. But is there some reason you can't
liberate a CD drive from a parts bin and install it on the 486?


.



Relevant Pages

  • Re: 2.4.30 & 2.4.32 kernel comple error
    ... Or is trying to compile for an older machine on a newer ... Age of the box is one thing: Age of the gcc, glibc, existing kernel ... I'm running debian 3.1 on the pentium machine, and DSL (knoppix) on ...
    (comp.os.linux.setup)
  • 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)
  • Re: 2.4.30 & 2.4.32 kernel comple error
    ... Or is trying to compile for an older machine on a newer ... Age of the box is one thing: Age of the gcc, glibc, existing kernel headers ... I'm running debian 3.1 on the pentium machine, and DSL on ...
    (comp.os.linux.setup)
  • Re: Help! - VIA onboard LAN not working...
    ... > included in the function of the kernel, or compiled as add-in modules. ... > Worst case, you may need to compile a kernel from scratch, and see how you ... > If in doubt - try getting your hands on a copy of Knoppix. ... it gets allocated a completely different IRQ instead of sharing 11 ...
    (comp.os.linux.hardware)
  • Kernel 2.6.6 and KNC-1 DVB-S
    ... I am trying to get my KNC-1 DVB card going on my Debian system, ... updated from a Knoppix 3.4 system, running a home compiled 2.6.6 kernel (to ... It does not even compile. ... which I guess belongs to some older kernel version ??? ...
    (comp.os.linux.hardware)