Re: compilation problem with kernel 2.6.15

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

 



I downloaded the exact tools and followed exact procedure suggested in http://www.linux-mips.org/wiki/Toolchains#Prologue. But while trying to cross compile the kernel 2.6.15 got the following error:
 
(root@Jamuna:/home/ssf/bdcom/linux-mips-kernels/linux-2.6.15)# make O=/home/ssf
/bdcom/linux-mips-kernels/linux-mips-kernel-2.6.15 ARCH=mips CROSS_COMPILE=mips
el-unknown-linux-gnu-
  Using /home/ssf/bdcom/linux-mips-kernels/linux-2.6.15 as source for kernel
  GEN    /home/ssf/bdcom/linux-mips-kernels/linux-mips-kernel-2.6.15/Makefile
  CHK     include/linux/version.h
  CC      arch/mips/kernel/asm-offsets.s
  GEN     include/asm-mips/asm-offsets.h
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  CC      init/main.o
  CHK     include/linux/compile.h
  SKIPPED include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  CC      init/do_mounts_rd.o
  CC      init/do_mounts_initrd.o
  CC      init/do_mounts_md.o
  LD      init/mounts.o
  CC      init/initramfs.o
  CC      init/calibrate.o
  LD      init/built-in.o
  CHK     usr/initramfs_list
  /home/ssf/bdcom/linux-mips-kernels/linux-2.6.15/scripts/gen_initramfs_list.sh:
 Cannot open 'y'
make[2]: *** [usr/initramfs_list] Error 1
make[1]: *** [usr] Error 2
make: *** [_all] Error 2
 
can anyone suggest me what is the problem here?
 
Thanks in advance,
Krishna

James E Wilson <wilson@xxxxxxxxxxxx> wrote:
On Tue, 2006-03-28 at 06:37, Krishna wrote:
> err
> or: read-only variable Î?Ã?ÿ__gu_valÎ?Ã?Ã? used as Î?Ã?ÿasmÎ?Ã?Ã? output

This means a new error check in gcc has found a latent kernel bug.

It is also sometimes the case that a new linux kernel finds a latent gcc
bug.

Note, in general, key parts of linux such as the kernel, glibc, and gcc,
often have such heavy dependencies on each other that you can not pick
and choose random versions. If you want to use a particular kernel
version, then there are often particular glibc and gcc versions you
should use with it, otherwise you are likely to run into trouble.

This link:
http://www.linux-mips.org/wiki/Toolchains#Prologue
recommends gcc-3.4. And if you follow the "recommended" link to
http://www.linux-mips.org/wiki/GCC
it specifically recommends against use of gcc-4.1 for compiling the
linux kernel, as this hasn't been well tested yet.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com




*Krishna*


New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux