[Ilugc] Linux compilation problem

  • From: prashmohan@xxxxxxxxx (Prashanth Mohan)
  • Date: Sun Oct 15 10:42:50 2006

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I am not able to compile any kernel sources on my machine. I tried to
compile the 2.6.17 and 2.6.16 (both vanilla as well as with some patch
sets). I get the following error:

  CC      arch/i386/lib/usercopy.o
  AR      arch/i386/lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
init/built-in.o: In function `try_name':
do_mounts.c:(.text+0x5f3): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `name_to_dev_t':
(.text+0x8fb): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `change_floppy':
(.init.text+0xa11): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `mount_block_root':
(.init.text+0xca7): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `do_header':
initramfs.c:(.init.text+0x43b3): undefined reference to `__stack_chk_fail'
arch/i386/kernel/built-in.o:(.text+0x54c6): more undefined references to
`__stack_chk_fail' follow
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.17-beyond4'
make: *** [debian/stamp-build-kernel] Error 2


My .config is pasted at http://pastebin.ca/203484 ;(I am using a very
basic .config file for now -- the one that comes default with the
kernels of the Ubuntu repo). I try to create the image using the
following command -- `make-kpkg --initrd kernel_image kernel_headers'

What could be the reason?

- --
Prashanth Mohan
http://prashblog.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFMcNDe6gWeYDScTIRAv4ZAJ4uxu1yS73Zuyr4xblggBK5HhXVMQCgh5HE
noVSEPVd3Tb/GMseJbVXv38=
=sps5
-----END PGP SIGNATURE-----

Other related posts: