[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hard problems to compile kernel !!!

On Wed, 14 Jul 1999, Franz Skale wrote:

> Now i have successfully installed debian 2.1 on an sun UltraSparc 5/10 Station.
> Installation-process was very tough and now i want to compile a new kernel depending on my needs.I think i configured the kernel correctly, made "make dep".
> but after this step i am not able to compile a compressed kernel. Like "make zImage" or make "bzImage".Then i tried "make kernel", but after few seconds the error 127 occurs (?????).Something like "sparc64-linux-gcc: command not found" appeared on the screen.I tried different kernels, from 2.2.1 to 2.2.10.Ergo, always the same error occurs.Waht am i doing wrong ?
> Can anyone help me compiling the kernel on a debian-sparc-machine ?
> Best regard
> Franz Skale
While I am a bit farther along than you are, I have not yet completed a
kernel compile either.

You need the egcs64 package to have the correct compiler (that looks like
what is missing for you), however the compiler in slink has major problems
with the 2.2.7 kernel source. I have done somewhat better by installing
egcs64, libc6, and libc6-dev from potato, at least it can now find its
linker scripts.

I am currently using egcs64 version 19990402-2, and libc6 version 2.1.1-9
and compiling a stock 2.2.7 kernel yields:

In file included from ioctl32.c:29:
/usr/src/linux/include/linux/if_ppp.h:88: field 'mode' has incomplete type
/usr/src/linux/include/linux/if_ppp.h:100: field 'stats' has incomplete
/usr/src/linux/include/linux/if_ppp.h:105: field 'stats' has incomplete

followed by more warnings from ioctl32.c

Why is a 64 bit build calling a 32 bit piece of code?

Let me know if you do any better than this?


_-_-_-_-_-   Author of "The Debian Linux User's Guide"  _-_-_-_-_-_-

aka   Dale Scheetz                   Phone:   1 (850) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

_-_-_-_-_-_- See www.linuxpress.com for more details  _-_-_-_-_-_-_-

Reply to: