Re: compiling kernel on sparc/debian
A long time ago, in a galaxy far, far way, someone said...
>
> meatball:/usr/src/linux#make vmunix
> make: *** No rule to make target `vmunix'. Stop.
>
> Also
>
> meatball:/usr/src/linux#make vmlinux
> make: *** No rule to make target
> `/usr/local/src/linux/include/asm/param.h', needed by
> `/usr/local/src/linux/include/linux/sched.h'. Stop.
>
>
> Whats wrong here?
Oops - I was wrong; that should have been vmlinux rather than vmunix (as
you found out). For the missing header files, you should check the
symlinks under /usr/local/src/linux/include to make sure they're pointing
to the right place. This is what I have for my PII runing 2.3.42:
total 46
drwxr-sr-x 19 phil src 1024 Feb 1 22:27 ./
drwxr-sr-x 15 phil src 2048 Feb 1 22:43 ../
lrwxrwxrwx 1 phil src 8 Feb 1 22:27 asm -> asm-i386/
drwxr-sr-x 2 phil src 2048 Jan 20 19:25 asm-alpha/
drwxr-sr-x 12 phil src 2048 Jan 20 19:25 asm-arm/
drwxr-sr-x 2 phil src 1024 Sep 8 13:54 asm-generic/
drwxr-sr-x 2 phil src 2048 Jan 21 17:54 asm-i386/
drwxr-sr-x 2 phil src 3072 Feb 1 08:31 asm-m68k/
drwxr-sr-x 4 phil src 3072 Sep 8 14:02 asm-mips/
drwxr-sr-x 2 phil src 3072 Jan 21 17:54 asm-ppc/
drwxr-sr-x 2 phil src 2048 Jan 20 19:23 asm-sh/
drwxr-sr-x 2 phil src 3072 Feb 1 08:31 asm-sparc/
drwxr-sr-x 2 phil src 3072 Jan 21 17:54 asm-sparc64/
drwxr-sr-x 87 phil src 4096 Feb 1 08:36 config/
drwxr-sr-x 7 phil src 9216 Feb 1 08:36 linux/
drwxr-sr-x 2 phil src 1024 Aug 31 13:24 math-emu/
drwxr-sr-x 3 phil src 2048 Jan 20 19:25 net/
drwxr-sr-x 2 phil src 1024 Sep 7 13:46 pcmcia/
drwxr-sr-x 2 phil src 1024 Jun 9 1999 scsi/
drwxr-sr-x 2 phil src 1024 Aug 31 13:25 video/
In my case, asm is a symlink to asm-i386. For you, it should be a symlink
to either asm-sparc or asm-sparc64, depending on whether or not you have a
UltraSPARC or a plain SPARCstation.
--
----------------------------------------------------------------------
Phil Brutsche pbrutsch@creighton.edu
"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein
Reply to: